BPI-UNO32 wtih ESP32 for webduino & Arduino

BPI UNO32

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

Hardware Interface:

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
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:

Software introduction:

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:

https://github.com/yelvlab/BPIuno32_Webduino/blob/master/Test_Code/PlatformIO_VSCode/src/main.cpp

PlatformIO for Atom/VS Code detailed installation introduction please click the following connection:
http://docs.platformio.org/en/latest/ide.html#platformio-ide

Arduino The IDE installation method can look at the official Arduino forum, the links:
http://www.arduino.cn/thread-41132-1-1.html

You can also look at GitHub's introduction to the Arduino IDE burning document:
https://github.com/yelvlab/BPI-uno32_Webduino/tree/master/Burning/Arduino_IDE

uPyCraft(microPython)The GitHub link of the related data is:
https://github.com/DFRobot/uPyCraft

Programming & Burning:

ESPFlashDownloadTool:

Tools: ESP FLASH DOWNLOAD TOOL

First,

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).

bootloader.bin 0x1000
partitions.bin 0x8000
boot_app0.bin 0xe000
firmware.bin 0x10000

1.CrystalFreq

Modify it to40M

2.SPISPEED

Select40MHz

3.SPIMODE

SelectDIO

4.FLASHSIZE

Select32Mbit

5.BAUD

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
quickstart:

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.

Port:

Connect:

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。

Project:

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:

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:

Serial Config:

3,Test content:

RGB LED fading.

AD acquisition and testing of 6 ADC_channel1.

WiFi scan testing.

Control test of buzzer gradient.

results matching ""

    No results matching ""