Skip to the content
2 layers39 × 83 mmDimmer 2.0, the printed circuit board in 3D

This is all about my home build WiFi Dimmer

Size
39 × 83 mm
Copper layers
2
Thickness
1.6 mm
Parts
27
Nets
43
Pads
98
Tracks, vias
368, 13
Routed
Yes
KiCad
KiCad 5 (file 20171130)
Created
5 Jan 2019
Updated
23 Jan 2022

Overview

Dimmer 2.0 is an open-source printed circuit board by ageurtse, from the ageurtse/Wifi-Dimmer repository on GitHub. It is a 2-layer board of 39 × 83 mm with 27 parts on 43 nets, routed with 368 tracks and 13 vias.

It is built around the ATTINY85-20PU, ESP-12F and HLK-PM03, with the BTA16-600CW, MOC3021M and SFH620A-1 among its other parts. Its parts include 11 resistors, 5 ICs, 3 connectors, 1 diode and 1 switch. It belongs with the radio and wireless boards and the ESP8266 and AVR (ATmega, ATtiny) boards of this library.

Main components

6

README

README.md

Wifi Dimmer

!!!!! Please do not rebuild this device, in my case there was a serious issue with overheating !!!!!

This is all about my home build WiFi Dimmer Becaus of it's my first github project, the master is still in Beta. For me the project works, but there are a lot off things to change, so keep watching for any change.

11-3-2019, final version, the hard and software is ready to use. soon i wil post a youtube movie from live controlling a light.

3d view 1

This is version 2, in the past i build a differt version which is not exactly what i want. Version 2 is one which fit in a simpel housing.

There are 2 parts of the software, one for the ATTiny and one for the ESP8266 Both are posted here.

Word of Caution

Please be very carefull you are working with live voltage 230V, this voltage can realy harm you. By building the dimmer, i'm not responsible for any faults or what ever. I stoped development off this dimmer, on one night the triax was overheated. luckely i was at home to prevented real major damage.

ATtiny85 Software

The ATtiny85 software is for the soul purpose of dimming the light, there is a zerocross detction which is on interupt 0, the gate is on pin PB3. The communication with the main processor is done by softserial. The code is based on the forum post at arduino : https://forum.arduino.cc/index.php?topic=314773.0

ESP8266 software

The main software for the ESP12 module is build with arduino, the wifi and custom settings can be done with the great library from Hieromon https://github.com/Hieromon/AutoConnect After fist flash by serial, all next updates could be down by browser. find the IP-adres or host name and add /update to get to the update page. To alter wifi setting's and in the futher mqtt settings and i hope a lot more add /_ac

The file makes use of some thirth party library's which can be found here : AutoConnect : https://github.com/Hieromon/AutoConnect PageBuilder : https://github.com/Hieromon/PageBuilder ArduinoJson : https://arduinojson.org/ version 5

The hardware

For the main board there is a small mistake made with the Triac, there where 2 wires changes. A1 and A2 need to be turned. In a next updat of the print i will fix that, for now i just solderd 2 wires and cross connect them to te pcb.

Also the Fuse holder is to large, i bought a pcb fuse now it all fits well.

Parts

27
QtyValueFootprintReferences
610KResistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR1, R2, R3, R4, R5, R8
247K/1WResistor_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P5.08mm_VerticalR9, R10
2JumperConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJPFlash1, Reset1
11K/1WResistor_THT:R_Axial_DIN0414_L11.9mm_D4.5mm_P5.08mm_VerticalR6
11K5Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR11
11N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1
12N3904Package_TO_SOT_THT:TO-92_InlineT2
1470Resistor_SMD:R_1206_3216Metric_Pad1.42x1.75mm_HandSolderR7
1ATtiny85-20PUPackage_DIP:DIP-8_W7.62mmIC2
1BTA16-600CPackage_TO_SOT_THT:TO-220-3_VerticalT1
1ESP-12FRF_Module:ESP-12EIC1
1FuseFuse:Fuseholder_Cylinder-5x20mm_Stelvio-Kontek_PTF78_Horizontal_OpenF1
1HLK-PM03Power_Supply:HLK-PM03U1
1MOC3021MPackage_DIP:DIP-6_W7.62mmIC4
1NetTerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-2-5.0-H_1x02_P5.00mm_HorizontalCon2
1SFH620A-1Package_DIP:DIP-4_W7.62mmIC3
1SerialConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalCon1
1TIANBO-HJR-4102-LRelay_THT:Relay_SPDT_HJR-4102K1
1VaristorVaristor:RV_Disc_D12mm_W4.8mm_P7.5mmRV1
1outTerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-2-5.0-H_1x02_P5.00mm_HorizontalCon3

Similar boards

  • 2 layers64.3 × 63 mmTriac AC Dimmer 1P, the printed circuit board in 3D

    Triac AC Dimmer 1P

    Eninspace/triac

    This project is based on esp8266 and TRIAC for control power via remote control.

    28 parts5GPL-3.0
  • 2 layers80 × 100 mmReflow oven, the printed circuit board in 3D

    Reflow oven

    gratinDeTopinambour/Reflow_Soldering_DIY

    reflow soldering module to pilote small furnace

    52 parts1
  • 4 layers62.5 × 69 mmSmart thermostate, the printed circuit board in 3D

    Smart thermostate

    attarkousar/Thermostate_PCB

    This project is a thermostat control system based on the STM32F405RGTx microcontroller. It includes schematic design and PCB layout created using KiCad 8, intended for manufacturing with a 2-layer JLCPCB template.

    69 parts
  • 2 layers34.3 × 32.9 mmMcu sensor firmware studies, the printed circuit board in 3D

    Mcu sensor firmware studies

    AssaadMH/mcu-sensor-firmware-studies

    A set of small but complete embedded programs — PIC instrumentation with LCD readout, and an NFC tag reader.

    7 parts1MIT
  • 2 layers59 × 67 mmNew dimmer, the printed circuit board in 3D

    New dimmer

    harshverma27/IoT-AC-Dimmer

    ESP32-based wireless phase-angle AC dimmer. Two PCBs linked over ESP-NOW: a mains-side dimmer board that switches a TRIAC, and a battery-powered remote with three buttons.

    19 parts
  • 2 layers87 × 87 mmEsp thermostat, the printed circuit board in 3D

    Esp thermostat

    tomikaa87/esp-thermostat

    Smart WiFi thermostat based on the well-known ESP8266 SoC.

    59 parts7GPL-3.0
  • 2 layers51.9 × 52 mmPilot Wire v1, the printed circuit board in 3D

    Pilot Wire v1

    xbeaudouin/fil-pilot

    Fil Pilot for Home Assistant with MQTT

    20 parts4AGPL-3.0

Questions

How big is the Dimmer 2.0 PCB?

It measures 39 × 83 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Dimmer 2.0 use?

27 parts, built around the ATTINY85-20PU, ESP-12F, HLK-PM03 and BTA16-600CW. 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 Dimmer 2.0 KiCad files?

From the ageurtse/Wifi-Dimmer repository on GitHub, at the commit this page was made from: the board is Kicad files/Dimmer 2.0.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Dimmer 2.0 design in my own project?

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