The BPI:bit (also referred to as BPI-bit, stylised as webduino:bit) is an ESP32 with Xtensa 32bit LX6 single/dual-core processor based embedded system. support Webduino and arduino function.
BPI:bit hardware description
The board is 5 cm × 5 cm and has an ESP32 module with Xtensa 32bit LX6 single/dual-core processor, with a capacity of up to 600DMIPS, with a built-in 448KB ROM and 520 KB SRAM.accelerometer and magnetometer sensors,2.4G WiFI,Bluetooth and USB connectivity, a display consisting of 25 LEDs, two programmable buttons, and can be powered by either USB or an external battery pack.The device inputs and outputs are through five ring connectors that are part of the 23-pin edge connector.
BPI:bit provides a wide range of onboard resources, supports photosensitive sensor, digital triaxial sensor, digital compass, temperature sensor interface.Webduino:bit have 25 intelligent control LED light source that the control circuit and RGB chip are integrated in a package of 5050 components.Cascading port transmission signal by single line.Each pixel of the three primary color can achieve 256 brightness display, completed 16777216 color full color display, and scan frequency not less than 400Hz/s.
BPI:bit use MPU9250 onboard, MPU-9250 is a multi-chip module (MCM) consisting of two dies integrated into a single QFN package. One die houses the 3-Axis gyroscope and the 3-Axis accelerometer. The other die houses the AK8963 3-Axis magnetometer from Asahi Kasei Microdevices Corporation. Hence, the MPU-9250 is a 9-axis MotionTracking device that combines a 3-axis gyroscope, 3-axis accelerometer, 3-axis magnetometer and a Digital Motion Processor™ (DMP) all in a small 3x3x1mm package available as a pin-compatible upgrade from the MPU-6515. With its dedicated I2C sensor bus, the MPU-9250directly provides complete 9-axis MotionFusion™ output. The MPU-9250 MotionTracking device, with its 9-axis integration, on-chip MotionFusion™, and runtime calibration firmware, enables manufacturers to eliminate the costly and complex selection, qualification, and system level integration of discrete devices, guaranteeing optimal motion performance for consumers. MPU-9250 is also designed to interface with multiple non-inertial digital sensors, such as pressure sensors, on its auxiliary I²C port.
BPI:bit edge interface
BPI:bit for webduino
BPI: bit Webduino Firmware Burning
BPI:bit can be perfectly adapted to Webduino. Of course, before using it, we need to burn the Webduino firmware first.
Firmware download address:Webduino for bpi:bit Firmware
There are two kinds of burning methods to choose from, we can use ESP Flash Download Tool to burn, we can also use the built-in Python script inside the PlatformIO to achieve burn.
One, ESP Flash Download Tool
Tool download address:ESP Flash Download Tool
After downloading, unzip the archive and you will see an ESPFlashDownloadTool_v3.6.2.exe inside the folder. Open this shortcut and open an interface selection mode.
Select ESP32 DownloadTool:
Under `Download Path Config`, we need to select the four bin files that need to be burned and fill in the corresponding burn locations.
- File and burn position corresponding to:：
|COM||COMx(Fill in the port number assigned by the computer)|
Normally, you do not need to burn two boot boot files. You can directly burn the firmware (bit_default.bin) and partitions (partitions.bin). If the bootloader is damaged, you can choose to burn along with bootloader_dio_40m.bin and boot_app0.bin. But be sure to pay attention to the settings below
`SpiFlashConfig` Please configure according to the software screenshot, and then select the port in the COM. Porter 115200 does not need to be changed. Select “START” to start recording.
During the burning process:
After the burn is completed, you must reset or re-energize, and then you find the LED red light flashing, indicating that the burn is successful.
Burn time is about 20s
then you can use webduino all function on BPI:bit. Please see the webduino teaching documents
Webduino source code on github
BPI:bit for webduino source code on github: https://github.com/webduinoio
BPI:bit for arduino
BPI:bit for arduino Source code on Github: https://github.com/yelvlab/BPI-BIT