ir guns building instructions
DESCRIPTION
How to build IR guns. Howest project Quadrocopter (Tiii mechatronics Case 3)TRANSCRIPT
IR guns
Building instruc/ons
To make an IR gun we need a remote control and a toy gun
On the other hand we need a IR receiver and a Arduino breadboard
A=er installing the IR library for arduino and making the IR receiver work we push a bu@on on the remote control and look which bu@on we can receive. And we write down the code we receive (A81 in our case).
Remove the ba@eries of the remote control and open it.
Now we can see the breadboard. On one side we can see al the bu@ons.
On the other side we see some electronic components. The most important one is the IR LED which sends the signal.
Find the bu@on you were able to read with the IR receiver. Follow the path of that bu@on and find 2 points that are easy to solder.
Cut the housing of the remote control trough par/ally just under the bu@ons.
Now we can break the housing in 2 pieces.
Put the breadboard back in the housing.
Put the ba@eries back in the remote control
Turn the remote control around
Connect the 2 points you found with a wire and look if you receive the signal with your IR receiver.
If you receive the signal, solder a wire to each point. You can be@er do this with a precision solder tool.
Make sure the cable is long enough and tape it to the remote control so the point doesn’t get loose.
Repeat this for the second point.
Desolder the IR LED. Mind the polarity! Write it down or mark one of the legs of the IR LED so you know it.
Solder 2 wires to the connec/on points of the IR LED on the breadboard.
Here you can see the 2 wires soldered to the connec/on points.
Now take the toy gun and unscrew al screws.
Open the gun and take the part with the electronic components in it.
Make a small cut in the material so we have a gap to place the wires in.
Here we can see the 2 gaps for the wires
Loosen the motor that is posi/oned in the barrel of the gun.
Make a gap on the side of the barrel to place the wires of the IR LED.
Look where you are going to place the breadboard of the remote control.
Remove enough material so it is possible to place the breadboard of the remote control inside the gun. And mount the breadboard inside the gun.
Place the cable for the IR LED in the gap. Mind that the motor can spin without touching the wires
Place the cable of the IR LED in the gap between the barrel and the body of the gun.
Cut the cables to the appropriate length.
Glue 2 small switches together.
Take the trigger out.
Mark the points where we need to drill a hole for moun/ng the switches.
Take drill of 1mm diameter.
Drill the 2 holes you marked earlier.
Put a small amount of glue on the back side of the switches and put them in place.
Solder the 2 wires from the remote (bu@on) to the first switch.
Cut the wire that comes from the + pole and go’s to the breadboard inside the gun. solder the cables to the other switch.
Solder the switch that was already in the gun.
Fire the gun and see if everything works
Measure on which 2 connec/ons we have 3V because the remote control needs 3V.
Connect these 2 points with correct poles of the remote control.
Solder the IR LED to the cables.
Place the second half of the gun on top of the other half.
Put all screws in place and /ghten the screws.
Repeat this for the second weapon
Mark 1 of the guns so you know which weapon has which code.