IR Light Switch WITH SOURCE CODE!!

IR Light Switch WITH SOURCE CODE!!

thingiverse

There is a bracket that will fit on any light switch and an attachment. You will need a small screw to hold the attachment to the servo. You need a servo motor and an Arduino pro micro. Do not solder the header pins to the Arduino pro micro. I have left the code in the download. I have a diagram included. You need to go to the Arduino IDE and go to Tools>Serial Monitor. then point your remote at the IR sensor and press a button. you should see lines of numbers. There are going to be a bunch of numbers and letters. ignore the ones that are just a bunch of Fs. copy the code that isn't a bunch of fs. then exit the serial monitor and paste your first button code into the place that says //PASE YOUR NUMBER HERE. DO NOT DELETE 0x, IT WILL NOT WORK IF YOU DO SO ex: 0x61A0A45B. Then repeat the process to do the second button. I will soon make a video on how to do it. After you are done, Comment line 20 out the line that says Serial.begin(9600);. you can comment things out by putting two backslashes in front of the line (//). And there you go you can now control your light with your remote. To use the bracket just take the two screws off your light (They should be white) and just screw the bracket on!! If you like this project please give me a tip!!

Download Model from thingiverse

With this file you will be able to print IR Light Switch WITH SOURCE CODE!! with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on IR Light Switch WITH SOURCE CODE!!.