Difference between pages "BPI-Bit STEAM 教育开发板" and "BPI-Bit"

From Banana Pi Wiki
(Difference between pages)
Jump to: navigation, search
(Arduino 开发)
 
(Useful links)
 
Line 1: Line 1:
 
+
[[zh:BPI-Bit STEAM 教育开发板]]
= BPI:bit介绍=
+
= Introduction=
  
 
[[File:Webduino_gif.gif|thumb|Overview: BPI:bit]]
 
[[File:Webduino_gif.gif|thumb|Overview: BPI:bit]]
Line 9: Line 9:
 
[[File:Bpi_bit_gpio_expansion_board_2.JPG|thumb|[[BPI:bit gpio expansion board]]]]
 
[[File:Bpi_bit_gpio_expansion_board_2.JPG|thumb|[[BPI:bit gpio expansion board]]]]
 
[[File:BPIbit_breadboard_GPIO_expansion_board_3.jpg|thumb|[[BPI:bit gpio expansion board]]]]
 
[[File:BPIbit_breadboard_GPIO_expansion_board_3.jpg|thumb|[[BPI:bit gpio expansion board]]]]
 +
[[File:BPI-bit_robort_board_3.JPG|thumb|[[BPI:bit robot expansion board]]]]
  
'''BPI bit''' (又可以叫'''BPI-bit''''''bpi:bit'''). 支持Webduino, Arduino, MicroPython ,和Scratch X 编程环境 ,专注在STEAM教育领域
+
The '''BPI bit''' (also referred to as '''BPI-bit''', stylised as '''bpi:bit''') is an ESP32 with 32-bit Xtensa LX6 dual-core processor based embedded system. It supports Webduino, Arduino, MicroPython as well as Scratch X programming environments.
  
 
[[File:A_BPI-Bit.jpg]]
 
[[File:A_BPI-Bit.jpg]]
  
BPI:bit 主要功能介绍
+
BPI:bit hardware main function:
 +
 
 +
[[File:Webduino_web_en_1.png]]
 +
 
 +
bpi:bit board is 5 cm x 5 cm in size, weighs 10 ~ 12 grams, it houses a 20-Pin edge connector, built-in lighting matrix with 25 programmable full-color LEDs , two photosensitive light sensors, two programmable buttons, an NTC resistor, a buzzer and a nine shaft sensor (triaxial acceleration Three-axis gyroscope and three-axis magnetic compass),
  
[[File:Webduino_web_ch_1.png]]
+
the I/O space configuration is as follows:
 +
*Full color LED matrix: GPIO4
 +
*Photosensitive sensor: GPIO36 (Analog A0, upper left), GPIO39 (Analog A3, upper right)
 +
*Button switch : GPIO35 (Botton A), GPIO27 (Botton B)
 +
*Temperature sensor: GPIO34 (Analog A6)
 +
*Buzzer: GPIO25
 +
*MPU-9250 9-axis sensor: GPIO0, GPIO21(SDA), GPIO22(SCL)
  
bpi:bit 开发板仅有5厘米X5厘米大小,重12克左右。并有20个金手指定义与Micro:bit完全兼容。集成了25颗全彩LED灯,两上光敏传感器,两个可编程按键,温度传感器,蜂鸣器,MPU-9250 九轴传感器(三轴加速度三轴陀螺仪和三轴磁盘)。GPIO控制定义如下
+
{| class="wikitable"
 +
|-
 +
| style="background: PaleTurquoise; color: black" colspan="4"| '''GPIO control of BPI:bit'''
 +
|-
 +
|Light Sensor(L) || GPIO 36|| Analog Input
 +
|-
 +
|Light Sensor(R)|| GPIO 39|| Analog Input
 +
|-
 +
|Botton A|| GPIO 35 ||Digital Input
 +
|-
 +
|Botton B|| GPIO 27|| Digital Input
 +
|-
 +
|Temperature Sensor|| GPIO 34 ||Analog Input
 +
|-
 +
|Buzzer|| GPIO 25 ||PWM(Digital Output) / Analog Output
 +
|-
 +
|RGB_LED|| GPIO 4 ||Digital Output
 +
|-
 +
|MPU9250_SCL|| GPIO 22 ||Digital Output
 +
|-
 +
|MPU9250_SDA|| GPIO 21|| Digital Output
 +
|-
 +
|MPU9250_INT|| GPIO 16 ||Digital Input
 +
|-
 +
|R_LED(SPI_SCK)|| GPIO 18 ||Digital Output
 +
|-
 +
|}
  
*25 LED全彩灯: GPIO4
+
= Hardware=
*光敏传感器: GPIO36 (Analog A0, upper left), GPIO39 (Analog A3, upper right)
 
*按键控制 : GPIO35 (Botton A), GPIO27 (Botton B)
 
*温度传感器: GPIO34 (Analog A6)
 
*蜂鸣器: GPIO25
 
*MPU-9250 九轴传感器: GPIO0, GPIO21(SDA), GPIO22(SCL)
 
  
= 硬件=
+
==Hardware description ==
  
==硬件简介 ==
+
Webduino Bit is the latest board of Webduino with much more sensors on top of its basic functions(Wi-Fi connection, muti-connectivity,multi-board...). It uses ESP32 module,one of the most efficient and stable chipset in the market, which has built-in 2.4G Wi-Fi and Bluetooth,448KB ROM,520KB SRAM,speed up to 600 DMIPS,and 40 nm technology.
  
BPI:bit采用ESP32作为主控模块,ESP32是集成2.4G WiFi和蓝牙双模的单芯片方案,采用超低功耗的40纳米工艺,拥有最佳的功耗性能、射频性能、稳定性、通用性和可靠性,适用于各种应用和不同功耗需求。ESP32采用 Xtensa 32bit LX6单/双核处理器,运算能力高达600DMIPS,内置448KB ROM和520 KB SRAM。
+
Webduion bit board has a compact size of 50mm x 50mm, weighs 10-12 grams.It has 20 pins at the bottom,25 full color LED array in the middle, two photo cells,two buttons, one thermistor,one buzzer,one 9-axis sensor(3-axis accelerometer,3-axis gyroscope and 3-axis magnetometer), the pin layout are below:
  
BPI:bit提供丰富的板载资源,支持光敏传感器,数字三轴传感器,数字罗盘,温度传感器接口,金手指接口与micro:bit完全兼容。特别是5X5智能控制LED光源,控制电路和RGB芯片集成在5050个组件的包中。级联端口传输信号单线。三种原色的每个像素都可以实现256亮度显示,完成16777216彩色全彩色显示,扫描频率不低于400Hz/s。配合webduino平台,可以实现炫酷的展示效果。
+
==Hardware interface==
  
==硬件接口==
+
[[File:BPI bit interfact.JPG]]
  
[[File:Bpi_bit_接口图.JPG]]
+
==PIN definitions==
  
==GPIO PIN针定义==
+
The edge interface is much compatible with those of micro:bit. so you may able to use micro:bit accessories on bpi:bit
  
BPI:bit金手指GPIO定义与micro:bit兼容. 可以使用micro:bit的GPIO扩展板配件。
+
[[File:BPI-bit_edge_gpio.png]]
  
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| style="background: PaleTurquoise; color: black" colspan="4"| '''BPI:bit 金手指接口定义'''
+
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare PIN define of BPI:bit'''
 
|-
 
|-
 
|Pin Name||Analog Function1||Analog Function2||Function1||Function2||Power
 
|Pin Name||Analog Function1||Analog Function2||Function1||Function2||Power
Line 101: Line 133:
 
|}
 
|}
  
== 5*5 25全彩LED灯==
+
== 5*5 25 LED==
BPI:bit 有25颗全彩LEDs灯, 并且能用单GPIO控制.
+
BPI:bit have 25 LEDs on board, it can be controlled with a single GPIO.
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 119: Line 151:
 
|}
 
|}
  
== MPU9250 9轴传感器==
+
== MPU9250 9-axis sensor==
 +
The 9-axis sensor, MPU9250, is placed on the BPI:bit board. and MPU9250 uses I2C 0x69 address.
  
BPI:bit集成了九轴传感器:MPU-9250, 使用I2C 接口控制,控制地址为:0x69 .
+
The 9-axis is the combination of 3 separate triple axis sensors. For more detailed information of this chip, click here [https://github.com/yelvlab/BPI-BIT/blob/master/doc/MPU-9250A-01-v1.1.pdf MPU 9250 datasheet] to view the datasheet.\
  
MPU-9250 9轴是3个独立的三轴传感器的组合。有关此芯片的更详细信息请下载规格书[https://github.com/yelvlab/BPI-BIT/blob/master/doc/MPU-9250A-01-v1.1.pdf MPU 9250 规格书]
+
BPI-BIT MPU9250 Library and how to : https://github.com/BPI-STEAM/MPU9250
  
BPI-BIT MPU9250 代码及使用方法请参考 : https://github.com/BPI-STEAM/MPU9250
+
==BPI:bit power==
  
==BPI:bit 供电==
+
When you use BPI:bit, you need to supply the board first, and the bit supports three power supply modes
  
当您使用BPI:bit时,必须先给BPI:bit供电,BPI:bit支持三种供电方式:
+
*1.micro USB port:USB cable power supply, the design of BPI:bit board has Micro USB interface, which is quite common in daily life and is quite convenient to use.
 +
*2.Battery port:Through 2 pin battery power supply socket, can through the lithium battery, battery pack to power supply board, interface fool proof design, don't worry about the power supply through the 2 pin battery power supply socket, can through the lithium battery, battery pack to power supply board, interface fool proof design, don't have to worry about power supply meet the problem.
 +
*3.Goldfinger :Power is supplied through the gold finger, and the gold finger at the bottom of the board contains the power interface. Meanwhile, it has both input and output functions and has high compatibility.
  
*1.micro USB :使用micro USB线供电,BPI:bit 设计有micro USB 供电口,在日常生活中很常见,使用起来也很方便
+
==BPI:bit VS micro:bit==
*2.电池供电:通过2针电池电源插座,可以通过锂电池,电池,电源板,接口防误操作的设计,不用担心电源通过2针电池电源插座,可以通过锂电池,电池,电源板,接口防误操作的设计,不必担心电力供应满足问题。
 
*3.金手指GPIO供电:在板子底部的金手指则包含电源接口。同时,它具有输入和输出功能,具有较高的兼容性。
 
 
 
==BPI:bit micro:bit 比较表==
 
  
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| style="background: PaleTurquoise; color: black" colspan="8"| ''' bpi:bit 与micro:bit比较'''
+
| style="background: PaleTurquoise; color: black" colspan="8"| ''' bpi:bit VS micro:bit'''
 
|-
 
|-
|型号名||bpi:bit||micro:bit
+
|Module||bpi:bit||micro:bit
 
|-
 
|-
|主控||Dual-core 32bit Xtensa LX6, up to 240MHz||NXP KL26Z 32bit ARM Cortex M0, up to 16MHz
+
|CPU||Dual-core 32bit Xtensa LX6, up to 240MHz||NXP KL26Z 32bit ARM Cortex M0, up to 16MHz
 
|-
 
|-
 
|RAM||520 KB||16 KB
 
|RAM||520 KB||16 KB
Line 151: Line 182:
 
|Flash||4096 KB||256 KB
 
|Flash||4096 KB||256 KB
 
|-
 
|-
|蓝牙||BT4.2 BR/EDR and BLE|| BLE only
+
|Bluetooth||BT4.2 BR/EDR and BLE|| BLE only
 
|-
 
|-
|WIFI无线||802.11 b/g/n/e/i||| N/A
+
|WIFI||802.11 b/g/n/e/i||| N/A
 
|-
 
|-
|蜂鸣器||1x Buzzer||N/A
+
|Buzzer||1x Buzzer||N/A
 
|-
 
|-
|5*5 LED 灯||25 intelligent-control full-color (16777216 color) LEDs, Cascading all LEDs by a single line.||25 red LEDs
+
|5*5 LEDS||25 intelligent-control full-color (16777216 color) LEDs, Cascading all LEDs by a single line.||25 red LEDs
 
|-
 
|-
|光敏传感器|| 2 light sensors||Basic light detection function on LEDs
+
|photosensitive sensor|| 2 light sensors||Basic light detection function on LEDs
 
|-
 
|-
|温度传感器|| Stand along temperature sensor|| On CPU chip temperature sensor
+
|temperature sensor|| Stand along temperature sensor|| On CPU chip temperature sensor
 
|-
 
|-
|运动传感器|| MPU-9250 9-axis Motion Tracking : 3-axis accelerometer, 3-axis magnetometer, 3-axis gyroscope ||3-axis Accelerometer; 3-axis magnetometer; no gyroscope, no motion processor  
+
|Motion sensor|| MPU-9250 9-axis Motion Tracking : 3-axis accelerometer, 3-axis magnetometer, 3-axis gyroscope ||3-axis Accelerometer; 3-axis magnetometer; no gyroscope, no motion processor  
 
|-
 
|-
|IO 控制介面 || edge interface (compatible with most micro:bit I/O features)|| edge interface
+
|IO interface || edge interface (compatible with most micro:bit I/O features)|| edge interface
 
|-
 
|-
|按键||2 programmable buttons||2 programmable buttons
+
|Button||2 programmable buttons||2 programmable buttons
 
|-
 
|-
 
|micro USB||1x micro USB(UART)||1 x micro USB(Mass Storage Device)
 
|micro USB||1x micro USB(UART)||1 x micro USB(Mass Storage Device)
 
|-
 
|-
|软件支持||[http://www.webduino.com.cn Webduino], Arduino, MicroPython, Scratch X|| Microsoft MakeCode, MicroPython, Scratch X
+
|Software||[http://www.webduino.com.cn Webduino], Arduino, MicroPython, Scratch X|| Microsoft MakeCode, MicroPython, Scratch X
 
|-
 
|-
 
|Size||5*5 cm||5*4 cm
 
|Size||5*5 cm||5*4 cm
Line 177: Line 208:
 
|}
 
|}
  
= 软件 =
+
=Software=
BPI:bit 软件开发规划表与支持应用:
+
BPI:bit Software development schedule and support applications:
  
 
[[File:BPI_bit_map_wiki.png]]
 
[[File:BPI_bit_map_wiki.png]]
  
== Webduino 软件支持 ==
+
== Webduino ==
 
===What is Webduino===
 
===What is Webduino===
 
[http://www.webduino.com.cn/site/en/index.html Webduino ]= [http://webcomponents.org WebComponents] + [http://arduino.cc Arduino]
 
[http://www.webduino.com.cn/site/en/index.html Webduino ]= [http://webcomponents.org WebComponents] + [http://arduino.cc Arduino]
Line 191: Line 222:
 
*[https://drive.google.com/file/d/1-BH_AYh7fbwwMwVeYzMEeA_GOmTxn_KD/view?usp=sharing Webduino 介绍(公开)-中文.pdf]
 
*[https://drive.google.com/file/d/1-BH_AYh7fbwwMwVeYzMEeA_GOmTxn_KD/view?usp=sharing Webduino 介绍(公开)-中文.pdf]
  
===BPI:bit Webduino 开发===
+
===BPI:bit Webduino ===
  
如何使用 :[[Use BPI:bit with webduino]]
+
How to :[[Use BPI:bit with webduino]]
  
===webduino 参考教程===
+
===webduino refer to the tutorial===
  
*BPI:bit 通过在左右两边嵌入Webduino位的光敏电阻,很容易判断手势来自哪一边
+
*BPI:bit Through the photosensitive resistors built into Webduino Bit on the left and right sides, it is easy to determine which side the gesture comes from
 
::code link:https://bit.ly/2lFNeYL
 
::code link:https://bit.ly/2lFNeYL
 
::demo : https://www.facebook.com/oxxo.studio/videos/10216710024566280/?t=9
 
::demo : https://www.facebook.com/oxxo.studio/videos/10216710024566280/?t=9
  
*使用Webduino位九轴传感器+全彩色点阵,简单实现~ ^ _ ^有趣的效果
+
*Using Webduino Bit nine shaft sensor "attitude Angle" + full color dot matrix, simple implementation ~ ^_^ interesting effects
 
::code link: https://bit.ly/2MAhHTF
 
::code link: https://bit.ly/2MAhHTF
 
::demo : https://www.facebook.com/oxxo.studio/videos/10216709482752735/?t=20
 
::demo : https://www.facebook.com/oxxo.studio/videos/10216709482752735/?t=20
  
==Arduino 开发==
+
==Arduino ==
  
 
*[[How to use Arduino | Arduino IDE & PlatformIO]]
 
*[[How to use Arduino | Arduino IDE & PlatformIO]]
*BPI:bit arduino IDE 开发github代码:https://github.com/BPI-STEAM/BPI-BIT-Arduino-IDE
 
*BPI:bit arduino IDE 开发在线文档:https://github.com/BPI-STEAM/BPI-BIT-Arduino-IDE/wiki
 
  
===测试例程===
+
*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
 +
*BPI:bit arduino basic development tutorials(chinese version) : http://forum.banana-pi.org/t/bpi-bit-arduino-basic-development-tutorials-chinese-version/7299
 +
 
 +
=== test routine===
  
 
*[[MPU9250 sample code]]
 
*[[MPU9250 sample code]]
  
==MicroPyhton 开发==
+
==MicroPyhton ==
  
 
[[File:Mircopython.png]]
 
[[File:Mircopython.png]]
  
BPI:bit 已经完整支持microPyton。固件、开发环境、代码与 wiki 文档已经整理到:
+
BPI:bit have full support microPyton。firmware、exploitation environment、software and wiki documtnets have update to :
  
 
https://github.com/BPI-STEAM/BPI-BIT-MicroPython/wiki
 
https://github.com/BPI-STEAM/BPI-BIT-MicroPython/wiki
  
功能提供
+
code on github and support :
*1. 提供 终端命令行操作工具
 
*2. 提供 有线或无线操作板子
 
*3. 提供 Pycharm IDE 开发
 
*4. 提供 Microbit 函数库
 
  
我们现在在测试所有micro:bit 在线文档的例子,我们已经可以让BPI:bit 兼容micro:bit库,这样,microPyton对micro:bit的支持,可以直接在BPI:bit上运行。
+
*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
  
下面就是BPI;bit运行:运行:https://microbit-micropython.readthedocs.io/en/latest/tutorials/hello.html 代码的 代码的效果。直接可以用。
+
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.
  
microbit 在线文档:https://microbit-micropython.readthedocs.io/en/latest/tutorials/introduction.html
+
https://www.youtube.com/watch?v=AczqV6zMi9E&feature=youtu.be
 +
 +
For more board examples, see the following url:
  
microbit 在线仿真器 :http://www.micropython.org.cn/pye/editor-en.html
+
microbit online documents :https://microbit-micropython.readthedocs.io/en/latest/tutorials/introduction.html
  
*[https://github.com/BPI-STEAM/BPI-BIT-MicroPython/wiki Github Wiki Chinese]
+
microbit online simulator genuine: http://www.micropython.org.cn/pye/editor-en.html
  
==Scratch 支持与开发==
+
[[BPI:bit MicroPython development document]]
 +
 
 +
==Scratch==
  
 
*[https://github.com/BPI-STEAM/BPI-BIT-Scratch Base MicroPyhton Scratch]
 
*[https://github.com/BPI-STEAM/BPI-BIT-Scratch Base MicroPyhton Scratch]
  
=资料与资源=
+
=Resources=
 +
*[https://github.com/BPI-STEAM/BPI-BIT/blob/master/doc/BPI-bit_user_manual.pdf BPI:bit user manual]
 +
*[https://github.com/BPI-STEAM/BPI-BIT/blob/master/doc/BPI-WEBDUINO-BIT-V1_4.pdf BPI:bit V1.4 schematic diagram]
 +
*[https://github.com/BPI-STEAM/BPI-BIT/blob/master/doc/BPI-WEBDUINO-BIT-V1_2.pdf BPI:bit V1.2 schematic diagram]
 +
*[http://forum.banana-pi.org/uploads/default/original/2X/0/0b86ccaeb565cdeef093164fd1ff837727ca2887.rar BPI:bit dxf file]
 
*BPI:bit Webduino Easy How-To's Episode 1: Initial Setup : https://www.youtube.com/watch?v=23_a27N3_7k
 
*BPI:bit Webduino Easy How-To's Episode 1: Initial Setup : https://www.youtube.com/watch?v=23_a27N3_7k
 
*How to Program Esp32 with Arduino IDE with C++ : https://technicalustad.com/program-esp32-with-arduino-ide-with-c/
 
*How to Program Esp32 with Arduino IDE with C++ : https://technicalustad.com/program-esp32-with-arduino-ide-with-c/
 +
*Banana Pi BPI:bit CE FCC RoHS Certification :http://forum.banana-pi.org/t/banana-pi-bpi-bit-ce-fcc-rohs-certification/7363
  
==Github 源代码==
+
==Github==
  
 
*[https://github.com/webduinoio Webduino github]
 
*[https://github.com/webduinoio Webduino github]
Line 255: Line 296:
 
*[https://github.com/BPI-STEAM bpi:bit open soruce github]
 
*[https://github.com/BPI-STEAM bpi:bit open soruce github]
  
==参考链接==
+
==Useful links==
*[https://github.com/yelvlab/BPI-BIT/blob/master/doc/BPI-WEBDUINO-BIT-V1_2-20180417.pdf BPI:bit 原理图下载]
+
 
*[https://github.com/yelvlab/BPI-BIT/blob/master/doc/BPI-bit_user_manual.pdf BPI:bit user manual]
+
*[https://github.com/BPI-STEAM/BPI-BIT/blob/master/doc/ESP32-datesheet_english.pdf ESP32 规格书] ESP32 datasheet]
*[http://forum.banana-pi.org/uploads/default/original/2X/0/0b86ccaeb565cdeef093164fd1ff837727ca2887.rar BPI:bit dxf 结构文件]
+
*[https://www.dfrobot.com/blog-964.html ESP32 Arduino Tutorial Overview]
*[https://github.com/yelvlab/BPI-BIT/blob/master/doc/ESP32-datesheet_english.pdf ESP32 规格书]
 
*[https://www.dfrobot.com/blog-964.html ESP32 Arduino 参考文档]
 
 
*[https://www.espressif.com/products/hardware/esp32/resources Espressif ESP32 Resources]
 
*[https://www.espressif.com/products/hardware/esp32/resources Espressif ESP32 Resources]
 
*[https://esp-idf.readthedocs.io/en/latest/ Espressif ESP-IDF Programming Guide]
 
*[https://esp-idf.readthedocs.io/en/latest/ Espressif ESP-IDF Programming Guide]
 
*[http://www.invensense.com/wp-content/uploads/2015/02/PS-MPU-9250A-01-v1.1.pdf MPU9250 datasheet]
 
*[http://www.invensense.com/wp-content/uploads/2015/02/PS-MPU-9250A-01-v1.1.pdf MPU9250 datasheet]
*[https://github.com/yelvlab/BPI-BIT/tree/master/doc More others]
+
*[https://github.com/BPI-STEAM/BPI-BIT/tree/master/doc More others]
 
*[http://webuino.io Webduino official website]
 
*[http://webuino.io Webduino official website]
 
*[http://www.webduino.com.cn/site/en/ Webduino website in China]
 
*[http://www.webduino.com.cn/site/en/ Webduino website in China]

Revision as of 18:57, 9 December 2018

Introduction

Overview: BPI:bit
BPI-UNO32 with ESP32 design
Overview: BPI:bit
Overview: BPI:bit for Webduino

The BPI bit (also referred to as BPI-bit, stylised as bpi:bit) is an ESP32 with 32-bit Xtensa LX6 dual-core processor based embedded system. It supports Webduino, Arduino, MicroPython as well as Scratch X programming environments.

A BPI-Bit.jpg

BPI:bit hardware main function:

Webduino web en 1.png

bpi:bit board is 5 cm x 5 cm in size, weighs 10 ~ 12 grams, it houses a 20-Pin edge connector, built-in lighting matrix with 25 programmable full-color LEDs , two photosensitive light sensors, two programmable buttons, an NTC resistor, a buzzer and a nine shaft sensor (triaxial acceleration Three-axis gyroscope and three-axis magnetic compass),

the I/O space configuration is as follows:

  • Full color LED matrix: GPIO4
  • Photosensitive sensor: GPIO36 (Analog A0, upper left), GPIO39 (Analog A3, upper right)
  • Button switch : GPIO35 (Botton A), GPIO27 (Botton B)
  • Temperature sensor: GPIO34 (Analog A6)
  • Buzzer: GPIO25
  • MPU-9250 9-axis sensor: GPIO0, GPIO21(SDA), GPIO22(SCL)
GPIO control of BPI:bit
Light Sensor(L) GPIO 36 Analog Input
Light Sensor(R) GPIO 39 Analog Input
Botton A GPIO 35 Digital Input
Botton B GPIO 27 Digital Input
Temperature Sensor GPIO 34 Analog Input
Buzzer GPIO 25 PWM(Digital Output) / Analog Output
RGB_LED GPIO 4 Digital Output
MPU9250_SCL GPIO 22 Digital Output
MPU9250_SDA GPIO 21 Digital Output
MPU9250_INT GPIO 16 Digital Input
R_LED(SPI_SCK) GPIO 18 Digital Output

Hardware

Hardware description

Webduino Bit is the latest board of Webduino with much more sensors on top of its basic functions(Wi-Fi connection, muti-connectivity,multi-board...). It uses ESP32 module,one of the most efficient and stable chipset in the market, which has built-in 2.4G Wi-Fi and Bluetooth,448KB ROM,520KB SRAM,speed up to 600 DMIPS,and 40 nm technology.

Webduion bit board has a compact size of 50mm x 50mm, weighs 10-12 grams.It has 20 pins at the bottom,25 full color LED array in the middle, two photo cells,two buttons, one thermistor,one buzzer,one 9-axis sensor(3-axis accelerometer,3-axis gyroscope and 3-axis magnetometer), the pin layout are below:

Hardware interface

BPI bit interfact.JPG

PIN definitions

The edge interface is much compatible with those of micro:bit. so you may able to use micro:bit accessories on bpi:bit

BPI-bit edge gpio.png

HardWare PIN define of BPI:bit
Pin Name Analog Function1 Analog Function2 Function1 Function2 Power
P3 ADC2_CH4 GPIO13
P0 ADC2_CH8 DAC_1 GPIO25
P4 ADC2_CH3 GPIO16
P5 ADC1_CH7 GPIO35
P6 ADC2_CH5 GPIO12
P7 ADC2_CH6 GPIO14
P1 ADC1_CH4 GPIO32
P8 GPIO16
P9 GPIO17
P10 ADC2_CH9 DAC_2 GPIO26
P11 ADC2_CH7 GPIO27
P12 ADC2_CH2 GPIO02
P2 ADC1_CH5 GPIO33
P13 GPIO18 SPI_SS
P14 GPIO19 SPI_SCK
P15 GPIO23 SPI_MISO
P16 GPIO05 SPI_MOSI
3V3 POWER:3V3
3V3 POWER:3V3
3V3 POWER:3V3
P19 GPIO22 I2C_SCL
P20 GPIO21 I2C_SDA
GND GROUND
GND GROUND
GND GROUND

5*5 25 LED

BPI:bit have 25 LEDs on board, it can be controlled with a single GPIO.

25 5*5 LED list of BPI:bit
20 15 10 5 0
21 16 11 6 1
22 17 12 7 2
23 18 13 8 3
24 19 14 9 4

MPU9250 9-axis sensor

The 9-axis sensor, MPU9250, is placed on the BPI:bit board. and MPU9250 uses I2C 0x69 address.

The 9-axis is the combination of 3 separate triple axis sensors. For more detailed information of this chip, click here MPU 9250 datasheet to view the datasheet.\

BPI-BIT MPU9250 Library and how to : https://github.com/BPI-STEAM/MPU9250

BPI:bit power

When you use BPI:bit, you need to supply the board first, and the bit supports three power supply modes

  • 1.micro USB port:USB cable power supply, the design of BPI:bit board has Micro USB interface, which is quite common in daily life and is quite convenient to use.
  • 2.Battery port:Through 2 pin battery power supply socket, can through the lithium battery, battery pack to power supply board, interface fool proof design, don't worry about the power supply through the 2 pin battery power supply socket, can through the lithium battery, battery pack to power supply board, interface fool proof design, don't have to worry about power supply meet the problem.
  • 3.Goldfinger :Power is supplied through the gold finger, and the gold finger at the bottom of the board contains the power interface. Meanwhile, it has both input and output functions and has high compatibility.

BPI:bit VS micro:bit

bpi:bit VS micro:bit
Module bpi:bit micro:bit
CPU Dual-core 32bit Xtensa LX6, up to 240MHz NXP KL26Z 32bit ARM Cortex M0, up to 16MHz
RAM 520 KB 16 KB
ROM 448 KB Unkown
Flash 4096 KB 256 KB
Bluetooth BT4.2 BR/EDR and BLE BLE only
WIFI 802.11 b/g/n/e/i N/A
Buzzer 1x Buzzer N/A
5*5 LEDS 25 intelligent-control full-color (16777216 color) LEDs, Cascading all LEDs by a single line. 25 red LEDs
photosensitive sensor 2 light sensors Basic light detection function on LEDs
temperature sensor Stand along temperature sensor On CPU chip temperature sensor
Motion sensor MPU-9250 9-axis Motion Tracking : 3-axis accelerometer, 3-axis magnetometer, 3-axis gyroscope 3-axis Accelerometer; 3-axis magnetometer; no gyroscope, no motion processor
IO interface edge interface (compatible with most micro:bit I/O features) edge interface
Button 2 programmable buttons 2 programmable buttons
micro USB 1x micro USB(UART) 1 x micro USB(Mass Storage Device)
Software Webduino, Arduino, MicroPython, Scratch X Microsoft MakeCode, MicroPython, Scratch X
Size 5*5 cm 5*4 cm

Software

BPI:bit Software development schedule and support applications:

BPI bit map wiki.png

Webduino

What is Webduino

Webduino = WebComponents + Arduino

Webduino.png

BPI:bit Webduino

How to :Use BPI:bit with webduino

webduino refer to the tutorial

  • BPI:bit Through the photosensitive resistors built into Webduino Bit on the left and right sides, it is easy to determine which side the gesture comes from
code link:https://bit.ly/2lFNeYL
demo : https://www.facebook.com/oxxo.studio/videos/10216710024566280/?t=9
  • Using Webduino Bit nine shaft sensor "attitude Angle" + full color dot matrix, simple implementation ~ ^_^ interesting effects
code link: https://bit.ly/2MAhHTF
demo : https://www.facebook.com/oxxo.studio/videos/10216709482752735/?t=20

Arduino

test routine

MicroPyhton

Mircopython.png

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

https://github.com/BPI-STEAM/BPI-BIT-MicroPython/wiki

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.

https://www.youtube.com/watch?v=AczqV6zMi9E&feature=youtu.be

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

BPI:bit MicroPython development document

Scratch

Resources

Github

Useful links