RatGDO-OpenSource-D1Mini-ESP32
scottdube·my-rat-ratgdo·kicad_files/D1 Mini - ESP32/RatGDO-OpenSource-D1Mini-ESP32.kicad_pcb
About the RatGDO-OpenSource-D1Mini-ESP32 PCB
RatGDO-OpenSource-D1Mini-ESP32 is an open source ESP32 PCB design by scottdube, published on GitHub under the MIT license. It is a 2-layer board measuring 62 × 89.7 mm, with 21 components from 16 distinct parts.
Its main chip is the mini_esp32, from the ESP32 family. By type, the board carries 8 connectors, 8 resistors, 3 transistors, 1 IC and 1 fuse.
It belongs with the iot & wireless, power & battery and sensors designs in this gallery.
From the project
DIY local Security+ 2.0 garage control for Home Assistant — my rat-ratgdo (D1 Mini ESP32) variant: on-board LM2596, battery-backup tap, SHT3x temp/humidity, and a piezo buzzer.
I started from Kaldek's D1 Mini – ESP32 variant and added four things aimed at making the board a self-sufficient, locally-controlled garage controller that keeps working through a power outage:
- SHT3x temp/humidity sensor (I²C, addr 0x44, SDA GPIO18 / SCL GPIO19). Garage climate in Home Assistant for free — freeze/heat alerts, humidity logging — with no second device. Brought out on a JST header to a remote breakout so the sensor isn't skewed by board or enclosure heat. - 12 V piezo buzzer driver (2N7002 on GPIO17). Local audible feedback — door-left-open nag, closing warning — that…

Main components on the RatGDO-OpenSource-D1Mini-ESP32
RatGDO-OpenSource-D1Mini-ESP32 bill of materials (BOM)
21 components, 16 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | mini_esp32 | ESP32_mini | U1 |
| 1 | 2N7002 | SOT-23_Handsoldering | Q1 |
| 1 | AO3400A | SOT-23_Handsoldering | Q2 |
| 1 | 2N7002 | SOT-23 | Q3 |
| 1 | GDO | PhoenixContact_MC_1,5_3-G-3.5_1x03_P3.50mm_Horizontal | J1 |
| 1 | Wall Switch | PhoenixContact_MC_1,5_2-G-3.5_1x02_P3.50mm_Horizontal | J2 |
| 1 | Obst Left | PhoenixContact_MC_1,5_2-G-3.5_1x02_P3.50mm_Horizontal | J3 |
| 1 | SHT4x_I2C | JST_XH_B3B-XH-A_1x03_P2.50mm_Vertical | J4 |
| 1 | Piezo 12V | JST_EH_B2B-EH-A_1x02_P2.50mm_Vertical | J5 |
| 1 | Batt In | PhoenixContact_MC_1,5_2-G-3.5_1x02_P3.50mm_Horizontal | J6 |
| 1 | LM2596 | LM2596 | J7 |
| 1 | Obst Right | PhoenixContact_MC_1,5_2-G-3.5_1x02_P3.50mm_Horizontal | J8 |
| 1 | 1A | Fuse_1206_3216Metric_Pad1.42x1.75mm_HandSolder | F1 |
| 6 | 10k | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R2, R3, R5, R6, R8 |
| 1 | 1k | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R4 |
| 1 | 220 | R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R7 |
RatGDO-OpenSource-D1Mini-ESP32 design files
The KiCad project lives in the scottdube/my-rat-ratgdo repository on GitHub; these links point at the commit this page was built from.
RatGDO-OpenSource-D1Mini-ESP32: common questions
What microcontroller does the RatGDO-OpenSource-D1Mini-ESP32 use?
The RatGDO-OpenSource-D1Mini-ESP32 is built around the mini_esp32, from the ESP32 family.
How big is the RatGDO-OpenSource-D1Mini-ESP32 PCB?
The RatGDO-OpenSource-D1Mini-ESP32 measures 62 × 89.7 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the RatGDO-OpenSource-D1Mini-ESP32?
21 components, from 16 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the RatGDO-OpenSource-D1Mini-ESP32 design files?
From the scottdube/my-rat-ratgdo repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the RatGDO-OpenSource-D1Mini-ESP32 design in my own project?
Yes, under the terms of its MIT license, which scottdube chose for the repository.
Can I test firmware for the RatGDO-OpenSource-D1Mini-ESP32 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.
More boards in my-rat-ratgdo
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