Skip to the content
2 layers47 × 31.7 mmSmarthome1, the printed circuit board in 3D

It was working great but i hated to always manualy turn lights or fan extruder...

Size
47 × 31.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
19
Nets
29
Pads
60
Tracks, vias
70, 9
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
30 Oct 2026
Updated
31 Oct 2026

Overview

Smarthome1 is an open-source printed circuit board by samanbeer, from the samanbeer/bambulab_kinda_smart_light repository on GitHub. It is a 2-layer board of 47 × 31.7 mm with 19 parts on 29 nets, routed with 70 tracks and 9 vias.

It is built around the IRLZ44N. Its parts include 5 resistors, 4 connectors, 3 diodes, 2 transistors and 2 switches. It belongs with the ESP32 and RISC-V boards of this library.

Main components

1

README

README.md

Kinda Smart Box s

Hack Club Forge KiCad


Project Overview

  • What is it? Its small box, which lets you control external light strip and external extruder fan. (Or anything that runs on 5-24V DC)

  • Why does it exist? Coz my old setup with mechanical swithces was a total mess and with this I can control the light from mobile from google Home!

Why I Made This

This was my old box.

old setup Old setup

It was working great but i hated to always manualy turn lights or fan extruder...

So that why I creaed a small PCB for it, so it is not as messy as old setup, with ESP32-C3 and IRLZ44N mosfets that can control these peripherals. These are all the features:

  1. Very Smart: Its connected to internet and it could be controlled anywhere from the world with google home or ESP RainMaker app from Espressif
  2. Fuse: My printet can output maximum of 500mA so there is fuse pocket to protect printer if something bad happens.
  3. PWM: Mechanical switches could only turn it ON and OFF. With this I can control the Exact Brightness i need for light or speed of the fan.

Project Gallery

3D PCB Renders

Rendered PCB Top Rendered PCB Angled

3D Board Views

3D PCB Front 3D PCB Back

PCB Layout & Schematic

PCB Layout Schematic Diagram

3D Enclosure (Fusion 360)

3D printable case is made in Fusion 360. All CAD files are in the CAD/ folder.

Fusion 360 Case Render Front Fusion 360 Case Render Rear

Fusion 360 Case Internal Assembly Fusion 360 Internal PCB Placement

Fusion 360 Case Model View


Assembly Guide

Required Tools & Materials

  • Soldering iron
  • Some good solder wire
  • Solder flux
  • some good Tweezers for picking up these small Resisotrs and capacitors
  • 3D Printer (for printing case if you want

Assembly Steps

  1. Start with small components:
    • All resistors.
    • Just use tweeters and solder 1 pin, check if its correctly alligned and then solder the second :D (Some rezistors are at the bottom side of PCB - Dont forget about them)
  2. LED and DIODES:
    • Solder the red led but and make sure it has correct polarity.
    • Also solder the 2 1N4007 diodes vertiacaly and make sure th polarity is correct. Otherwise some bad things will happen :|
  3. Mosfets
    • Solder both mosfets (also with correct orientation ofcourse) and cut the legs under the board so they fit in case
  4. Final:
    • Place the PCB into the case. 5- DONE

Firmware & Software Setup

1. Arduino IDE Setup
  • Install the esp32 package by Espressif in Boards Manager.

  • Board: XIAO_ESP32C3

  • Partition Scheme: RainMaker 4MB (IMPORTANT)

  • USB CDC On Boot: Enabled

2. Flashing XIAO ESP32-C3

  • Connect XIAO ESP32-C3 to PC and select the correct COM port in arduino IDE.

  • Open Firmware/code/code.ino and click Upload.

  • The red LED turns ON (waiting for Wi-Fi connection).

3. Pairing & Google Home Integration

  • Open the ESP RainMaker app -> tap + Add Device -> BLE.

  • Select PROV_XIAO_SWITCH, enter PIN 12345678, and select your Wi-Fi in list.

  • The red LED turns OFF once connected; Bambu Light and Bambu Extruder Fan appear in the app.

  • In the Google Home app: go to Devices -> + Add -> Works with Google -> link your ESP RainMaker account.

Bill of Materials

ReferenceQtyValueFootprintlinkCost ($)
D1, D221N4007Diode_THT:D_DO-41_SOD81_P2.54mm_Vertical_AnodeUpTME.eu0,62 $
D31LEDLED_THT:LED_D3.0mmTME.eu0.11
J1, J22Screw_Terminal_01x02TerminalBlock_RND:TerminalBlock_RND_205-00001_1x02_P5.00mm_HorizontalTME.eu0.44
J31INPUT__DC_JACK_24VConnector that will be mounted to CASE and wired by wire to PCBTME.eu4.24
J41FUSE_500mAConnector that will be mounted to CASE and wired by wire to PCBTME.eu2.27
Q1, Q22IRLZ44NPackage_TO_SOT_THT:TO-220-3_VerticalTME.eu3.75
R1, R42100RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderTME.eu0.027
R2, R3210kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderTME.eu0.027
R611kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderTME.eu0.068
SW1, SW22SW_SPDTConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalTME.eu1.40
U11XIAO-ESP32-C3-SMDSeeed_Studio_XIAO_Series:XIAO-ESP32-C3-SMDTME.eu7.71
PCBjlcpcb.com9.45
Shipping TME7.76
TOTAL37.87

Btw you can import every components that is from TME directly to TME cart with this file: quick_order_TME.csv


How to Use

  1. Power: Connect 12-24V power supply do DC JACK and 5V UCBC
  2. Wifi: Wait a few second and it will automatically connect to wifi (after first setup)
  3. Use it :D now you can say: "Hey google, Turn on my light on printer."

Parts

19
QtyValueFootprintReferences
2100RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R4
210kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2, R3
21N4007Diode_THT:D_DO-41_SOD81_P2.54mm_Vertical_AnodeUpD1, D2
2IRLZ44NPackage_TO_SOT_THT:TO-220-3_VerticalQ1, Q2
2MountingHoleMountingHole:MountingHole_2.5mmH1, H2
2SW_SPDTConnector_PinSocket_2.54mm:PinSocket_1x03_P2.54mm_VerticalSW1, SW2
2Screw_Terminal_01x02TerminalBlock_RND:TerminalBlock_RND_205-00001_1x02_P5.00mm_HorizontalJ1, J2
11kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR6
1FUSE_500mAConnector_AMASS:AMASS_XT30U-F_1x02_P5.0mm_VerticalJ4
1INPUT__DC_JACK_24VConnector_AMASS:AMASS_XT30U-F_1x02_P5.0mm_VerticalJ3
1LEDLED_THT:LED_D3.0mmD3
1XIAO-ESP32-C3-SMDSeeed_Studio_XIAO_Series:XIAO-ESP32-C3-SMDU1

Similar boards

  • 2 layers304.8 × 170.8 mm00Key, the printed circuit board in 3D

    00Key

    ZeroZeroOne-dev/00Key

    00Key a 75% keyboard

    268 parts241GPL-3.0
  • 2 layers94 × 79 mm5 - Lizard Car, the printed circuit board in 3D

    5 - Lizard Car

    TRD-B/Lizard

    3D printed RC race car with custom electronics

    54 parts129CC-BY-4.0
  • 2 layersMorpheus kicad, the printed circuit board in 3D

    Morpheus kicad

    pscrespo/Morpheus-STM32

    A small 3D printer controller board for use with a "blue pill" STM32F1 generic board. Inspired on http://reprap.org/wiki/SinapTec

    66 parts80GPL-3.0
  • 2 layers157.5 × 97.8 mmEsp32PrinterController, the printed circuit board in 3D

    Esp32PrinterController

    MitchBradley/Esp32PrinterController

    PCB design for 3D printer controller using ESP32 processor

    101 parts16MIT
  • 2 layers99.1 × 99.1 mmFlipDotDriver, the printed circuit board in 3D

    FlipDotDriver

    bitluni/FlippyFlip

    49 parts14
  • 2 layers64.8 × 109.2 mmDmx ledstrip dimmer-32ch, the printed circuit board in 3D

    Dmx ledstrip dimmer-32ch

    robinolejnik/dmx-ledstrip-dimmer-32ch

    Arduino Mini and TLC5940 based 32 channel 12V PWM dimmer with DMX512 and RDM support.

    105 parts14MIT
  • 2 layers101.6 × 53.3 mmBatteryAnalyzer MkII, the printed circuit board in 3D

    BatteryAnalyzer MkII

    Moragor/BatteryAnalyzer_MkII

    Updated Version of the battery analyzer, now with constant current

    25 parts12MIT

Questions

How big is the Smarthome1 PCB?

It measures 47 × 31.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Smarthome1 use?

19 parts, built around the IRLZ44N. 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 Smarthome1 KiCad files?

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

Can I use the Smarthome1 design in my own project?

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