Difference between revisions of "BPI-Bit V2"

From Banana Pi Wiki
Jump to: navigation, search
(Hardware interface)
(Replaced content with "zh:BPI-Bit V2 STEAM 教育开发板")
 
Line 1: Line 1:
 
[[zh:BPI-Bit V2 STEAM 教育开发板]]
 
[[zh:BPI-Bit V2 STEAM 教育开发板]]
 
=About BPI:bit V2 =
 
 
[[File:Bpi_bit_v2_1.jpg|thumb|[[BPI-Bit V2]] with ESP32-S2]]
 
[[File:Webduino_gif.gif|thumb|[[BPI-Bit]] with ESP32]]
 
[[File:Leaf-S3-incline-front.jpg|thumb|[[BPI-Leaf-S3]] with ESP32-S3]]
 
[[File:BPI-AI_1.JPG|thumb|[[BPI-AI]] Kendryte K210 RISC-V]]
 
[[File:ESP32_6.JPG|thumb|[[BPI-UNO32]] with ESP32 design]]
 
 
[[File:BPI-Bit_V2_banner.jpg|800px]]
 
 
'''BPI:Bit V2''' development board is a successor to BPI:Bit, inheriting most of the core hardware functions.
 
 
Support Webduino, Arduino, MicroPython programming environment suitable for STEAM education.
 
 
== key features ==
 
 
* ESP32-S2
 
* 25 full-color LED lights
 
* 1 temperature sensor
 
* 1 buzze
 
* 2 photosensitive sensors
 
* Two on the front and one programmable button on the back
 
* Type-C USB interface
 
* size 5x5cm
 
* The Goldfinger definition is fully compatible with Micro: Bit
 
 
== Hardware upgrade and function comparison ==
 
 
{| class="wikitable"
 
|-
 
! colspan="3" style="text-align:center; background-color:#FFCB2F;" | BPI:Bit VS BPI:Bit V2
 
|-
 
| Module
 
| BPI:Bit
 
| BPI:Bit V2
 
|-
 
| SoC control chip
 
| ESP32
 
| ESP32-S2
 
|-
 
| ROM
 
| 448 KB
 
| 128 KB
 
|-
 
| RAM
 
| 520 KB
 
| 320 KB
 
|-
 
| FlASH ROM
 
| 4096 KB
 
| 4096 KB
 
|-
 
| PSRAM
 
| None
 
| 2048 KB
 
|-
 
| Wireless Capability
 
| WIFI,Bluetooth
 
| WIFI
 
|-
 
| all-color LED
 
| 25 WS2812-5050 Lamp beads
 
| 25 WS2812-3535 Lamp beads
 
|-
 
| Key
 
| 2 programmable keys,1 RST key
 
| 2 programmable keys,1 BOOT key,1 RST key
 
|-
 
| buzzer
 
| 5.3x5.3mm buzzer
 
| 8.5x8.5mm buzzer
 
|-
 
| USB interface
 
| Micro USB
 
| Type-C USB
 
|-
 
| USB to TTL
 
| support
 
| None
 
|-
 
| battery interface
 
| support
 
| None
 
|-
 
| IO
 
| 19 pin Goldfinger IO(Compatible with Micro :bit accessories )
 
| 19 pin  Goldfinger IO(Compatible with Micro :bit accessories ),Crocodile clip bayonet with 19 pin contacts on the back
 
|-
 
| Nine-axis sensor
 
| support
 
| None
 
|-
 
| photosensitive sensor
 
| 2
 
| 2
 
|-
 
| temperature sensor
 
| 1
 
| 1
 
|}
 
 
=Hardware interface=
 
 
[[File:Bpi_bit_v2_interface_en.jpg]]
 
 
{| class="wikitable"
 
|-
 
! colspan="2" style="text-align:center; background-color:#FFCB2F;" | BPI:Bit V2 specification
 
|-
 
| SoC
 
| ESP32-S2FN4R2,Xtensa® 32 bit LX7 Single-Core Processer
 
|- style="vertical-align:middle;"
 
| frequency
 
| 240MHz MAX
 
|- style="vertical-align:middle;"
 
| operating temperature
 
| -40℃~+85℃
 
|- style="vertical-align:middle;"
 
| ROM
 
| 128 KB
 
|- style="vertical-align:middle;"
 
| SRAM
 
| 320 KB
 
|- style="vertical-align:middle;"
 
| FLASH ROM
 
| 4 MB
 
|- style="vertical-align:middle;"
 
| PSRAM
 
| 2 MB
 
|- style="vertical-align:middle;"
 
| WIFI
 
| IEEE 802.11 b/g/n ,2.4Ghz
 
|- style="vertical-align:middle;"
 
| GPIO
 
| 19 available GPIO pins have been introduced and peripheral functions are available:ADC,TOUCH,PWM,SPI,I2C,I2S,Pulse counter, RMT,TWAI® Controller,SD/MMC,LCD_CAMERA
 
|- style="vertical-align:middle;"
 
| external crystal
 
| 40Mhz
 
|-
 
| style="vertical-align:middle;" | Buzzer
 
| 8.5x8.5mm buzzer
 
|- style="vertical-align:middle;"
 
| LED
 
| 25 Series full color LED lamp, single line GPIO control; 1 monochrome LED, CONTROLLED by GPIO
 
|- style="vertical-align:middle;"
 
| photosensitive sensor
 
| 2 photosensitive sensor
 
|- style="vertical-align:middle;"
 
| photosensitive sensor
 
| 1 photosensitive sensor
 
|- style="vertical-align:middle;"
 
| IO
 
| 19pins 19 pin Goldfinger IO(Compatible with Micro :bit accessories ),Crocodile clip bayonet with 19 pin contacts on the back
 
|- style="vertical-align:middle;"
 
| Key
 
| 2 Programmable buttons,1 BOOT botton,1 reset key
 
|- style="vertical-align:middle;"
 
| USB
 
| USB Type-C interface,full speed USB OTG,USB-ACM
 
|- style="vertical-align:middle;"
 
| operating voltage
 
| 3.3V
 
|- style="vertical-align:middle;"
 
| Power
 
| USB Type-C input 5V,or Goldfinger IO input 3.3V power supply
 
|- style="vertical-align:middle;"
 
| size
 
| 5 * 5 cm
 
|}
 
 
== On-board peripherals ==
 
 
{| class="wikitable" style="vertical-align:middle;"
 
|- style="text-align:center;"
 
! colspan="3" style="background-color:#ffcb2f;" | Peripheral GPIO allocation and signal type
 
|-
 
| photosensitive sensor(L)
 
| GPIO 12
 
| Analog Input
 
|-
 
| photosensitive sensor(R)
 
| GPIO 13
 
| Analog Input
 
|-
 
| Key A
 
| GPIO 38
 
| Digital Input
 
|-
 
| Key B
 
| GPIO 33
 
| Digital Input
 
|-
 
| Key BOOT
 
| GPIO 0
 
| Digital Input
 
|-
 
| temperature sensor
 
| GPIO 14
 
| Analog Input
 
|-
 
| buzzer
 
| GPIO 17
 
| PWM(Digital Output)
 
|-
 
| RGB_LED
 
| GPIO 18
 
| Digital Output
 
|}
 
 
== 5*5 Full color LED lights ==
 
BPI:Bit V2 have 25 Full color LED lights , single GPIO ontrol.The three primary color pixels of each LED can achieve 8bit 256 level brightness display, and achieve 16777216 color full color display, scanning frequency is not less than 400Hz/s.
 
{| class="wikitable"
 
|-
 
! colspan="5" style="background-color:#ffcb2f;" | 5*5 LEDs list of BPI:Bit V2
 
|-
 
| 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
 
|}
 
 
== Goldfinger GPIP define ==
 
 
BPI:Bit V2 Gold finger GPIO is defined to be compatible with Micro :Bit. GPIO expansion board accessories can be used with Micro: Bit.
 
 
[[File:Bpi_bit_v2_goldfinger.jpg|300px]]
 
 
{| class="wikitable" style="vertical-align:middle;"
 
|- style="text-align:center;"
 
! colspan="3" style="background-color:#ffcb2f;" | SPI,I2C
 
|- style="background-color:#c0c0c0;"
 
| Function
 
| Pin Name
 
| GPIO Num
 
|-
 
| SPI_SCK
 
| P13
 
| GPIO36
 
|-
 
| SPI_MISO
 
| P14
 
| GPIO37
 
|-
 
| SPI_MOSI
 
| P15
 
| GPIO35
 
|-
 
| SPI_CS
 
| P16
 
| GPIO34
 
|-
 
| I2C_SCL
 
| P19
 
| GPIO16
 
|-
 
| I2C_SDA
 
| P20
 
| GPIO15
 
|}
 
 
==Power ==
 
 
BPI:Bit V2 supports two power supply modes
 
 
1. Type-C USB:Use USB cable power supply, connect USB interface of computer or other 5V USB charger to power the development board.
 
 
2. Gold finger: At the bottom of the development board, the gold finger contains a power interface with both input and output functions. It uses 3.3V power supply, positive terminal is connected to 3V3, and negative terminal is connected to GND.
 
 
= Software =
 
 
== Webduino ==
 
 
[[File:Webduino_logo_1200x350.jpg|800px ]]
 
 
[https://webbit.webduino.io/blockly/?demo=default webduino在线积木编程平台]
 
 
[https://ota.webduino.io/WebBitInstaller/WebBitSetup.exe webduino积木编程平台 Windows安装版]
 
 
[https://webbit.webduino.io/tutorials/doc/zh-cn/education/index.html webduino在线教学手册]
 
 
== Arduino ==
 
 
[[File:Arduino_logo_1200x350.png | 800px]]
 
 
Arduino 是一个开源嵌入式软硬件开发平台,用来供用户制作可交互式的嵌入式项目。
 
 
* [https://www.arduino.cc/en/software Arduino IDE 下载地址] | [https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#installing 安装并配置Arduino-ESP32运行环境]
 
* [https://docs.espressif.com/projects/arduino-esp32/en/latest/libraries.html#apis Arduino-ESP32 APIs]
 
 
Preparing...
 
 
== MicroPython ==
 
 
[[File:Mircopython.png | 800px]]
 
 
MicroPython实现了大部分Python 3 特性和语法,易学易上手,验证程序效果无需编译直接下载进芯片运行。
 
 
无论是否有编程基础,MicroPython的上手难度绝对远低于其他编程语言,其代码易读性高,且开源社区有多年积累的丰富资源,就如同Python一样拥有极强的生命力与应用价值。
 
 
Preparing...
 
 
= Documents =
 
 
[https://github.com/BPI-STEAM/BPI-BIT-V2-Doc/blob/main/sch/BPI-BIT-V2-V0.2.pdf BPI:Bit V2原理图]
 

Latest revision as of 21:35, 29 July 2022