Controlling Lights Through Radio Frequency !

by Xylit0l in Workshop > Lighting

5035 Views, 45 Favorites, 0 Comments

Controlling Lights Through Radio Frequency !

2014-05-09_15-28-47.jpg
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
2014-05-09_15-28-06.jpg
2014-05-09_15-29-19.jpg
2014-05-09_15-27-17.jpg
2014-05-09_15-29-52.jpg
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
2014-05-09_15-31-21.jpg
2014-05-09_15-31-49.jpg
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 :)