Remote Controlled Bulb

by Prathamesh Varma in Circuits > Arduino

170 Views, 2 Favorites, 0 Comments

Remote Controlled Bulb

thumbnail.jpg
remote_light_control.GIF

Product: Remote controlled light bulb

Reason: To overcome the laziness of getting up and going till the switch board at night while reading book :)

Supplies

materials_reqd.jpg
  1. Arduino UNO(Any will do for this project)
  2. Light bulb holder
  3. Light bulb
  4. IR remote(I have used CR2025)
  5. IR receiver(I have used TSOP1838)
  6. single channel Relay module
  7. Power source for Arduino UNO(could be a powerbank or 5 or 12V charger)
  8. Jumper wires

Download Required Libraries!

Screenshot 2024-04-10 184825.png
Screenshot 2024-04-10 190234.png

To use an infrared remote, download the IRremote library in the Arduino IDE as shown in the image.


I found this online code file which has been attached herewith. It will allow you to receive your IR remote signals and will provide you with codes for each one of your remote button

Attach your IR receiver on pin 2 of the Arduino UNO for the code to work. After executing the code you will find your remote button codes on the serial monitor as you use them

Downloads

Make the Bulb Work on Remote!

Single-Channel-Relay-Module-Pinout.jpg
IMG_1040.jpg

Connect your relay module as shown in the above schematic.

Finally allow the attached code to run with proper connections in the circuit...and...,Voila! Your Light bulb now works on remote!(I have attached the relay on pin 13, so pin 13 is set to HIGH or LOW when the light bulb is to be used)

(You can change the code to use different buttons and/or button codes for the purpose of operating the light)

Downloads