Petoi Doc Center
Ask or search…

BiBoard Extension Hat


BiBoard Hat V1.0 is the extension board of BiBoard V0 for convenient connection of the voice command and other Grove extensible modules.

Connection to the BiBoard

BiBoard(left) and the extension hat


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).
A built-in module on the BiBoard
UART2/Voice command switch
Connect grove port to UART2 or the Voice command module
4 Gove sockets
Inter-board connectors
Connect the Grove ports to the top BiBoard

Introduction to the onboard components

Voice command module

It's equivalent to the independent Grove voice module introduced in the extensible modules.

Grove sockets

We adopted the Grove sockets for convenient plug-and-play connections. There are three types of sockets:
Grove Socket
Pin Number
I2C with 3.3V logic signal
TX (GPIO17), RX (GPIO16)
UART2 (Serial2 port) with 3.3V logic signal
I34, I35
Analog input; 0-3.3V logic, 5V power
I36, I39
Analog input; 0-3.3V logic, 5V power
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 / Voice command switch

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: