Skip to content

Main hub

Ihor Sobianin edited this page Jun 23, 2023 · 4 revisions

Hardware overview

A main hub or a central board is the heart of BeeHive. This module is built around an ESP32 microcontroller and a number of connectors. The board works from a 12V5A power supply that is connected via a barrel jack. The 12V5A line is then traced to a USB connector and to 5V3A on-board power supply.
The main hub has in total 16 connectors. These connectors are:

  • 8 digital general-purpose connectors
  • 3 analog connectors
  • 2 I2C connectors
  • 1 UART connector
  • 2 12V5A connectors

Programming module

A pin mapping table shown below may prove to be helpful when working on programming IO ports. Table 1 - Pin mapping

Connector pin ESP32 port
D1-3 IO15
D1-4 IO2
D2-3 IO0
D2-4 IO4
D3-3 IO16
D3-4 IO17
D4-3 IO5
D4-4 IO18
D5-3 IO19
D5-4 IO21
D6-3 IO22
D6-4 IO23
D7-3 IO14
D7-4 IO27
D8-3 IO26
D8-4 IO25
A1-3 IO35
A1-4 IO34
A2-3 IO39
A2-4 IO36
A3-3 IO32
A3-4 IO33
I2C_1-3 IO9
I2C_1-4 IO10
I2C_2-3 IO12
I2C_2-4 IO13
UART-3 (TX) IO1
UART-4 (RX) IO3

Safety

Do not connect or disconnect connectors while power is ON. All adjustments must be done ONLY when power is OFF.
Be gentle when working with mechanical connectors such as USB, barrel jack and JST connectors. It is strongly advised to hold them down when connecting or disconnecting cables as otherwise mechanical malfunction may occur and/or the connector may break.

3D model

Main hub

Clone this wiki locally