

ESP32-Ethgate rounded
ESP32-WROOM with LAN8720A
- Size
- 71.2 × 38.1 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 56
- Nets
- 79
- Pads
- 231
- Tracks, vias
- 523, 126
- Pours
- 273
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 20 Jul 2021
- Updated
- 20 Apr 2024
Overview
ESP32-Ethgate rounded is an open-source printed circuit board by c-, from the c-/ESP32-Ethgate repository on GitHub, published under the CC0-1.0 licence. It is a 2-layer board of 71.2 × 38.1 mm with 56 parts on 79 nets, routed with 523 tracks and 126 vias.
It is built around the CH340C, ESP32-WROOM-32U and HT7233, with the LAN8720A-CP, USBLC6-2SC6 and B5817W among its other parts. Its parts include 22 resistors, 17 capacitors, 6 ICs, 4 diodes and 4 connectors. It belongs with the ESP32 boards of this library.
Main components
8CH340C
SOP-16-20℃~+70℃ 2Mbps 3.3V、5V 50uA 7mA Transceiver USB 2.0 SOP-16 USB Converters ROHSWCH (Nanjing Qinheng Microelectronics)USB ConvertersESP32-WROOM-32U
SMD,19.2x18mm-40℃~+85℃ -97dBm 2.4GHz 20.5dBm 3V~3.6V Bluetooth4.2 ESP32-DOWD UART、SDIO、SPI、I2C、GPIO、PWM、ADC、DAC、CAN SMD,19.2x18mm WiFi Modules ROHSEspressif SystemsWiFi ModulesHT7233
SOT-23-40℃~+85℃ 1 3.3V 300mA 300mV@(300mA) 4uA 8V Fixed Over Current Protection、Over Temperature Protection、Enable Positive SOT-23-5 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSHOLTEKVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsLAN8720A-CP
QFN-24-EP(4x4)Ethernet ICsMicrochip TechnologyUSBLC6-2SC6
SOT-23-60.35pF、0.8pF 100nA 150W@8/20us 15V 2 5V 6A@8/20us 6V ESD SOT-23-6 ESD and Surge Protection (TVS/ESD) ROHSUMWESD And Surge Protection (TVS/ESD)B5817W
SOD-123-55℃~+150℃ 1A 1mA@20V 20V 450mV@1A Independent SOD-123 Schottky Diodes ROHShongjiachengSchottky DiodesHR911105A
插件0℃~+70℃ 1 Filtered Gold Non-PoE Phosphor bronze RJ45 Jack Right Angle Shielded With LED 插件 Ethernet Connectors / Modular Connectors (RJ45 RJ11) ROHSHANRUNEthernet Connectors / Modular Connectors (RJ45 RJ11)UMH3N
SOT-363-55℃~+150℃ 0.5uA 100 100mA 150mW 2 NPN (Pre-Biased) 250MHz 300mV 50V 5V 6.11kΩ NPN SOT-363 Digital Transistors ROHSJiangsu Changjing Electronics Technology (CJ)Digital Transistors
README
README.mdESP32-Ethgate
This is an ESP32 (ESP32-WROOM-32 module) with LAN8720A PHY project intended to be an ESP-NOW to (wired) MQTT gateway.

It was designed to be produced in my PCB mill. If your PCB mill can handle QFN24 footprints and double-sided PCB's then you might be able to duplicate this. Or you can just order a PCB from pretty much anywhere. I had a few made by Oshpark.


Design
For simplicity, it uses the GPIO17 PLL clock technique rather than the GPIO0-based crystal, and includes a second 3.3v regulator to control the entire ethernet power rail independently. It needs stable USB power, although at some point I might take a stab at a PoE version.
The CH340C runs off the first regulator along with the ESP32. The HT7233 is rated for 300mA, which is just marginal for an ESP32, but so far I haven't noticed any power issues (power consumption for the whole board averages maybe 250mA). I've thrown in some USB ESD protection, a fuse, and some reverse protection (I know that's not supposed to be a problem with USB... things happen, don't ask). ESD protection for the Ethernet port would be a nice-to-have at some point.
The CH340C supports the usual auto-programming. Note that you may need to dial back the default upload baud rate.
I've added a small (1.25mm pitch) header with 3V3, GND, and two GPIO's to allow for things like environmental sensors. Note that temperature sensors will need to stay a minimum of 10cm off the board to avoid the heat thrown by this board. I've also broken out the USB interface with a small header (uUSB connectors can be brittle pieces of junk).
BOM
Most of the components are from LCSC. There's an interactive BOM page which should tell you what you need. Passives are 0603 with a few 0805 for the larger capacitors.
Firmware
The Arduino-ESP32 ETH_LAN8720 sketch should work with the following configuration:
#define LED_BUILTIN 2 // or use a NodeMCU-type of board definition
#define ETH_CLK_MODE ETH_CLOCK_GPIO17_OUT
#define ETH_POWER_PIN 12
#define ETH_TYPE ETH_PHY_LAN8720
#define ETH_ADDR 1
#define ETH_MDC_PIN 23
#define ETH_MDIO_PIN 18
ETH.begin(ETH_ADDR, ETH_POWER_PIN, ETH_MDC_PIN, ETH_MDIO_PIN,
ETH_TYPE, ETH_CLK_MODE)I flash mine with the ESP32 clock set at 80MHz, which seems to be more stable at 100Mbps connection speeds and draws approximately 25% less power.
Parts
56| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | 100n | Capacitor_SMD:C_0603_1608Metric | C1, C2, C4, C7, C9, C10, C17 |
| 7 | 1K5 | Resistor_SMD:R_0603_1608Metric | R3, R5, R7, R10, R13, R17, R18 |
| 4 | 10R | Resistor_SMD:R_0603_1608Metric | R6, R9, R11, R14 |
| 4 | 49R9 | Resistor_SMD:R_0603_1608Metric | R16, R20, R21, R22 |
| 3 | 10K | Resistor_SMD:R_0603_1608Metric | R1, R4, R8 |
| 3 | 22u | Capacitor_SMD:C_0805_2012Metric | C5, C6, C8 |
| 2 | 10n | Capacitor_SMD:C_0603_1608Metric | C12, C15 |
| 2 | 22n | Capacitor_SMD:C_0603_1608Metric | C14, C16 |
| 2 | HT7233 | Package_TO_SOT_SMD:SOT-23-5 | U1, U4 |
| 2 | RED | LED_SMD:LED_0603_1608Metric_Castellated | D2, D4 |
| 1 | 0R | Resistor_SMD:R_0603_1608Metric | R23 |
| 1 | 10u | Capacitor_SMD:C_0805_2012Metric | C3 |
| 1 | 12K1 | Resistor_SMD:R_0603_1608Metric | R19 |
| 1 | 1u1R | Capacitor_SMD:C_0603_1608Metric | C11 |
| 1 | 30R | Inductor_SMD:L_0603_1608Metric | FB1 |
| 1 | 33R | Resistor_SMD:R_0603_1608Metric | R15 |
| 1 | 470R | Resistor_SMD:R_0603_1608Metric | R2 |
| 1 | 470p | Capacitor_SMD:C_0603_1608Metric | C13 |
| 1 | 750mA | Fuse:Fuse_0805_2012Metric_Pad1.15x1.40mm_HandSolder | F1 |
| 1 | B5817W | Diode_SMD:D_SOD-323_HandSoldering | D1 |
| 1 | CH340C | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U3 |
| 1 | ESP32-WROOM-32U | CPB:ESP32-WROOM-32U-HandSoldering | U2 |
| 1 | GPIO | Connector_Molex:Molex_PicoBlade_53047-0410_1x04_P1.25mm_Vertical | J4 |
| 1 | GREEN | LED_SMD:LED_0603_1608Metric_Castellated | D3 |
| 1 | HR911105A | CPB:RJ45_Hanrun_HR911105A_Oval | J2 |
| 1 | LAN8720A | Package_DFN_QFN:QFN-24-1EP_4x4mm_P0.5mm_EP2.6x2.6mm | U5 |
| 1 | UMH3N | Package_TO_SOT_SMD:SOT-363_SC-70-6_Handsoldering | Q1 |
| 1 | USB | Connector_Molex:Molex_PicoBlade_53047-0410_1x04_P1.25mm_Vertical | J3 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6_Handsoldering | U6 |
| 1 | USB_B_Micro | CPB:USB_Micro-B_CNC_C10418 | J1 |
Questions
How big is the ESP32-Ethgate rounded PCB?
It measures 71.2 × 38.1 mm and has 2 copper layers, 1.6 mm thick.
What parts does the ESP32-Ethgate rounded use?
56 parts, built around the CH340C, ESP32-WROOM-32U, HT7233 and LAN8720A-CP. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the ESP32-Ethgate rounded KiCad files?
From the c-/ESP32-Ethgate repository on GitHub, at the commit this page was made from: the board is ESP32-Ethgate-rounded.kicad_pcb and its schematic ESP32-Ethgate.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the ESP32-Ethgate rounded design in my own project?
Its repository publishes it under the CC0-1.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).
Similar boards
- 2 layers71.2 × 38.1 mm

- 2 layers38.3 × 20.8 mm

- 2 layers122 × 87.4 mm

- 2 layers100 × 60 mm

- 6 layers282.8 × 51.5 mm

- 2 layers62.2 × 35.6 mm

- 2 layers19.1 × 24.1 mm

Malenki nano2
MarkR42/malenki-esc
A small electronic speed controller for e.g. tiny fighting robots or other rc models
25 parts7 - 4 layers65.9 × 52.9 mm
