BPI-UNO32 wtih ESP32 for webduino & Arduino
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
The BPI-UNO32 is powered by a microUSB or 5.5mm DC power adapter and has an automatic switching circuit.
BPI-UNO32 hardware spec：
|CPU||Xtensa® 32-bitLX6single / dual core processor|
|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|
|LEDs||RGB LED/POWER LED/Receive LED/Transmit LED|
BPI-UNO32 Pin Define：
BPI-UNO32 can be programmed by many compiling environments, such as PlatformIO for Atom/VS Code, Arduino IDE, uPyCraft (microPyhton) and ESP-IDF, etc.
PlatformIO for Atom/VSCode Project examples can be viewed：
PlatformIO for Atom/VS Code detailed installation introduction please click the following connection：
Arduino The IDE installation method can look at the official Arduino forum, the links：
You can also look at GitHub's introduction to the Arduino IDE burning document：
uPyCraft（microPython）The GitHub link of the related data is：
Programming & Burning：
Tools: ESP FLASH DOWNLOAD TOOL
download the FLASH_DOWNLOAD_TOOLS_V3.6.2 compression package,
Run step: when double click open ESPFlashDownloadTool_v3.6.2, select ESP32 DownloadTool
After the selection, the following software interface will be displayed:
Download Path Config
We choose firmware files in turn and modify the burning location. The firmware files are corresponding to the burning location (the location is test firmware folder in the compressed package).
Modify it to40M
Modify it to115200
Set as below:
Then select the hardware to connect the serial port, click START to start automatically downloading, the above is the successful software state (FINISH completes), reset the hardware or re power up, so that the software will start running.
Firmware introduction: firmware is divided into four BIN files, and four files must be burned to ensure normal operation. Firmware content is a blink program with LED_Pin IO2. After burning, the IO2 pin level can be measured, and the level interval is 1s.
How to setup and start
Need to be prepared：BPI-UNO32*1、Jumper Cap*4、microUSB*1
1，connect the four jumper caps to the top of the board, respectively, to connect the RGB LED to the buzzer. Then use the microUSB line to connect the development board to the computer.
open VS Code (you can also choose other compilers) and open BPI-UNO32 on the PlatformIO Home page Code project, for example, to open a test code engineering folderPlatformIO_VSCode。
open the VS Code terminal console, input <platformio run>, compile the program, input <platformio run --target upload>, compile and burn the program. (if it hasn't been compiled before, it may be slow to compile the first time and need to be connected because he needs to get the corresponding platform information).
platformio run --target upload：
2，then open the serial port assistant tool, select BPI-UNO32 on the computer corresponding to the serial serial number, the serial port settings are selected as:
Baud rate: 115200 Data bit: 8 Parity check: no Stop bit:
RGB LED fading.
AD acquisition and testing of 6 ADC_channel1.
WiFi scan testing.
Control test of buzzer gradient.