Difference between revisions of "BPI-UNO32"

From Banana Pi Wiki
Jump to: navigation, search
(Ardino IDE)
(Ardino IDE)
Line 83: Line 83:
 
1,First open the PlatformIO Home page, then click Open Project to open the project. \(You can choose the test code.\) If you write your own code to burn, then the platformio.ini file should write the following code
 
1,First open the PlatformIO Home page, then click Open Project to open the project. \(You can choose the test code.\) If you write your own code to burn, then the platformio.ini file should write the following code
  
`[env:BPI-uno32]`
+
[env:BPI-uno32]
 
+
platform = espressif32
`platform = espressif32`
+
board = nodemcu-32s
 
+
framework = arduino
`board = nodemcu-32s`
 
 
 
`framework = arduino`
 
  
 
==BPI:UNO32 for Arduino ==
 
==BPI:UNO32 for Arduino ==
  
 
BPI:UNO32 for arduino Source code on Github: https://github.com/yelvlab/BPI-BIT
 
BPI:UNO32 for arduino Source code on Github: https://github.com/yelvlab/BPI-BIT

Revision as of 01:38, 9 May 2018

Introduction

Overview
Overview

The BPI:UNO32 (also referred to as BPI-UNO32, stylised as BPI UNO32) is an ESP32 with Xtensa 32bit LX6 single/dual-core processor based embedded system. support Webduino and arduino function.

BPI-UNO32 uses the ESP-WROOM-32 of espressif company as MCU. ESP32 is a single-chip solution integrating 2.4GHz Wi-Fi and Bluetooth dual mode. The 40 nanometer technology of TSMC has the best power consumption, RF performance, stability, versatility and reliability. It can deal with various application scenarios.

Two separate controlled CPU cores, the main frequency can be up to 240MHz, 448KB ROM, 520KB SRAM.

BPI-UNO32 The appearance size is fully matched with Arduino UNO R3

BPI:UNO32 hardware

BPI:UNO32 interface

Interface.png

BPI:UNO32 Spec

Hardware spec
CPU Xtensa® 32-bitLX6single / dual core processor
ROM 448KB
SRAM 520KB
Flash 4MB(Onboard),A maximum of 4 Flash/SRAM, each Flash maximum 16MB
Power 5V@1AmicroUSBpoweror 5.5mm 12VDCport
GPIO 12-bits SAR ADC 18 channel, 2\*8-bit D/A converter, 4*SPI, 2*I2S, 2*I2C, 3*UART, Host SD/eMMC/SDIO, Slave SDIO/SPI
Wi-Fi 802.11 b/g/n/e/i 802.11 n\(2.4GHz 150Mbps\) 802.11 e\(Quality of Service\)
Bluetooth BT4.2 & BLE
Buzzer Passive buzzer
LEDs RGB LED/POWER LED/Receive LED/Transmit LED
Sizes 68mm\*53mm

BPI:UNO32 PIN define

PIN define.jpg

BPI-UNO32 software

Ardino IDE

  • Arduino IDE:Open File -> Preferences, as shown in the following figure:

Uno32 pic 1.png

  • Click the button in the red circle above and add the following URL in the newly popped
window:https://git.oschina.net/dfrobot/FireBeetle-ESP32/raw/master/package\_esp32\_index.json
As shown below:

Uno32 pic 2.png

  • Open Tools->Board->Board Manager. Pull down to see FireBeetle-ESP32 and click Install.

Uno32 pic 3.png

  • Open a project in the upper left corner of the file, or open an example.

Uno32 pic 4.png

  • Select a correct port in Tools -> Ports, then click ”compile"will be compiled code,clickwill "run" be burn program。

Uno32 pic 5.png Uno32 pic 6.png

  • PlatformIO for Atom/VS Code

1,First open the PlatformIO Home page, then click Open Project to open the project. \(You can choose the test code.\) If you write your own code to burn, then the platformio.ini file should write the following code

[env:BPI-uno32]
platform = espressif32
board = nodemcu-32s
framework = arduino

BPI:UNO32 for Arduino

BPI:UNO32 for arduino Source code on Github: https://github.com/yelvlab/BPI-BIT