Skip to the content
PCBKitNew board
2 layers122 × 86 mmVoltlog ESP32 Relay Controller, the printed circuit board in 3D

Voltlog ESP32 Relay Controller

voltlog/esp32-aquarium-controller23

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

4

README

README.md

ESP32 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.

Image of the assembled PCB

Parts

68
QtyValueFootprintReferences
90.1uFCapacitor_SMD:C_0805_2012MetricC1, C2, C5, C6, C8, C9, C10, C12, C17
610uFCapacitor_SMD:C_0805_2012MetricC7, C11, C13, C14, C15, C16
44K7Resistor_SMD:R_0805_2012MetricR2, R3, R4, R5
4FINDER-36.11Relay_THT:Relay_SPDT_Finder_36.11K1, K2, K3, K4
4FuseFuse:Fuseholder_Cylinder-5x20mm_Stelvio-Kontek_PTF78_Horizontal_OpenF2, F3, F4, F5
3FiducialFiducial:Fiducial_0.5mm_Mask1mmFID1, FID2, FID3
210KResistor_SMD:R_0805_2012MetricR1, R6
11KResistor_SMD:R_0805_2012MetricR7
1220uFCapacitor_SMD:CP_Elec_8x10.5C4
122uFCapacitor_SMD:C_1206_3216MetricC3
1250V 0.5A (slow)Fuse:Fuseholder_Cylinder-5x20mm_Stelvio-Kontek_PTF78_Horizontal_OpenF1
1270RResistor_SMD:R_Array_Convex_4x0603RN1
1275VVaristor:RV_Disc_D12mm_W5mm_P7.5mmRV1
12KResistor_SMD:R_Array_Convex_4x0603RN3
13V3TestPoint:TestPoint_Pad_D1.0mmTP4
15VTestPoint:TestPoint_Pad_D1.0mmTP2
1AC_INTerminalBlock_RND:TerminalBlock_RND_205-00287_1x02_P5.08mm_HorizontalJ1
1ADCConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ6
1CH1LED_SMD:LED_0805_2012MetricD3
1CH1TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-3-3-5.08_1x03_P5.08mm_HorizontalJ8
1CH2LED_SMD:LED_0805_2012MetricD4
1CH2TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-3-3-5.08_1x03_P5.08mm_HorizontalJ9
1CH3TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-3-3-5.08_1x03_P5.08mm_HorizontalJ10
1CH3LED_SMD:LED_0805_2012MetricD5
1CH4TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-3-3-5.08_1x03_P5.08mm_HorizontalJ11
1CH4LED_SMD:LED_0805_2012MetricD6
1ESP32-WROOM-32DRF_Module:ESP32-WROOM-32U1
1FM24C64CPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU3
1Floating GroundConnector_Wire:SolderWirePad_1x01_SMD_5x10mmTP1
1GNDTestPoint:TestPoint_Pad_D1.0mmTP3
1GPIOConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ7
1HousingVoltlog:Bernic_BE4969842011N1
1I2CConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ4
1NCP1117-3.3_SOT223Package_TO_SOT_SMD:SOT-223-3_TabPin2U2
1POWERLED_SMD:LED_0805_2012MetricD2
1SMBJ6.0ADiode_SMD:D_SMBD1
1TAS5-5-WVoltlog:TDPOWER-TAS5PS1
1TH1TerminalBlock_RND:TerminalBlock_RND_205-00233_1x03_P5.08mm_HorizontalJ3
1TH2TerminalBlock_RND:TerminalBlock_RND_205-00233_1x03_P5.08mm_HorizontalJ2
1ULN2003ADPackage_SO:SO-16_3.9x9.9mm_P1.27mmU4
1USERButton_Switch_SMD:SW_SPST_PTS645SW1
1VOLTLOG_LOGOVoltlog:voltlog_mask_5mmV1
1VoltLink_targetVoltlog:VoltLinkJ5

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 mmPicoCNC, the printed circuit board in 3D

    PicoCNC

    phil-barrett/PicoCNC

    Raspberry Pi Pico based grblHAL Controller

    152 parts173
  • 2 layers65.5 × 57.8 mmMs auth breakout, the printed circuit board in 3D

    Ms auth breakout

    google/makerspace-auth

    Designs for our makerspace access control devices

    41 parts68Apache-2.0
  • 2 layers102 × 86 mmPoppyIO, the printed circuit board in 3D

    PoppyIO

    Rahix/Poppy-Logic-Controller

    A budget PLC-like board for controlling 24V DC equipment.

    255 parts24
  • 6 layers72 × 42.3 mmParis relay rev C, the printed circuit board in 3D

    Paris relay rev C

    grodansparadis/can4vscp-paris

    CAN4VSCP Paris relay module

    46 parts4
  • 2 layers94 × 72 mmThermostat, the printed circuit board in 3D

    Thermostat

    mbtown01/frosti

    "Financially Reactive Open Source Thermostat Initiative" (FROSTI), a RaspberryPi-based hardware+software solution

    65 parts2
  • 2 layers79.7 × 80 mmMainboardv1.2, the printed circuit board in 3D

    Mainboardv1.2

    doobedoobedo/Huebner_Inverter

    KiCAD port of https://github.com/jsphuebner/inverter-hardware mainboard V1.2

    133 parts1
  • 4 layers208.3 × 129.5 mmMagicGame, the printed circuit board in 3D

    MagicGame

    mppmu/magic-game

    MAGIC game "Catch the gamma!" for an exhibition on the MS Wissenschaft in 2023

    169 partsGPL-3.0