/Arduino_AC_Dimmer

An Arduino project and circuit made for dimming an input AC current using a triac, zero-crossing detector and an IR receiver.

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Arduino AC Dimmer

This project is based on this guide: https://circuitspedia.com/remote-control-ac-dimmer-arduino/
Check it out for extra information.

Photo

project

It's a mess, isn't it?

Schematic

rc_dimmer_arduino_esquemático

Far from being a good schematic, but it'll do.

Remote Button Layout

project_remote

There is dedicated MUTE button, but I decided to use the Info button for easier access.
Feel free to reprogram this project to use whatever remote you have. It can be easily done with the help of SimpleReceiver.

Components

1x 4N35 Optocoupler
1x MOC3201 Optotriac
1x BT136 Triac
1x 0.1nf 103J Capacitor
1x 1kΩ Resistor
1x 100Ω Resistor
5x 10kΩ Resistors
1x HS0038 IR Receiver
1x KBU180 Full-Bridge rectifier (for zero-crossing side. You might [DEFINITELY] want to get a smaller one instead of this)
1x Passive buzzer or speaker

Optionally, you can also add an LED between 5v and GND, with a 10k resistor in series, like I did. Just for the looks :)

Credits

(Library) IRRemote: https://github.com/Arduino-IRremote/Arduino-IRremote
(Library) TimerFreeTone: https://forum.arduino.cc/t/timerfreetone-library-v1-5-play-tones-without-timers-and-therefore-no-conflicts/229448
(Library) TimerOne: https://github.com/Arduino-IRremote/Arduino-IRremote/tree/master/examples/SimpleReceiver
(Original project) Arduino Remote Control AC Dimmer: https://circuitspedia.com/remote-control-ac-dimmer-arduino/
(Referenced) (SimpleReceiver): https://github.com/Arduino-IRremote/Arduino-IRremote/tree/master/examples/SimpleReceiver