Drone Using Leap Motion


Life In Motion

“Here we make use of the leap motion technology with which we can easily control quadcopter using hand gestures that reduces the burden of using a remote”

 QUADCOPTER:

Quadcopter is a lightweight flying device that can be used for examining areas that would otherwise be hard to reach for a human. Many quadcopters are equipped with tools such as a GPS and automatically leveling cameras.

Picture1

WHAT IS LEAP MOTION?

Leap Motion, Inc. is an American company that manufactures and markets a computer hardware sensor device that supports hand and finger motions as input, analogous to a mouse, but requires no hand contact or touching.


Picture6The Leap Motion controller is a small USB peripheral device which is designed to be placed on a physical desktop, facing upward. Using two monochromatic IR cameras and three infrared LEDs, the device observes a roughly hemispherical area, to a distance of about 1 meter. The LEDs generate pattern-less IR light[25] and the cameras generate almost 200 frames per second of reflected data.[26] This is then sent through a USB cable to the host computer, where it is analyzed by the Leap Motion software using “complex maths”
Picture4

HARDWARE REQUIREMENTS

  • Leap Motion Controller
  • Arduino
  • Quadcopter
  • D2A mcp4725
  • Remote Controller

SOFTWARE REQUIREMENTS

  • Java
  • Arduino programming

Other parts you will need:

 1. R10K Resistor
2. 2x R2.5K Resistor
Tools you will need:
1. Soldering iron and some solder
2. Desoldering wick
3. Wires
4. Screwdriver
5. Magnifying glass
6. Dremel

Step 1: Remote Controller:

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: Digital to Analog Cards:

1. Connect the VCC output from each of the 3 A/Ds (analog-to-digital converter) together to the arduino’s 3V3 input
2. Connect the SDA output from each of the 3 A/Ds together to the arduino’s analog 4 input
3. Connect the CSL output from each of the 3 A/Ds together to the arduino’s analog 5 input
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.
5. Connect the GND output from each of the 3 A/Ds together to the arduino’s GND input
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
        in the roll A/D connect the wire to the arduino’s digital 10
        in the pitch A/D connect the wire to the arduino’s digital 12

Step 3: Flip Button:

1. Connect the BS170’s Source pin to the arduino’s GND
2. Connect the BS170’s Drain pin to the push button’s upper left pin
3. Connect the BS170’s Grille pin to the arduino’s DIGITAL 5
4. Connect the 10K resistor to short the GND wire and the grille wire.

Step 4:Code

You can find the code here:

https://drive.google.com/drive/folders/0B2-acPzLhGIqZXBIV2dLRmlXOGs

If you dont  require the code then just run “LeapDino.exe”

Hope you understood 🙂

 

 

CONTROL FLOW DIAGRAM:

Picture10

Real World Applications:

  • Shipping/ DeliveryPicture11
  • Disaster Management
  • Search and Rescue/ Healthcare
  • Geographic Mapping
  • Wildlife Monitoring/Pooching 
  • Law-Enforcement and border patrol
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s