Summary of Dimmer using ATTiny2313 microcontroller
Parts used in the Dimmer Project:
- Old remote control from a video recorder
- ATTiny2313 microcontroller
- Infrared signal receiver
- Light switch for manual channel control
- Motorized curtain components (non-functional)
Dimmer:
Schematic Source code
I made this project for Leo, a brother of mine. We had an old remote control of a video recorder laying around and he wanted some dimmers for all the lights in his house. I didn’t have much experience with programming microcontrollers at that time but I was willing to start something new.
The basic hardware was built within 2 weeks of spare time and I got the software working in one or 2 months more. After I thought the project was finished the requirements changed a few times and I was stupid enough to accept those changes as an extra challenge. One change was an extra light switch to turn one light channel on so you wouldn’t have to search for the remote control in the dark if you come home late.
And another was for the control of some motorized curtains. The curtains never worked properly but the light switch works. I also made a few basic errors in the design. I do far to much work in interrupt routines which make all the lights blink if the controller receives an infrared signal it wants to try to decode.
For more detail: Dimmer using ATTiny2313 microcontroller
- What was the primary goal of this project?
The goal was to create dimmers for all lights in the author's brother's house using an old video recorder remote. - How long did it take to build the basic hardware?
The basic hardware was built within 2 weeks of spare time. - How much time was needed for the software development?
The software took one or two months to get working. - What extra feature was added after the initial completion?
An extra light switch was added to turn on one light channel without needing the remote. - Did the motorized curtain control work properly?
No, the curtains never worked properly despite the design attempts. - What design error caused the lights to blink?
The author performed too much work in interrupt routines, causing lights to blink when decoding infrared signals. - Which microcontroller is used in this project?
The project uses the ATTiny2313 microcontroller.

