Remote Controlled Bulb
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
- Arduino UNO(Any will do for this project)
- Light bulb holder
- Light bulb
- IR remote(I have used CR2025)
- IR receiver(I have used TSOP1838)
- single channel Relay module
- Power source for Arduino UNO(could be a powerbank or 5 or 12V charger)
- Jumper wires
Download Required Libraries!
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!
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)