Petoi Doc Center
🇺🇸English
Ask or search…
⌃K

BiBoard Extension Hat

Overview

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

Peripherals

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).
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

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
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
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:
​