BPI:bit Webduino and arduino board with EPS32 for STEAM education


(bpi team) #1

BP:bit board。use ESP32 module design。 ESP32 is integrated 2.4 G WiFi and bluetooth dual-mode single chip solutions, ultra-low power consumption of 40 nm process, with the best power performance, emission performance, stability, versatility and reliability, is suitable for various applications and different power requirements. ESP32 adopts Xtensa 32bit LX6 single/dual-core processor, with a capacity of up to 600DMIPS, with a built-in 448KB ROM and 520 KB SRAM.

BPI:bit provides a wide range of onboard resources, supports photosensitive sensor, digital triaxial sensor, digital compass, temperature sensor interface, gold finger interface and micro:bit fully compatible.

BPI:bit Webduino Easy How-To’s Episode 1: Initial Setup

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

edge connector PIN define same as micro:bit

BPI bit edge pin define

GPIO PIN define :

new hardware add MPU-9250 onboard ,The MPU-9250 is the company’s second generation 9-axis Motion Processing Unit for smartphones, tablets, wearable sensors, and other consumer markets.

BPI:bit support webduino all function:

webduino blockly:

webduino cloud:

webduino simulator:

webduino blockly and simulator for STEAM education

webduino official website:

http://webduino.com.cn

webduino source code on github:

BPI:bit for arduino open source code

==MicroPyhton ==

[[File:Mircopython.png]]

BPI:bit have full support microPyton。firmware、exploitation environment、software and wiki documtnets have update to :

code on github and support :

*1. Provide terminal command line operation tools *2. Provide wired or wireless to operation board *3. Provide Pycharm IDE development *4. Provide Microbit for MicroPython function library

We are now testing all micro:bit online documentation examples,we have let BPI:bit compatibility micro:bit function library,so,microPyton support for micro:bit,You can run it directly on BPI:bit.

This is BPI:Bit run:https://microbit-micropython.readthedocs.io/en/latest/tutorials/hello.html code . You can run the code directly on BPI:bit, you can see the video demo.

For more board examples, see the following url:

microbit online documents :https://microbit-micropython.readthedocs.io/en/latest/tutorials/introduction.html

microbit online simulator genuine: http://www.micropython.org.cn/pye/editor-en.html

==Arduino ==

*BPI:bit for Arduino IDE wiki : https://github.com/BPI-STEAM/BPI-BIT-Arduino-IDE/wiki

*BPI:bit for Arduino IDE source code : https://github.com/BPI-STEAM/BPI-BIT-Arduino-IDE

more please see wiki page:

http://wiki.banana-pi.org/BPI-Bit

easy to buy sample:

note :Webduino service now only provide cloud services in Taiwan and the mainland of China, overseas server has not been set up now, so buy BPI, BIT and BPI: UNO32 overseas clients, only can test and use open source software

https://pt.aliexpress.com/store/product/O-BPI-bit-Webduino-e-placa-arduino-com-educa-o-EPS32-para-VAPOR/302756_32861694375.html?spm=a2g03.12010611.0.0.203230d9sYXj5K


BPI-Webduino:bit Basic functional testing
(bpi team) #2

Banana pi BPI:bit with arduino IDE function demo

bpi:bit new hardware function test demo, use open source arduino PlatformIO test

Banana pi BPI:bit how to control with webduino blockly

Learn to code using the Webduino Bit Blockly editor.


(bpi team) #3

easy to buy sample:

note :Webduino service now only provide cloud services in Taiwan and the mainland of China, overseas server has not been set up now, so buy BPI, BIT and BPI: UNO32 overseas clients, only can test and use open source software

https://pt.aliexpress.com/store/product/O-BPI-bit-Webduino-e-placa-arduino-com-educa-o-EPS32-para-VAPOR/302756_32861694375.html?spm=a2g03.12010611.0.0.203230d9sYXj5K


(bpi team) #4

(Jochen Hinkelmann) #5

Question on the Edge Connector’s PIN assignment: Touch PINs P0, P1, P2 are assigned to GPIO25, 32 and 33. According to the WIKI, GPIO25 is occupied by the MPU and 33 by the buzzer. So P0 and P2 they are not usable ?


(Juwan) #6

0F%25%5DVMW63K0HD6BPL5KY%7DS5

The result is that I tested it using the following Python code.

from machine import Pin
import time

from machine import I2C, Pin
from mpu9250 import MPU9250
i2c = I2C(scl=Pin(22), sda=Pin(21), freq=400000)
sensor = MPU9250(i2c)
print("MPU9250 id: " + hex(sensor.whoami))

P0 = Pin(25, Pin.OUT)
P1 = Pin(32, Pin.OUT)
P2 = Pin(33, Pin.OUT)

while Thread[0]:
	
	print('acceleration:', str(sensor.acceleration))
	print('gyro:', str(sensor.gyro))
	print('magnetic:', str(sensor.magnetic))
	
	time.sleep(1)
	P0.value(1)
	P1.value(1)
	P2.value(1)
	
	time.sleep(1)
	P0.value(0)
	P1.value(0)
	P2.value(0)

It can be seen that the OUT of GPIO can work, but P0 and buzzer are connected, the buzzer sounded.

The problem with IN is that when WIFI is running, ADC2_CH cannot work, such as P0(ADC2_CH8), but DAC_1 can be used.

Other pin functions are not affected In pin-define.