Remote controlled LED lighting effects
LED’s have become most important component in lighting industry due to its miniature size and less power consumption. Also LED lights are lot more attractive than the primitive lights used once. This project focused on building an remote controlled LED with multiple lighting effects. Imagine setting the mood of your room using remote, will be cool isn’t it.
DESIGN OF RECEIVER AND CONTROLLER:
The receiver and Controller part comes with TSOP1738, a receiver capable of receiving IR beam of 38Khz which is the operating frequency of a normal household remote. This receiver acts as an activator for the controller connected to it. PIC12F1822, a 8 pin low end microcontroller is deployed as a controller in this project. Other low end microcontrollers can also be used for this purpose.
The Microcontroller cannot produce enough current to drive a large set of transistors. So we are using a Transistors as a driver element in this circuit, RA2 pin from the controller feeds the signal to the base of these transistors. The reason for using two individual transistors is to create attractive effect when driven by a pulse from the Microcontroller. When the Pulse from MCU is Logic 1 Q1 will activate the LED’s connected to it, when it was logic 0 Q2 will activate all the LED’s connected to it.
TSOP1738 is a simple IR receiver capable of receiving IR pulses of frequency 38Khz. The output of this component is active low which means that this component gives low output when IR beam is incident on it and high output in the absence of IR beam. Refer the “Datasheet” for more information about this component.
METHODS TO IMPLEMENT MULTIPLE EFFECTS IN LED LIGHTS:
We are going to add effects using two methods in this project. You can choose the method you find it comfortable to use.
1) USING INBUILT PWM:
- #include <main.h>
- #bit TRIS_PIN1=0x8C.0
- #bit PIN1=0x0C.0
- void main()
- int16 i=0;
- setup_timer_2(T2_DIV_BY_16,255,1); //819 us overflow, 819 us interrupt
- else if((PIN1==0)&&(i>600))
For more detail: Remote controlled LED lighting effects
EasyEDA: Ideas for Circuit Design, Innovation for Electronics Access
Free Circuit Design: Schematic – Simulation – PCB Layout – Gerber Viewer
JLCPCB Prototype: Only $2 for 10pcs 10×10cm, 24 hours Quick Turn, DHL Delivery in 3 days