Vermes
Advanced Member level 4
It is a project of RTV remote control with function of learning the code of a button. The system can be used to control the diode lighting.
System was based on processor Atmega8 clocked by an external clock 8MHz. Program was written in Bascom and takes approximately 27%.
IR receiver is a typical TFMS5360, connected to port PD.2. Transistor IRLR014 connected to port PB.3 (OC2) controls the LEDs. Transistor can be directly controlled from microprocessor by 5V. Additional system mounted to the TV set detects turning on the TV and when it is dark in a room, switches on 12V power supply of LED remote control system.
Functions of the system:
- brightness control approximately 5-95%
- LED on/max on/off
- control via a single button of the remote control
- remote control programming
- remembering the current state of brightness after about 2 seconds (except 0 and 100%)
- when turned on, mild lighten up to the stored value
How to program:
After pressing and holding the button on the board, press the button on the remote control and wait until LEDs blink. Then the system is ready for work. Additionally, there are deletes between pressing the button for the next time, so there is no effect of double control by one pressing the button of remote control.
The PCB has additional ports derived for possible changes or new ideas, but it can be minimized as well.
Most important elements used:
- Atmega8
- TFMS
- IRLR
- LM78L05
Link to original thread (useful attachment) - Zdalne sterowanie pilotem RTV