Skip to the content
2 layersBathGuardian, the printed circuit board in 3D

An ESP32-powered monitoring & automation system for humidity, gas levels, temperature, and bathroom safety.

Copper layers
2
Thickness
1.6 mm
Parts
38
Nets
59
Pads
158
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 9.0 (file 20241229)
Created
16 Oct 2025
Updated
23 Nov 2025

Overview

BathGuardian is an open-source printed circuit board by lorinczstefanmihai, from the lorinczstefanmihai/BathGuardian repository on GitHub. It is a 2-layer board with 38 parts on 59 nets.

It is built around the ESP32-WROOM-32E, HLK-5M05 and AMS1117-3.3, with the TL1105BF100Q among its other parts. Its parts include 10 resistors, 9 capacitors, 5 connectors, 4 switches and 3 ICs. It belongs with the ESP32 boards of this library.

Main components

4

README

README.md

🛁 Bath Guardian – AWS IoT Edition ( THIS IS THE PROTOTYPE)

An ESP32-powered monitoring & automation system for humidity, gas levels, temperature, and bathroom safety.

Bath Guardian uses an ESP32 microcontroller, environmental sensors, and AWS IoT Core to provide real-time monitoring, automation, and remote control. The system can operate both locally (via its built-in web server) and through the cloud.

🚀 System Architecture Overview

ESP32 (AP/STA Mode) The ESP32 runs in dual AP/STA mode, allowing it to connect to your Wi-Fi network while also offering an access point for local setup or fallback access.

Image

🔧 Hardware Components

🌡️ Sensors

DHT11 – Temperature & humidity

MQ-series gas sensor – Detects gases/VOCs (steam, odors, poor air quality)

The ESP32 collects continuous sensor data and pushes it to the cloud.

🌈 RGB LED

Provides visual indicators for system status, warnings, or mode states.

🔌 Relay Outputs

Controls:

Ventilation fan

Lighting

Relays can be triggered automatically (based on sensor thresholds) or remotely via AWS IoT commands.

☁️ AWS Cloud Integration

Bath Guardian connects to the cloud using:

AWS IoT Core (MQTT)

The ESP32 publishes data to custom MQTT topics. Example topic used:

test_topic/esp32

Image

AWS IoT Core receives these messages for monitoring, automation, and further processing.

🖥️ Local Web Interface

The ESP32 also hosts a local HTTP web server, accessible over Wi-Fi.

Features:

Live sensor reading display

Local configuration

This allows full control even without internet.

Image

Parts

38
QtyValueFootprintReferences
50.1uFCapacitor_SMD:C_0805_2012MetricC2, C4, C5, C7, C9
310KResistor_SMD:R_0805_2012MetricR6, R9, R10
2100RResistor_SMD:R_0805_2012MetricR7, R8
210kResistor_SMD:R_0805_2012MetricR4, R5
21N4148Diode_SMD:Nexperia_CFP3_SOD-123WD1, D3
222uFCapacitor_SMD:C_0805_2012MetricC3, C6
22N7002Package_TO_SOT_SMD:SOT-23Q1, Q3
256RLED_SMD:LED_0805_2012MetricR2, R3
2SANYOU_SRD_Form_CRelay_THT:Relay_SPDT_SANYOU_SRD_Series_Form_CK1, K2
2Screw_TerminalMyCustomFootprintsLibrary:KF1282542PJ3, J5
2TL1105BF100QMyCustomFootprintsLibrary:TL1105BF100QS1, S2
1100nCapacitor_SMD:C_0805_2012MetricC1
11AFuse:Fuseholder_Cylinder-5x20mm_Stelvio-Kontek_PTF78_Horizontal_OpenF1
1470uFCapacitor_SMD:C_0805_2012MetricC8
156RResistor_SMD:R_0805_2012MetricR1
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U3
1Conn_01x03_MountingPinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2
1ESP32-WROOM-32ERF_Module:ESP32-WROOM-32EU1
1HLK-5M05Converter_ACDC:Converter_ACDC_Hi-Link_HLK-5MxxPS2
1LED_GKRBLED_THT:LED_D5.0mm-4_RGBD2
1MountingPin-UART-PROGConnector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ4
1SHT4xSensor_Humidity:Sensirion_DFN-4_1.5x1.5mm_P0.8mm_SHT4x_NoCentralPadU2
1Screw_Terminal_01x02MyCustomFootprintsLibrary:KF1282542PJ1

Similar boards

  • 4 layers100 × 80 mmPlc board, the printed circuit board in 3D

    Plc board

    denorath-sys/gridnet

    Open hardware powerline mesh communication terminal

    62 parts5CERN-OHL-W-2.0
  • 2 layers68.6 × 48.6 mmStm32 esp iot, the printed circuit board in 3D

    Stm32 esp iot

    Kikkiu17/espiot

    A small board built to measure current and voltage of any appliance.

    55 parts2
  • 2 layers160 × 110 mmPumpengruppe rs485, the printed circuit board in 3D

    Pumpengruppe rs485

    freezweb/de.freezweb.heizungssteuerung

    Dieses Verzeichnis enthaelt den KiCad-Startentwurf fuer die dezentrale Pumpengruppen-Platine:

    123 parts
  • 2 layers93.5 × 119.2 mmTakehomelab, the printed circuit board in 3D

    Takehomelab

    IsaacEmmanuelGudinoJacobo/TAKEHOMELAB_ESP32

    Plataforma de hardware educacional (Take-Home Lab) para el modelado y control PID de sistemas físicos. Diseño de PCB en KiCad para ESP32-S3, integrando control de motor DC, sensor de luz (LDR) y módulo de conmutación.

    34 parts
  • 2 layers164 × 126.7 mmEnergy management, the printed circuit board in 3D

    Energy management

    Lalith-8025/PCB_design_SOI_Assignment

    17 parts
  • 2 layers105 × 58 mmZAP-010A, the printed circuit board in 3D

    ZAP-010A

    lalithk06/Esp32_Smart_Plug

    Hardware reference design for an ESP32-S3 smart plug with mains power conversion, relay switching, RTC support, USB connectivity, and protection components.

    80 parts
  • 2 layers105 × 58 mmZAP-01A, the printed circuit board in 3D

    ZAP-01A

    ponrajleo/AI-Hardware-ESP32S3-

    This project is part of a complete open-source hardware design course on YouTube:

    103 parts

Questions

What parts does the BathGuardian use?

38 parts, built around the ESP32-WROOM-32E, HLK-5M05, AMS1117-3.3 and TL1105BF100Q. 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 BathGuardian KiCad files?

From the lorinczstefanmihai/BathGuardian repository on GitHub, at the commit this page was made from: the board is PCB_design/BathGuardian/BathGuardian.kicad_pcb and its schematic PCB_design/BathGuardian/BathGuardian.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the BathGuardian design in my own project?

Its repository states no licence, so its author keeps all rights: ask lorinczstefanmihai before reusing the design.