

FunHomeSwitch
DIY design of smart home hardware based on Home Assistant.
- Size
- 27.5 × 32 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 41
- Nets
- 50
- Pads
- 165
- Tracks, vias
- 200, 111
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 8.0 (file 20240108)
- Created
- 14 Nov 2024
- Updated
- 29 Jun 2025
Overview
FunHomeSwitch is an open-source printed circuit board by ZhiFun, from the ZhiFun/FunHome repository on GitHub, published under the MIT licence. It is a 2-layer board of 27.5 × 32 mm with 41 parts on 50 nets, routed with 200 tracks and 111 vias.
It is built around the ESP32-C3-MINI-1, TEMT6000X01 and IP5306, with the AO3400A among its other parts. Its parts include 14 resistors, 12 capacitors, 5 diodes, 4 connectors and 3 ICs. It belongs with the home automation and IoT boards and the ESP32 and RISC-V boards of this library.
Main components
4ESP32-C3-MINI-1
--40℃~+81℃ -89dBm 2.4GHz 350mA 3V~3.6V 82mA ESP32-C3 Chip On-board PCB Antenna UART - WiFi Modules ROHSRF CrazyWiFi ModulesTEMT6000X01
1206-40℃~+100℃ 1.05mm 2mm 3nA 4mm Light Intensity 1206 Ambient Light Sensors ROHSVishay IntertechnologyAmbient Light SensorsIP5306
ESOP-80℃~+70℃ 1 100uA 2.1A 3V 4.2V 4.65V~5.5V Charging IC、Protection IC I2C Lithium Battery ESOP-8 Battery Management ROHSINJOINICBattery ManagementAO3400A
SOT-23-55℃~+150℃ 1 N-channel 1.45V 1.4W 30V 48mΩ@2.5V 5.7A 50pF 630pF 75pF 7nC@10V N-Channel SOT-23 MOSFETs ROHSAlpha & Omega SemiconductorMOSFETs
README
README.mdFunHome
DIY design of smart home hardware based on Home Assistant. It will include a variety of DIY smart home hardware: smart lights, smart switches, various sensors, automation devices, etc., and will be continuously updated.
a. Provides CAD files for direct 3D printing.
b. Offers hardware design for PCB fabrication.
c. Provides YAML configuration code for configuring corresponding functions in ESPHome.
(for usage instructions, refer to:https://www.bilibili.com/video/BV14ryhYHEJK/?spm_id_from=333.999.0.0&vd_source=eef55077bd933049fd878e3b9b8782e2)
【1】 funHomeLight: A night light based on ESP32-C3 + WS2812 + DS18B20, capable of displaying multiple colors, various display effects, timed on/off, temperature protection, and other features.
【2】funHomeSensorTH: The funHomeSensorTH is based on the ESP32-C3 + DHT11 and integrates temperature and humidity data acquisition functionality, with configurable reporting frequency.
【3】funHomeSwitch: funHomeSwitch is composed of modules such as the ES32C3, SG90 servo, ambient light sensor, lithium battery, etc. It can be installed on a standard 86-type switch and used with Home Assistant for remote light control.
【4】funHomeFan: The funHomeFan is an intelligent small fan project based on the ESP32C3, which can be remotely controlled via a smartphone to adjust the fan speed with 3 adjustable levels.
【5】funHomePcController: The funHomePcController is based on the ESP32-C3 and allows one-click remote control of a computer’s power on/off, with support for low power consumption.
Parts
41| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 10k | Resistor_SMD:R_0402_1005Metric | R1, R2, R4, R5, R6, R8, R13, R14 |
| 6 | 22uF | Capacitor_SMD:C_1206_3216Metric | C6, C7, C8, C9, C11, C12 |
| 5 | LED | LED_SMD:LED_0603_1608Metric | D1, D2, D3, D4, D5 |
| 3 | 0.1uF | Capacitor_SMD:C_0402_1005Metric | C2, C3, C5 |
| 2 | 10uF | Capacitor_SMD:C_0402_1005Metric | C1, C4 |
| 2 | 1R | Resistor_SMD:R_0603_1608Metric | R11, R12 |
| 2 | 2K | Resistor_SMD:R_0402_1005Metric | R9, R10 |
| 1 | 100R | Resistor_SMD:R_0402_1005Metric | R7 |
| 1 | 10uF | Capacitor_SMD:C_0603_1608Metric | C10 |
| 1 | 150R | Resistor_SMD:R_0402_1005Metric | R3 |
| 1 | AO3400A | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | ASM1117-3.3V | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U1 |
| 1 | Conn_01x06_Pin | Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_Vertical | J1 |
| 1 | ESP32-C3-MINI-1 | PCM_Espressif:ESP32-C3-MINI-1 | U2 |
| 1 | IP5306 | IP5306:SOIC9P127_490X600X170L84X42T330X241N | U3 |
| 1 | L | Inductor_SMD:L_Chilisin_BMRA00050530 | L1 |
| 1 | TEMT6000X01 | digikey-footprints:Phototransistor_SMD_4x2mm_TEMT6000X01 | Q2 |
| 1 | USB_C_Receptacle_PowerOnly_6P | Connector_USB:USB_C_Receptacle_GCT_USB4125-xx-x_6P_TopMnt_Horizontal | J3 |
| 1 | ~ | Connector_PinHeader_2.00mm:PinHeader_1x03_P2.00mm_Vertical | J2 |
| 1 | ~ | Connector_PinHeader_2.00mm:PinHeader_1x02_P2.00mm_Vertical | J4 |
More from ZhiFun/FunHome
2- 2 layers60.8 × 53.4 mm

- 2 layers41 × 19 mm

Similar boards
- 2 layers97.7 × 29.9 mm

Line tracer v2
Anda2012/Open-line-tracer
ESP32-C3 Mini-1 + Massmore JET QTR-11D A fast and accurate MicroPython line follower using the ESP32-C3 Mini-1 and an 11-channel JET QTR-11D sensor.
38 partsMIT - 2 layers110 × 44 mm

- 6 layers65.3 × 57.8 mm

Layercam pro
offgridevices/offgrid-hardware
Open hardware from OffGrid Devices. One folder per board. CERN-OHL-S.
189 partsCERN-OHL-S-2.0 - 4 layers83 × 83 mm

Blinkekatze
TobleMiner/blinkekatze
Blinkekatze, a replacement PCB to turn cat themed night-lights into interactive light displays
134 parts34 - 2 layers43.6 × 43.6 mm

Pump controller
pdw-mb/esp32-recirc-pump-controller
ESP32 pump controller for Grundfos Comfort AutoAdapt recirculating hot water pump
34 parts17 - 2 layers50.8 × 50.8 mm

- 4 layers66.5 × 50.7 mm

- 4 layers70 × 45 mm

Mini dyno
EhlOps/mini-dyno
The mini dyno (dynamometer) is a tool created to measure the torque and power output of an engine or motor. The mechanical portion of the dyno functions as a water brake.
58 partsCERN-OHL-P-2.0
Questions
How big is the FunHomeSwitch PCB?
It measures 27.5 × 32 mm and has 2 copper layers, 1.6 mm thick.
What parts does the FunHomeSwitch use?
41 parts, built around the ESP32-C3-MINI-1, TEMT6000X01, IP5306 and AO3400A. 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 FunHomeSwitch KiCad files?
From the ZhiFun/FunHome repository on GitHub, at the commit this page was made from: the board is funHomeFan/electronics/funHomeSwitch-V1.0/funHomeSwitch.kicad_pcb and its schematic funHomeFan/electronics/funHomeSwitch-V1.0/funHomeSwitch.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the FunHomeSwitch design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).