The LeapCopter ! (Leap motion to control Quad copter )
The LeapCopter ! (Leap motion to control Quad copter )
Hello everyone! This is my first instructable hope you'll enjoy it. What I did in this project was taking the Leap Motion platform and used it to control a quad copter with nothing but hand gestures! Using digital to analog converters and the arduino uno we made the Syma X1 quad copter's remote control to recieve its commands from the leap motion sensor. Parts you will need: 1. Leap Motion - 80$ 2. Syma X1 - 40$ 3. Arduino Uno - 30$ 4. 3x D2A mcp4725 - 5$ 5. BS170 Transistor - 2$ 6. R10K Resistor - 1$ 7. 2x R2.5K Resistor - 1$
Leap Motion you can get over here:
http://www.anrdoezrs.net/click-7389900-11514579 -------------------------------------------------- Tools you will need: 1. Soldering iron and some solder 2. Desoldering wick 3. Wires 4. Screwdriver 5. Magnifying glass 6. Dremel You can see the result over here: http://www.youtube.com/watch?v=RyIa_Ef23Bw and here: I would like to thank my friends Moshe and Tomer that helped me a lot in this project

Step 1: Step 1 Syma X1 Remote Control:

The LeapCopter ! (Leap motion to control Quad copter )
The LeapCopter ! (Leap motion to control Quad copter )
The LeapCopter ! (Leap motion to control Quad copter )
The LeapCopter ! (Leap motion to control Quad copter )
The LeapCopter ! (Leap motion to control Quad copter )
1. Disassemble the remote control and take off all the plastic parts leaving only the remote's board with the small LCD still attached. I left the same battery holder box and just extended the wires and cut all the excess plastic with a dremel. 2. With a soldering iron and a solder wick, carefully take out the two potentiometers, you can also desolder and take out the annoying buzzer. 3. Once you take out the left potentiometer there are 2 things you need to do -

First you have to add two 2.5K resistors as shown in the circuit picture.

Next thing you have to do is to short three points as shown in the picture. 4. On the left potentiometer, once you remove it you need to short four points as shown in the picture.

Step 2: Step 2 Digital To Analog Cards:

The LeapCopter ! (Leap motion to control Quad copter )
The LeapCopter ! (Leap motion to control Quad copter )
The LeapCopter ! (Leap motion to control Quad copter )
1. Connect the VCC output from each of the 3 A/Ds (analog-to-digital converter) together to the arduino's 3V3 input (The RED wires on the circuit picture)
2. Connect the SDA output from each of the 3 A/Ds together to the arduino's analog 4 input (The GREEN wires on the circuit picture) 3. Connect the CSL output from each of the 3 A/Ds together to the arduino's analog 5 input (The BLUE wires on the circuit picture) 4. Connect the ANALOG output from each of the 3 A/Ds and choose one for the throttle, one for the roll, and one for the pitch. (The light blue wires on the circuit picture) 5. Connect the GND output from each of the 3 A/Ds together to the arduino's GND input (The BLACK wires on the circuit picture) 6. Connect a wire to the lower left pin in each of the main chips in the 3 A/Ds and using a magnifying glass:
in the throttle A/D connect the wire to the arduino's digital 8 (The brown wires on the circuit picture) in the roll A/D connect the wire to the arduino's digital 10 (The brown wires on the circuit picture) in the pitch A/D connect the wire to the arduino's digital 12 (The brown wires on the circuit picture)

Step 3: Step 3 Flip Button:

The LeapCopter ! (Leap motion to control Quad copter )
The LeapCopter ! (Leap motion to control Quad copter )
The LeapCopter ! (Leap motion to control Quad copter )
1. Connect the BS170's Source pin to the arduino's GND (The black wire on the circuit picture) 2. Connect the BS170's Drain pin to the push button's upper left pin (The yellow wire on the circuit picture) 3. Connect the BS170's Grille pin to the arduino's DIGITAL 5 (The orange wire on the circuit picture) 4. Connect the 10K resistor to short the GND wire and the grille wire.

Step 4: The Code (C# + ardunio)

You can find all necessary code files in this link:
https://drive.google.com/folderview?id=0Bw0DWKT9vijdbm9aUG00Y0pRQWs&usp=sharing
(I used google drive to upload it). If you don't care about the code and want to use it as is just download the file "LeapDino.exe" Please make sure you've got all your Leap motion drivers properly installed and it will work!

For more deep understanding I used 123D to make the circuit in this link you can find the project
I made alone the schematic for the remote control and the MCP4725 D2A, 123D GUI is very simple and very helpful !
if you have any questions or problems you are more than welcome to leave me a comment so I can help
GOOD LUCK!
 
 

Tag cloud

make build easy simple arduino making homemade solar laser printed portable cheap mini building custom cardboard wooden create super lego turn paracord chocolate your paper light intel