

Voltlog ESP32 Relay Controller
ESP32 based aquarium/terrarium controller
- Size
- 122 × 86 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 68
- Nets
- 70
- Pads
- 238
- Tracks, vias
- 575, 98
- Pours
- 12
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 18 Apr 2021
- Updated
- 19 Apr 2021
Overview
Voltlog ESP32 Relay Controller is an open-source printed circuit board by voltlog, from the voltlog/esp32-aquarium-controller repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 122 × 86 mm with 68 parts on 70 nets, routed with 575 tracks and 98 vias.
It is built around the ESP32-WROOM-32D, TAS5-5-W and ULN2003AD, with the SMBJ6.0A among its other parts. Its parts include 17 capacitors, 11 connectors, 7 resistors, 6 diodes and 5 switches. It belongs with the home automation and IoT boards and the ESP32 boards of this library.
Main components
4ESP32-WROOM-32D
-- WiFi Modules ROHSEspressif SystemsWiFi ModulesTAS5-5-W
插件,48x36mm1 100V~370V 1A 2.5kV 4700uF 50mVp-p 5V 5W 65kHz 80% 85VAC~265VAC AC/DC-DC Short Circuit Protection、Over Current Protection 插件,48x36mm AC-DC Power Modules ROHSTDPOWERAC-DC Power ModulesULN2003AD
SOP-161.7V 15pF 30V 500mA 50V 50uA 50uA Seven channels SOIC-16 Darlington Transistor Arrays ROHSTexas InstrumentsDarlington Transistor ArraysSMBJ6.0A
DO-214AA(SMB)-55℃~+150℃ 10.3V 58.25A@10/1000us 600W@10/1000us 6V 7.37V 800uA IEC 61000-4-2 TVS Unidirectional DO-214AA(SMB) ESD and Surge Protection (TVS/ESD) ROHShongjiachengESD And Surge Protection (TVS/ESD)
README
README.mdESP32 Aquarium/Terarrium Controller
This project started when a friend of mine which has a snake terrarium asked for my help to build a system that is capable of regulating temperature and humidity so the snake can live in optimum conditions. I’m not necessarily a snake lover, I would rather stay away from these kinds of creatures but that doesn’t stop me from helping my friend.
The ESP32 module is the core of this board and it serves as a central processor taking in sensor data and deciding when to switch on/off the 4 relay controlled outputs to adjust the environment inside the aquarium/terrarium.
If you would like to order one of these boards ready assembled, check out my Tindie store.
More info about this project in Voltlog #361.
Known issues in revA:
- Power brick module footprint is wrong so it needs to be installed on the bottom side of the board.
- There are no mounting holes.
- Fitting the board inside the intended enclosure required some adjustments on the round cutouts. This is something to consider if you want to use the same enclosure but if you plan to install this in a larger plastic enclosure, it shouldn't be a problem.
Firmware
Firmware is built as a PlatformIO project on the Arduino platform using publicly available open-source libraries. The HTML page servered by the asyncronous web server needs to be loaded into the ESP32 SPIFFS memory using the standard upload procedure. The code is just a proof of concept and is provided AS IS without warranty of any kind.
Safety Warning
This control board uses mains voltage so you need to know what you are doing, otherwise, there is a high risk of electrical shock and/or fire. This is a serious topic, if you are not sure what you are doing, ask for help from an electrician. Every connection should be double checked before applying mains power.

Parts
68| Qty | Value | Footprint | References |
|---|---|---|---|
| 9 | 0.1uF | Capacitor_SMD:C_0805_2012Metric | C1, C2, C5, C6, C8, C9, C10, C12, C17 |
| 6 | 10uF | Capacitor_SMD:C_0805_2012Metric | C7, C11, C13, C14, C15, C16 |
| 4 | 4K7 | Resistor_SMD:R_0805_2012Metric | R2, R3, R4, R5 |
| 4 | FINDER-36.11 | Relay_THT:Relay_SPDT_Finder_36.11 | K1, K2, K3, K4 |
| 4 | Fuse | Fuse:Fuseholder_Cylinder-5x20mm_Stelvio-Kontek_PTF78_Horizontal_Open | F2, F3, F4, F5 |
| 3 | Fiducial | Fiducial:Fiducial_0.5mm_Mask1mm | FID1, FID2, FID3 |
| 2 | 10K | Resistor_SMD:R_0805_2012Metric | R1, R6 |
| 1 | 1K | Resistor_SMD:R_0805_2012Metric | R7 |
| 1 | 220uF | Capacitor_SMD:CP_Elec_8x10.5 | C4 |
| 1 | 22uF | Capacitor_SMD:C_1206_3216Metric | C3 |
| 1 | 250V 0.5A (slow) | Fuse:Fuseholder_Cylinder-5x20mm_Stelvio-Kontek_PTF78_Horizontal_Open | F1 |
| 1 | 270R | Resistor_SMD:R_Array_Convex_4x0603 | RN1 |
| 1 | 275V | Varistor:RV_Disc_D12mm_W5mm_P7.5mm | RV1 |
| 1 | 2K | Resistor_SMD:R_Array_Convex_4x0603 | RN3 |
| 1 | 3V3 | TestPoint:TestPoint_Pad_D1.0mm | TP4 |
| 1 | 5V | TestPoint:TestPoint_Pad_D1.0mm | TP2 |
| 1 | AC_IN | TerminalBlock_RND:TerminalBlock_RND_205-00287_1x02_P5.08mm_Horizontal | J1 |
| 1 | ADC | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J6 |
| 1 | CH1 | LED_SMD:LED_0805_2012Metric | D3 |
| 1 | CH1 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-3-3-5.08_1x03_P5.08mm_Horizontal | J8 |
| 1 | CH2 | LED_SMD:LED_0805_2012Metric | D4 |
| 1 | CH2 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-3-3-5.08_1x03_P5.08mm_Horizontal | J9 |
| 1 | CH3 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-3-3-5.08_1x03_P5.08mm_Horizontal | J10 |
| 1 | CH3 | LED_SMD:LED_0805_2012Metric | D5 |
| 1 | CH4 | TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-3-3-5.08_1x03_P5.08mm_Horizontal | J11 |
| 1 | CH4 | LED_SMD:LED_0805_2012Metric | D6 |
| 1 | ESP32-WROOM-32D | RF_Module:ESP32-WROOM-32 | U1 |
| 1 | FM24C64C | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U3 |
| 1 | Floating Ground | Connector_Wire:SolderWirePad_1x01_SMD_5x10mm | TP1 |
| 1 | GND | TestPoint:TestPoint_Pad_D1.0mm | TP3 |
| 1 | GPIO | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J7 |
| 1 | Housing | Voltlog:Bernic_BE4969842011 | N1 |
| 1 | I2C | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J4 |
| 1 | NCP1117-3.3_SOT223 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U2 |
| 1 | POWER | LED_SMD:LED_0805_2012Metric | D2 |
| 1 | SMBJ6.0A | Diode_SMD:D_SMB | D1 |
| 1 | TAS5-5-W | Voltlog:TDPOWER-TAS5 | PS1 |
| 1 | TH1 | TerminalBlock_RND:TerminalBlock_RND_205-00233_1x03_P5.08mm_Horizontal | J3 |
| 1 | TH2 | TerminalBlock_RND:TerminalBlock_RND_205-00233_1x03_P5.08mm_Horizontal | J2 |
| 1 | ULN2003AD | Package_SO:SO-16_3.9x9.9mm_P1.27mm | U4 |
| 1 | USER | Button_Switch_SMD:SW_SPST_PTS645 | SW1 |
| 1 | VOLTLOG_LOGO | Voltlog:voltlog_mask_5mm | V1 |
| 1 | VoltLink_target | Voltlog:VoltLink | J5 |
Questions
How big is the Voltlog ESP32 Relay Controller PCB?
It measures 122 × 86 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Voltlog ESP32 Relay Controller use?
68 parts, built around the ESP32-WROOM-32D, TAS5-5-W, ULN2003AD and SMBJ6.0A. 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 Voltlog ESP32 Relay Controller KiCad files?
From the voltlog/esp32-aquarium-controller repository on GitHub, at the commit this page was made from: the board is HW/Voltlog ESP32 Relay Controller.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Voltlog ESP32 Relay Controller design in my own project?
Its repository publishes it under the GPL-3.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 layers92 × 94.5 mm

- 2 layers65.5 × 57.8 mm

Ms auth breakout
google/makerspace-auth
Designs for our makerspace access control devices
41 parts68Apache-2.0 - 2 layers102 × 86 mm

PoppyIO
Rahix/Poppy-Logic-Controller
A budget PLC-like board for controlling 24V DC equipment.
255 parts24 - 4 layers100 × 65 mm

- 6 layers72 × 42.3 mm

- 2 layers94 × 72 mm

Thermostat
mbtown01/frosti
"Financially Reactive Open Source Thermostat Initiative" (FROSTI), a RaspberryPi-based hardware+software solution
65 parts2 - 2 layers79.7 × 80 mm

Mainboardv1.2
doobedoobedo/Huebner_Inverter
KiCAD port of https://github.com/jsphuebner/inverter-hardware mainboard V1.2
133 parts1 - 4 layers208.3 × 129.5 mm

MagicGame
mppmu/magic-game
MAGIC game "Catch the gamma!" for an exhibition on the MS Wissenschaft in 2023
169 partsGPL-3.0