Skip to the content
PCBKitNew board
2 layers45 × 1 mmSmart plug, the printed circuit board in 3D

3D printed Smart Plug

Size
45 × 1 mm
Copper layers
2
Thickness
1.6 mm
Parts
25
Nets
21
Pads
178
Tracks, vias
157, 3
Pours
2
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
28 Dec 2018
Updated
17 Feb 2023

Overview

Smart plug is an open-source printed circuit board by thingler, from the thingler/smart-plug repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 45 × 1 mm with 25 parts on 21 nets, routed with 157 tracks and 3 vias.

It is built around the BTA316B-600E,118, STGD5NB120SZT4 and TPS560430X3FDBV, with the FODM3012 and ABS10A among its other parts. Its parts include 8 resistors, 7 capacitors, 4 ICs, 2 transistors and 1 diode. It belongs with the home automation and IoT boards and the ESP32 and RISC-V boards of this library.

Main components

5

README

README.md

Thingler Smart Plug

Thingler Smart Plug is a 3D printed smart plug based on the popular ESP32 micro controller. This device is using the Thingler ESP32-PICO Module.

Software has been written to either connect to the AWS IOT service or it can use the Matter connectrivity standard.

Thingler 3D Printed Smart Plug

Getting started

Requirements

Build

Disclamer

Thingler Smart Plug is provided for informational and educational purposes only. The creator of the project and its contributors are not responsible for any damages, injuries, or losses that may result from building, modifying, or using the smart plug. Users assume all risks associated with building and using the smart plug, and should take all necessary precautions to ensure their safety. By using the smart plug or any information provided in this project, users agree to hold harmless the creator and contributors of the project from any and all claims, damages, or expenses that may arise.

:warning: Warning: The Smart Plug is designed to work with high voltage AC power from the electrical outlet. This voltage can be dangerous and even deadly if not handled properly. Only experienced individuals with proper training and knowledge should attempt to build this smart plug. If you are not experienced or confident in your ability to work with high voltage electricity, do not attempt to build or use this device. Improper use or handling of the smart plug can result in serious injury or death. Always take appropriate safety measures and precautions when working with high voltage electricity.

:warning: Warning: The circuit does not provide galvanic isolation, which means that dangerous voltages from the AC power line can be present in the circuit. Do not attempt to connect any instruments or devices to the circuit while it is connected to the AC power line.

Components

The PCB can be ordered from any fabrication houses by providing the gerber files. Note that the copper weight should be 2 oz.

The following components has been used for Smart Plug:

RefQtyManufacturer Part NumberManufacturerDescriptionProduct Link
C1, C2, C3, C5, C65C1206C104M5RACTUKEMETMultilayer Ceramic Capacitors MLCC - SMD/SMT 50V 0.1uF X7R 1206 20%Mouser
C41TPSE477K010R0050KYOCERA AVXTantalum Capacitors - Solid SMD 10V 470uF 10% 2917 ESR= 50 mOhmMouser
C71C3216X7S0J336M160ACTDKMultilayer Ceramic Capacitors MLCC - SMD/SMT 1206 6.3V 33uF X7S 20% T: 1.6mmMouser
D11ABS10A-13Diodes IncorporatedBridge RectifierMouser
F110679H1000-01Bel FuseSurface Mount Fuse 1A 350 VAC 72 VCDMouser
J1-11ZHNLEurope Standard Plug Insert, can only be acquired in big quantities (or as samples)Alibaba
J1-21ZHNLAMD European German socket, can only be acquired in big quantities (or as samples)Zhnlen, Alibaba
L11ME3220-123KLCCoilcraftPower Inductors - SMD 12uH Unshld 10% 840mA 470mOhmsMouser
Q11STGD5NB120SZT4STMicroelectronicsIGBT Transistors N-Ch 1200 Volt 5 AmpMouser
Q21BTA316B-600E,118WeEn SemiconductorsTriacs Thyristor TRIAC 600V 150A 3-Pin (2+Tab)Mouser
R1, R22CR1206AFX-2003EASBournsThick Film Resistors - SMD ResA-AS 1206 200k 1% 250mW TC100Mouser
R3, R42KTR18EZPF5103ROHM SemiconductorThick Film Resistors - SMD 1206 510Kohm 1% High VoltageAEC-Q200Mouser
R51CRCW1206210RFKEAVishay / DaleThick Film Resistors - SMD 1/4watt 210ohms 1%Mouser
R61CRCW120680K6FKEAVishay / DaleThick Film Resistors - SMD 1/4watt 80.6Kohms 1%Mouser
R71CR1206-FX-1242ELFBournsThick Film Resistors - SMD 12.4K 1%Mouser
R81ERJ-8ENF1800VPanasonicThick Film Resistors 1206 180ohms 1% AEC-Q200Mouser
U11THINGLER-ESP32-PICOThinglerESP32 moduleGitHub
U21SR086SG-GMicrochip Technology / AtmelSwitching Voltage Regulators 3.3V Adjust Off-Line Switching RegulatorMouser
U31FODM3012R2V-NF098onsemi / FairchildTriac & SCR Output Optocouplers MFP, 250V Random Phase Triac OutputMouser
U41TPS560430X3FDBVRTexas InstrumentsVoltage Regulators - Switching Regulators SIMPLE SWITCHER 36-V, 600-mA Buck Regulator With High-Efficiency Sleep Mode 6-SOT-23 -40 to 125Mouser
Printing the 3D design

The smart plug case is designed to be printed without the need for any support material. We recommend using PETG filament as it is a strong and durable material suitable for this application. Please note that in addition to the printed case, you will also need the following components to assemble the smart plug:

  • 2 x M2 nuts
  • 2 x M2 * 8 screws

License

Released under GNU/GPL Version 3

Parts

25
QtyValueFootprintReferences
5100nCapacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolderC1, C2, C3, C5, C6
2200kResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR1, R2
2510kResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR3, R4
1113kResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR6
112.4kResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR7
1180Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR8
1210Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR5
133uCapacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolderC7
1470uCapacitor_Tantalum_SMD:CP_EIA-7343-15_Kemet-WC4
1ABS10Asmart-plug:ABS10AD1
1BTA316B-600Esmart-plug:to-263-2Q2
1FODM3012smart-plug:FODM3012U3
1Fuse 1Asmart-plug:fuse-2410F1
1ME3220 12usmart-plug:ME3220L1
1SR086Package_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.29x3mmU2
1STGD5NB120SZPackage_TO_SOT_SMD:TO-252-2Q1
1Screw_Terminal_01x04smart-plug:3d_power_connectorJ1
1THINGLER-ESP32-PICOsmart-plug:Thingler-esp32-verticalU1
1TPS560430X3FPackage_TO_SOT_SMD:SOT-23-6U4

Questions

How big is the Smart plug PCB?

It measures 45 × 1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Smart plug use?

25 parts, built around the BTA316B-600E,118, STGD5NB120SZT4, TPS560430X3FDBV and FODM3012. 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 Smart plug KiCad files?

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

Can I use the Smart plug 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 layers220 × 22 mmHorticulture LED, the printed circuit board in 3D

    Horticulture LED

    Horticulture-project/Horticulture-PCB

    Horticulture PCB's

    61 parts
  • 2 layers159.5 × 30 mmType f, the printed circuit board in 3D

    Type f

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    25 parts3kApache-2.0
  • 2 layers113.5 × 95.1 mmSweep high, the printed circuit board in 3D

    Sweep high

    davidphilipbarr/Sweep

    Sweep - a small promicro based keyboard inspired by the Ferris.

    25 parts2.1k
  • 2 layers58.4 × 114.3 mmPicoPedal, the printed circuit board in 3D

    PicoPedal

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    25 parts915
  • 2 layers54 × 15 mmXyp gpib, the printed circuit board in 3D

    Xyp gpib

    xyphro/UsbGpib

    Versatile, cheap and portable USB to GPIB converter (USBTMC class based)

    25 parts690MIT
  • 2 layers50 × 76 mmVoron 0, the printed circuit board in 3D

    Voron 0

    dennisss/dacha

    Monorepo for awesome tools/projects/libraries

    25 parts397Apache-2.0
  • 2 layers237.5 × 102.9 mmStorage, the printed circuit board in 3D

    Storage

    jes/scamp-cpu

    A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system.

    25 parts301Unlicense