Skip to the content
PCBKitNew board
2 layers56.3 × 55 mmHexa switch, the printed circuit board in 3D

This project is a custom-designed printed circuit board (PCB) for a Tasmota-compatible IoT device based on the ESP32 microcontroller. It allows switching of 6 loads, with each channel capable of handling up to 2 Amps.

Size
56.3 × 55 mm
Copper layers
2
Thickness
1.6 mm
Parts
49
Nets
50
Pads
156
Tracks, vias
286, 32
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
28 May 2025
Updated
28 May 2025

Overview

Hexa switch is an open-source printed circuit board by mmatthe, from the mmatthe/hexa-switch repository on GitHub. It is a 2-layer board of 56.3 × 55 mm with 49 parts on 50 nets, routed with 286 tracks and 32 vias.

It is built around the ESP32-WROOM-32, TSR 1-2433 and IRLML0030. Its parts include 13 diodes, 9 resistors, 6 transistors, 4 capacitors and 2 ICs. It belongs with the ESP32 boards of this library.

Main components

3

README

Readme.md

HexaSwitch - 6-Channel Switch for Tasmota

This project is a custom-designed printed circuit board (PCB) for a Tasmota-compatible IoT device based on the ESP32 microcontroller. It allows switching of 6 loads, with each channel capable of handling up to 2 Amps. The device contains a real-time clock such that the device can also run on an independent time base.

I use it for switching on and off 12V valves for watering plants in the garden. It can also be used to switch relays and contactors to switch larger powers.


Features

  • Link to Schematic and BOM
  • ESP32-based controller compatible with Tasmota firmware
  • 6 independent load switching channels (up to 2A per channel)
  • 3 digital inputs
  • Supports power input from 5V to 24V
  • Optional Real-Time Clock (RTC) connector (not required for operation)
  • Custom PCB designed using KiCad

Hardware Details

  • Power Supply: 5–24V DC input
  • Switching: 6 channels, each capable of switching loads up to 2A
  • Inputs: 3 digital inputs
  • Microcontroller: ESP32
  • Optional RTC interface for time-sensitive automation

Usage

  1. Assemble the PCB and connect loads to the output channels.
  2. Flash the ESP32 with Tasmota firmware.
  3. Power the device with a DC supply between 5V and 24V.
  4. Use Tasmota’s web interface or MQTT to control each channel independently.

License

This project is released under the MIT License.


Parts

49
QtyValueFootprintReferences
7270Resistor_SMD:R_0805_2012MetricR1, R2, R3, R4, R5, R6, R7
7LEDLED_SMD:LED_0805_2012MetricLED1, LED2, LED3, LED4, LED5, LED6, LED7
6Conn_01x02_PinConnector_JST:JST_XH_B2B-XH-AM_1x02_P2.50mm_VerticalCh1, Ch2, Ch3, Ch4, Ch5, Ch6
6DDiode_SMD:D_SOD-123D1, D2, D3, D4, D5, D6
6IRLML0030Package_TO_SOT_SMD:SOT-23Q1, Q2, Q3, Q4, Q5, Q6
3100nCapacitor_SMD:C_0805_2012MetricC2, C3, C4
3Conn_01x02_PinConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalBtn1, Btn2, Btn3
210kResistor_SMD:R_0805_2012MetricR8, R9
122uCapacitor_THT:CP_Radial_D5.0mm_P2.50mmC1
1Conn_01x05Connector_PinSocket_2.54mm:PinSocket_1x05_P2.54mm_VerticalRTC_DS1302
1ESP32-WROOM-32RF_Module:ESP32-WROOM-32U1
1IO0Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalBoot0
1Resetfootprints:Reichelt 9315Reset1
1ResetConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalReset2
1TSR_1-2433Converter_DCDC:Converter_DCDC_TRACO_TSR-1_THTU3
1UARTConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ1
1VinConnector_JST:JST_XH_B2B-XH-AM_1x02_P2.50mm_VerticalVin1

Questions

How big is the Hexa switch PCB?

It measures 56.3 × 55 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Hexa switch use?

49 parts, built around the ESP32-WROOM-32, TSR 1-2433 and IRLML0030. 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 Hexa switch KiCad files?

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

Can I use the Hexa switch design in my own project?

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

Similar boards

  • 2 layers58.4 × 44.4 mmTwilight, the printed circuit board in 3D

    Twilight

    harry48225/twilight

    An automated roller blind opener. Using an esp32 runing micropython.

    27 parts
  • 2 layers50 × 105 mmDot Matrix Terminal, the printed circuit board in 3D

    Dot Matrix Terminal

    f-zhuk/Dot-Matrix-Terminal

    Dot matrix printer driver board

    64 parts
  • 2 layers63.9 × 41.7 mmESP32-aqs, the printed circuit board in 3D

    ESP32-aqs

    JokerIsMyBae/AirQualityHoboken

    Applied IoT project voor luchtkwaliteitsmetingen in Hobokense Polder

    51 parts
  • 2 layers162 × 60 mmAir detector, the printed circuit board in 3D

    Air detector

    shm-dmitry/air-detector

    Air status sensor with hass integration and fan control

    132 partsApache-2.0
  • 2 layers43.5 × 37 mmSiedle bus, the printed circuit board in 3D

    Siedle bus

    angelnu/esphome

    Settings for esphome

    37 parts24Apache-2.0
  • 2 layers95.8 × 30.5 mmAngelnu esphome pcb power usb, the printed circuit board in 3D

    Angelnu esphome pcb power usb

    punkfab/pcb-corpus

    235 real KiCad boards from open-source hardware repositories, prepared as a placement and routing benchmark

    56 parts1
  • 4 layers97.5 × 52 mmMain module, the printed circuit board in 3D

    Main module

    shm-dmitry/auto_close_window

    This IOT project allows you to open and close your window from any smart house. For example - you can setup rules like a "If night and noise greater then expected -> close window" and "Noise reduced -> open window"

    121 parts1Apache-2.0
  • 2 layers33.7 × 66 mmSmartbell, the printed circuit board in 3D

    Smartbell

    Staacks/there.oughta.be

    Projects featured on my blog at https://there.oughta.be

    27 parts108GPL-3.0