Turn LEDs On/Off Via Remote Control in a Model
by 7alasuleyman29 in Circuits > Arduino
173 Views, 2 Favorites, 0 Comments
Turn LEDs On/Off Via Remote Control in a Model
I made this system in orders to highlight different floors in my building model while presenting this architectural project in-front of the jury members at the architectural school , the light would make the life easier so you don’t have to point with your fingers at the space you want to talk about.
I use a simple Arduino code to lighten up my LEDs using a remote control. So I will show you here in this tutorial how to achieve the system step by step.
Supplies
1) IR Receiver Module Wireless Remote Control K set https://www.hepsiburada.com/robo-dunya-ir-alici-verici-kumanda-seti-ir-receiver-module-wireless-remote-control-k-p-HBCV00003Z3XIR?magaza=RoboD%C3%BCnya
2) Breadboard medium size https://www.hepsiburada.com/motorobit-orta-boy-breadboard--p-HBCV00000SRI53?magaza=Motorobit
3) Jumper cables male-male https://www.hepsiburada.com/elektronikport-jumper-kablo-erkek-erkek-20-cm-40-adet--p-HBCV00000FJDSO?magaza=Elektronikport
4) Jumper cables female-female https://www.hepsiburada.com/elektronikport-jumper-kablo-dii-dii-20-cm-40-adet--p-HBCV00000FJDSM?magaza=Elektronikport
5) Arduino uno R3 with USB cable https://www.hepsiburada.com/arduino-uno-r3-klon-smd-40-pin-header-usb-kablo--p-HBV00000F4SOL?magaza=Makerobit
6) Diffused Led Lights 5mm https://www.hepsiburada.com/elektromall-5mm-turuncu-diffused-led10-adet--p-HBCV00000QMD0B?magaza=ELEKTROMALL%20B%C4%B0L%C4%B0%C5%9E%C4%B0M
7) 9 volt battery https://www.hepsiburada.com/varta-superlife-9v-pil-shrink-ambalaj-p-HBCV00000NQ35F?magaza=%C3%87TNGRUP
8) Barrel jack cable suitable for Arduino https://www.hepsiburada.com/elektronikport-9-v-pil-basligi-barrel-jack-arduino-uyumlu--p-HBCV00000FJDR2?magaza=Elektronikport
Software:
Arduino IDE https://www.arduino.cc/en/software
Please follow the image to build the circuit.
Open the Arduino IDE software, start new sketch and copy paste this code.
Downloads
CONNECT your Arduino board to the laptop by the USB cable and click the uploading command in the software.
After uploading the code, you can disconnect from the laptop and connect the Arduino board to the battery.
Now you should be done. Turn the light on/off your LEDS via the remote control, according to the assigned buttons in the code.
You can install the lights in your models if you wish and arrange to hide the cables.