Controlling Lights Through Radio Frequency !
by Xylit0l in Workshop > Lighting
5057 Views, 45 Favorites, 0 Comments
Controlling Lights Through Radio Frequency !
![2014-05-09_15-28-47.jpg](/proxy/?url=https://content.instructables.com/FUX/RCAF/HV0OTFLT/FUXRCAFHV0OTFLT.jpg&filename=2014-05-09_15-28-47.jpg)
![2014-05-10_19-20-01.jpg](/proxy/?url=https://content.instructables.com/FX1/YFK1/HV0OTGIV/FX1YFK1HV0OTGIV.jpg&filename=2014-05-10_19-20-01.jpg)
Introduction:
Hello, this is my first Instructable, we will see here how to control LEDs through radio frequency and Arduino.
Material needed:
1x - 4 Channels PT2264 Encode Keyfob & Reciver Modules PT2272-M4 PT2272-L4 PT2272-T4
1x - 12V battery for your Keyfob (MN21/8LR932/A23/V23GA/K23/K23A/LRV08PA/LRV08/R23A/3LR50/A23/E23A/GP23A)
3x - Relay (JZC-11F)
3x - Résistors (330 Ω)
3x - Transistors (BC548B)
3x - Diodes (1N4001 - 1A/50V)
1x - Arduino UNO R3
1x - DC 12V Power Supply
1x - LED Strip
1x - Breadboard or prototyping board (i would recommend you to use a breadboard at first for essay)
Schematic and Code
![Sans titre.PNG](/proxy/?url=https://content.instructables.com/FFX/VX2Y/HUYM3E52/FFXVX2YHUYM3E52.png&filename=Sans titre.PNG)
![2014-05-09_15-28-06.jpg](/proxy/?url=https://content.instructables.com/F6P/64ZG/HV0OTFLV/F6P64ZGHV0OTFLV.jpg&filename=2014-05-09_15-28-06.jpg)
![2014-05-09_15-29-19.jpg](/proxy/?url=https://content.instructables.com/FQK/HYDD/HV0OTFJQ/FQKHYDDHV0OTFJQ.jpg&filename=2014-05-09_15-29-19.jpg)
![2014-05-09_15-27-17.jpg](/proxy/?url=https://content.instructables.com/FQY/NEX0/HV0OTFN1/FQYNEX0HV0OTFN1.jpg&filename=2014-05-09_15-27-17.jpg)
![2014-05-09_15-29-52.jpg](/proxy/?url=https://content.instructables.com/FW0/42I4/HV0OTFHN/FW042I4HV0OTFHN.jpg&filename=2014-05-09_15-29-52.jpg)
![2014-05-10_16-08-25.jpg](/proxy/?url=https://content.instructables.com/F66/WEX0/HV0OTFFD/F66WEX0HV0OTFFD.jpg&filename=2014-05-10_16-08-25.jpg)
Tips and tricks:
- You can use your 12V DC power supply to power up your Arduino and the LEDs.
- Take attention to the sense of wiring for your diodes, transistors and LEDs.
- On the receiver, pin VT isn't used.
Arduino Pins configuration:
Pin 4 to receiver module
Pin 5 to receiver module
Pin 6 to receiver module
Pin 7 to receiver module
Pin 8 to relay 1
Pin 9 to relay 2
Pin 10 to relay 3
Get back on the schematic to understand where to connect.
Downloads
Final Result !
![2014-05-09_15-32-46.jpg](/proxy/?url=https://content.instructables.com/F7M/22BX/HV0OTFFE/F7M22BXHV0OTFFE.jpg&filename=2014-05-09_15-32-46.jpg)
![2014-05-09_15-31-21.jpg](/proxy/?url=https://content.instructables.com/FVF/GBU0/HV0OTFHL/FVFGBU0HV0OTFHL.jpg&filename=2014-05-09_15-31-21.jpg)
![2014-05-09_15-31-49.jpg](/proxy/?url=https://content.instructables.com/FRQ/73G0/HV0OTFFI/FRQ73G0HV0OTFFI.jpg&filename=2014-05-09_15-31-49.jpg)
![2014-05-09_15-32-18.jpg](/proxy/?url=https://content.instructables.com/FSC/EZ2O/HV0OTFFG/FSCEZ2OHV0OTFFG.jpg&filename=2014-05-09_15-32-18.jpg)
On the remote, 'A', 'B', 'C' buttons are used to power up the LEDs.
D button is used to stop lighting.
Hax and Fun !
Here we have 3 relay, an idea can be to get a traffic light and replace the PCB inside with your own to make a remote controlled traffic light.
In France, traffic light use 230V to work but the LED can be powered with 12V.
You just need to find a way to put your DC voltage to AC :)