Ir para conteรบdo
3DFinder
Log in

You're on 3DFinder

We search Thingiverse, MakerWorld, and Printables at once so you get the best of each.

Find more like this
3D model IR Light Switch WITH SOURCE CODE!! by JackMechem on Thingiverse

Description

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!!

Thingiverse

IR Light Switch WITH SOURCE CODE!!

1
Likes
0
Downloads
2
Collections
Tags
3d printer electronics light switch source code yay
License Creative Commons - Attribution - Non-Commercial - No Derivatives
Files (2)
LightSwitchMOUNT.stl 1.9 MB
LightSwitchSERVO.stl 132.5 KB
View on Thingiverse (opens in new tab)

Like this model? Create a free account to save your favorites and come back to them later.

Create account