Thingiverse
IR Light Switch WITH SOURCE CODE!!
por JackMechem
2
Descargas
1
Likes
0
Makes
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 backsl
¿Has impreso este modelo? Inicia sesión y comparte tu make.
Inicia sesión para dejar un comentario
Iniciar sesiónAún no hay comentarios – ¡sé el primero!