

Dimmer
Configurable Home Controller
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 46
- Nets
- 53
- Pads
- 168
- Tracks, vias
- 0, 0
- Routed
- Not yet
- KiCad
- KiCad 4
- Created
- 11 Dec 2016
- Updated
- 20 Dec 2020
Overview
Dimmer is an open-source printed circuit board by clementleger, from the clementleger/chc repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board with 46 parts on 53 nets.
It is built around the MOC3021M. Its parts include 20 resistors, 8 connectors, 7 ICs, 6 transistors and 4 diodes. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Main components
1README
README.mdCHC
Configurable Home Controller is a home automation software in order to control relays, sensors, etc. It aims at beeing the low level interface between the server and the electric part of the installation. For that, it is connected through ethernet to the home network.
The board has a lot of IO such as:
-
Sensors:
- BME280
- BH1750
- DS18B20
-
GPIO:
- Microcontroller GPIO
- Shift register (74hc595)
- PCF8574 GPIO expander
-
Screen:
- ILI9341
- SSD1306
-
Buses:
- I2C
- SPI
- OneWire
- RS485
-
Ethernet:
- Wiznet W5100/5200, etc
The currently implemented protocol is MySensor and can be used other ethernet or serial.
Software
The software part uses JSON to describe the board.
### Requirements
In order to be able to build the software, you will need gcc4mbed. For that, use the following command:
$ cd sw/gcc4mbed $ ./linux_install
Then follow the instruction.
Build
To build chc, you will need to go into sw/src folder. Then execute make:
$ make
The system will generate binaries for Configured nucleo boards and for
To override the default config, use make CONFIG=config_name
Hardware
Pictures

Schematic and Board
The schematic and board layout was made using Kicad
Parts
46| Qty | Value | Footprint | References |
|---|---|---|---|
| 18 | 330 | Resistors_ThroughHole:Resistor_Horizontal_RM10mm | R3, R4, R5, R6, R7, R10, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20 +2 |
| 6 | MOC3021M | Housings_DIP:DIP-6__300 | U2, U3, U4, U5, U6, U7 |
| 6 | TRIAC_BTA | Power_Integrations:TO-220 | Q1, Q2, Q3, Q4, Q5, Q6 |
| 4 | D | Diodes_ThroughHole:Diode_DO-35_SOD27_Horizontal_RM10 | D1, D2, D3, D4 |
| 2 | 45K | Resistors_ThroughHole:Resistor_Horizontal_RM10mm | R1, R2 |
| 1 | 4N25 | Housings_DIP:DIP-6__300 | U1 |
| 1 | Arduino_Nano | w_conn_misc:arduino_nano_header | ARD1 |
| 1 | CONN_E5V | Pin_Headers:Pin_Header_Straight_1x02 | P8 |
| 1 | CONN_IN | Pin_Headers:Pin_Header_Straight_1x04 | P1 |
| 1 | CONN_OUT1 | w_con_screw:mors_4p | P2 |
| 1 | CONN_OUT2 | w_con_screw:mors_4p | P5 |
| 1 | CONN_OUT3 | w_con_screw:mors_4p | P6 |
| 1 | CONN_OUT4 | w_con_screw:mors_4p | P4 |
| 1 | CONN_OUT5 | w_con_screw:mors_4p | P3 |
| 1 | CONN_OUT6 | w_con_screw:mors_4p | P7 |
Questions
What parts does the Dimmer use?
46 parts, built around the MOC3021M. 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 KiCad files?
From the clementleger/chc repository on GitHub, at the commit this page was made from: the board is hw/dimmer/dimmer.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Dimmer 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).
More from clementleger/chc
1- 2 layers151 × 90.9 mm

Similar boards
- 2 layers39 × 83 mm

- 2 layers134.4 × 106.7 mm

Led controller
MbFredys/PCB-LEDs-Controller
LED-controller PCB design exercise focused on PWM control, power distribution, and hardware documentation.
42 parts6 - 2 layers64.3 × 63 mm

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 layers85.1 × 75.6 mm

- 2 layers

- 2 layers98.1 × 98.1 mm

- 2 layers95.9 × 129.5 mm

Solderin Station
kr4fty/DiySolderingStation
Diy Soldering Stations with Atmega (Arduino UNO). Firmware and hardware design included
73 parts3GPL-2.0 - 2 layers78.7 × 58.4 mm
