HexGateway
gblach·HexGateway
About the HexGateway PCB
HexGateway is an open source ESP32 PCB design by gblach, published on GitHub. It is a 2-layer board measuring 50 × 48 mm, with 83 components from 43 distinct parts.
Its main chip is the esp32-c3, from the ESP32 family. Other key parts include the nRF52840, LM1117-3.3, SN74LV1T34DBV, MX25R3235FM2xx1 and ENC28J60x-SS. By type, the board carries 45 capacitors, 13 resistors, 6 ICs, 6 connectors, 6 inductors and 4 crystals.
It belongs with the iot & wireless designs in this gallery.
From the project
An internet gateway for Bluetooth LE, OpenThread and/or Zigbee devices.
It employs three chips: - nrf52840 - has support for Bluetooth LE, OpenThread and Zigbee networks. - esp32-c3 - has support for WiFi at 2.4GHz. - enc28j60 - has support for Ethernet network.
Note that U102 is required only if your are using esp32-c3 (U101) without built-in flash memory.
esp32-c3 (U101) can be programmed using ESP-Prog. This programmer must be connected to J101 (TagConnect) or J102 (IDC 6) connector.

Main components on the HexGateway
HexGateway bill of materials (BOM)
83 components, 43 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | nRF52840 | Nordic_AQFN-73-1EP_7x7mm_P0.5mm | U1 |
| 1 | LM1117-3.3 | SOT-223-3_TabPin2 | U2 |
| 1 | SN74LV1T34DBV | SOT-23-5_HandSoldering | U5 |
| 1 | esp32-c3 | QFN-32-1EP_5x5mm_P0.5mm_EP3.7x3.7mm | U101 |
| 1 | MX25R3235FM2xx1 | SOP-8_5.28x5.23mm_P1.27mm | U102 |
| 1 | ENC28J60x-SS | SSOP-28_5.3x10.2mm_P0.65mm | U201 |
| 1 | 32MHz, 8pF, 40ppm | Crystal_SMD_2016-4Pin_2.0x1.6mm | X1 |
| 1 | 32.768kHz, 9pF, 50ppm | Crystal_SMD_3215-2Pin_3.2x1.5mm | X2 |
| 1 | 25MHz, 15/16pF | Crystal_SMD_3225-4Pin_3.2x2.5mm | X201 |
| 1 | 40MHz, 15pF, 10ppm | Crystal_SMD_3225-4Pin_3.2x2.5mm | Y101 |
| 1 | Conn_02x05_Odd_Even | PinHeader_2x05_P1.27mm_Vertical | J2 |
| 2 | Conn_Coaxial | SMA_EdgeMount | J3, J103 |
| 1 | USB4125-GF-A_REVA | GCT_USB4125-GF-A_REVA | J4 |
| 1 | Conn_02x03_Odd_Even | PinHeader_2x03_P1.27mm_Vertical | J102 |
| 1 | RJ45_Hanrun_HR911105A | RJ45_Hanrun_HR911105A | J201 |
| 1 | SW_Push | SW_Tactile_SPST_Angled_PTS645Vx31-2LFS | SW1 |
| 2 | WS2812B | WS2812B_4020 | D1, D2 |
| 1 | 4.7nH, 5% | L_0402_1005Metric_Pad0.77x0.64mm_HandSolder | L1 |
| 2 | 10uH, 80mA, 20% | L_0603_1608Metric_Pad1.05x0.95mm_HandSolder | L2, L4 |
| 1 | 15nH, 10% | L_0402_1005Metric_Pad0.77x0.64mm_HandSolder | L3 |
Show 23 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 2.0nH, (0.1nH), 450mA | L_0402_1005Metric_Pad0.77x0.64mm_HandSolder | L101 |
| 1 | 3.9nH | L_0402_1005Metric_Pad0.77x0.64mm_HandSolder | L102 |
| 4 | 12pF, NP0, 2% | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C1, C2, C17, C18 |
| 1 | 0.8pF, NP0, 10% | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C3 |
| 1 | 0.5pF, NP0, 10% | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C4 |
| 15 | 100nF, X7R, 10% | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C5, C7, C8, C12, C106, C107, C110, C112 +7 |
| 2 | 4.7uF, X7R, 10% | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C6, C19 |
| 1 | 820pF, NP0, 5% | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C9 |
| 1 | 100pF, NP0, 5% | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C11 |
| 2 | 1.0uF, X7R, 10% | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C14, C15 |
| 1 | 47nF, X7R, 10% | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C16 |
| 5 | 10uF, 20% | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C50, C51, C52, C105, C211 |
| 4 | 20pF | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C101, C102, C220, C221 |
| 3 | 1uF, 20% | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C103, C111, C150 |
| 3 | 10nF, 10% | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C104, C206, C207 |
| 1 | 2.0pF | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C108 |
| 1 | 1.5pF | C_0402_1005Metric_Pad0.74x0.62mm_HandSolder | C109 |
| 2 | 5.1k, 10% | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1, R2 |
| 1 | 499R, 1%, 1/20W | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R102 |
| 3 | 10k, 1% | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R108, R120, R150 |
| 1 | 2.32k, 1% | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R201 |
| 4 | 50R, 1% | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R202, R203, R204, R205 |
| 2 | 330R | R_0402_1005Metric_Pad0.72x0.64mm_HandSolder | R206, R207 |
HexGateway design files
The KiCad project lives in the gblach/HexGateway repository on GitHub; these links point at the commit this page was built from.
- LayoutHexGateway.kicad_pcb
- SchematicHexGateway.kicad_sch
HexGateway: common questions
What microcontroller does the HexGateway use?
The HexGateway is built around the esp32-c3, from the ESP32 family.
How big is the HexGateway PCB?
The HexGateway measures 50 × 48 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the HexGateway?
83 components, from 43 distinct parts. The full bill of materials is listed on this page.
Where can I download the HexGateway design files?
From the gblach/HexGateway repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the HexGateway design in my own project?
The repository has no license, so all rights stay with gblach. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the HexGateway without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug ESP32 firmware against it before you order a PCB.
Similar boards
ESP32
Open Book Abridged Edition
joeycastillo
85 × 115 mm65 parts2LCC-BY-SA-4.08.1kESP32
Badge
atopile
56.3 × 39 mm239 parts4LMIT4.0kESP32
Esp32 minimal
atopile
36.2 × 26.8 mm20 parts2LMIT4.0kESP32
Racer
StuckAtPrototype
36 × 50.2 mm70 parts4LApache-2.03.8kESP32
Controller
StuckAtPrototype
29 × 74 mm58 parts4LApache-2.03.8kESP32
Bitaxe
skot
56.5 × 99.8 mm86 parts4LCERN-OHL-S-2.01.4k