BiBoard Extension Hat
Last updated
Last updated
BiBoard Hat V1.0 is the extension board of BiBoard V0, which allows for convenient connection of the voice command and other Grove extensible modules.
The extension hat has an onboard voice command module and four grove sockets.
1x Serial2 port (GPIO16, 17).You must dial the slide switch to UART2 to free it for regular serial communication or GPIO. In that case, the Tx pin (GPIO 17) can be used to write.
1x I2C port (GPIO21, 22). It's already used by the main program to read sensors. If you use the BiBoard as a regular ESP32 board without Bittle's firmware, they can be configured as regular GPIO pins to read and write.
2x input-only pins (GPIO 34, 35, 36, 39).
It's equivalent to the independent Grove voice module introduced in the extensible modules.
We adopted the Grove sockets for convenient plug-and-play connections. There are three types of sockets:
BiBoard provides the 5V power supply of the grove sockets, while the 5V comes from the battery. So the devices connected to the Grove sockets can only work when connected to the BiBoard and powered by the battery.
BiBoard's 3.3V powers the voice module. The 3.3V can be supplied from the USB. So it can work without battery power.
UART2 shares the GPIO ports with the voice command module. When the switch is dialed to VOICE COMMAND, the Serial2 port can NOT be used. You can dial the slide switch to UART2 to free it for regular serial communication or GPIO.
The function of the switch is shown in the figure below:
No. | Module | Introducion |
---|---|---|
1
A built-in module on the BiBoard
2
UART2/Voice command switch
Connect grove port to UART2 or the Voice command module
3
4 Gove sockets
4
Inter-board connectors
Connect the Grove ports to the top BiBoard
Grove Socket
Pin Number
Function
G1
I2C: SDA (GPIO21), SCL (GPIO22)
I2C with 3.3V logic signal
G2
TX (GPIO17), RX (GPIO16)
UART2 (Serial2 port) with 3.3V logic signal
G3
I34, I35
Analog input; 0-3.3V logic, 5V power
G4
I36, I39
Analog input; 0-3.3V logic, 5V power