This is a custom made 2 channel AC dimmer addon which fits on the back of the Wireless sensor board .
The board can receive commands over uart with configurable transition speed per channel. It also has a 230VAC button input and a 230VAC power meter
Features:
- Onboard 1A 3.3v AC power supply
- Zero cross detection
- Two triac for 230VAC dimming with a total power of 4 amps (or 2*2 amps)
- Input for a 230VAC button
- 230VAC power meter
- Small formfactor, fits in electric wall boxes
Schematic
BOM
Ref | Qnty | Value | Footprint | Vendor (LCSC) |
---|---|---|---|---|
C1, | 1 | 1nF | Capacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolder | C152975 |
C2, | 1 | 10uF/10V | Capacitor_THT:CP_Radial_D4.0mm_P2.00mm | C191532 |
C7, | 1 | 0.1uf | Capacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolder | C128353 |
C8, | 1 | 100nF 450v | Capacitor_SMD:C_1206_3216Metric_Pad1.42x1.75mm_HandSolder | C106025 |
D1, | 1 | 1N4148 | Diode_SMD:D_SOD-123 | C184882 |
D2, | 1 | MB6S | Package_TO_SOT_SMD:TO-269AA | C83867 |
F1, | 1 | Glass fuse 10mm 4A | Resistor_THT:R_Axial_DIN0411_L9.9mm_D3.6mm_P12.70mm_Horizontal | C140492 |
J1, | 1 | Screw_Terminal_01x05 | TerminalBlock_RND:TerminalBlock_RND_205-00279_1x05_P5.00mm_Vertical | C163149 |
J1, | 1 | Screw_Terminal_01x05 | TerminalBlock_RND:TerminalBlock_RND_205-00279_1x05_P5.00mm_Vertical | C163148 |
J2, | 1 | Conn_01x02_Male ZMCT | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | - |
J3, | 1 | Conn_01x05_Male | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | - |
J4, | 1 | Conn_01x05_Male RIGHT | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | - |
J5, | 1 | Programm header | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | - |
Q1, Q2, | 2 | BT136-600D | Package_TO_SOT_THT:TO-220-3_Vertical | C130426 |
Q1, Q2, | 2 | TO-220 heatsink | TO-220 heatsink | C4650 |
Q5, | 1 | 2N3904 | Package_TO_SOT_SMD:SOT-23 | C18536 |
R1, R2, R16, R17, | 4 | 180 0.25W 200v | Resistor_SMD:R_1210_3225Metric_Pad1.42x2.65mm_HandSolder | C171148 |
R3, R4, R12, | 3 | 100 | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | - |
R5, | 1 | 4.7K | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C328399 |
R6, R7, | 2 | 220K 0.25W 200v | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C352118 |
R8, R11, R13, | 3 | 1K | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C95781 |
R9, | 1 | 22K | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | - |
R10, | 1 | 1K | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | C175514 |
R14, | 1 | 10K | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C103904 |
R15, | 1 | DNS | Resistor_SMD:R_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C103904 |
U1, | 1 | HLK-PM02 | Power_Supply:HLK-PM03 | |
U2, U3, | 2 | MOC3052 | Package_DIP:SMDIP-6_W7.62mm | C115471 |
U4, | 1 | 4N35 | Package_DIP:SMDIP-6_W7.62mm | C115444 |
U6, | 1 | ATTINY414-SSNR | Package_SO:SOIC-14_3.9x8.7mm_P1.27mm | C189365 |
U7, | 1 | H11AA1SM | Package_DIP:SMDIP-6_W7.62mm | C184383 |
Render
Assembled
Assembeled with 1 triac (lower height):
Issues
There are a few issues with the board:
- The wrong SOT-23 footprint is used. Due this, the transistor Q5 needs to be soldered upside down (This because pin 1 and 2 are flipped)
- R14 and R5 references are swapped on the PCB silkscreen.
- Due a fault in the schematic, the button input cannot work. To fix this, leg number 6 of U7 must be cut off and pad 5 and 6 should be soldered together.