29
CSE 477 Drone Defense Reece Beigh Peter Gagnon Jonah Nelson

CSE 477 Drone Defense

  • Upload
    sana

  • View
    18

  • Download
    0

Embed Size (px)

DESCRIPTION

CSE 477 Drone Defense. Reece Beigh Peter Gagnon Jonah Nelson. Investment Opportunity!. http:// www.youtube.com/watch?v=6i-nMWgBUp0. Unveiling and Demo. http://www.youtube.com/watch?v=sMXbHJMn2hI We’ll Demo Sections as we talk about the Ask questions! We want to answer them! . - PowerPoint PPT Presentation

Citation preview

Page 1: CSE 477 Drone Defense

CSE 477Drone DefenseReece BeighPeter GagnonJonah Nelson

Page 2: CSE 477 Drone Defense

Investment Opportunity!• http://www.youtube.com/watch?v=6i-nMWgBUp0

Page 3: CSE 477 Drone Defense

Unveiling and Demo

• http://www.youtube.com/watch?v=sMXbHJMn2hI• We’ll Demo Sections as we talk about the• Ask questions! We want to answer them!

Page 4: CSE 477 Drone Defense

High Level Hardware Diagram

Page 5: CSE 477 Drone Defense

NERF Gun

• Modified NERF Stampede• Removed Air restrictors for Power• Removed Excess plastic and batteries for weight

Page 6: CSE 477 Drone Defense

Firing Circuit• NERF Gun requires 12V @ 2A to fire

Page 7: CSE 477 Drone Defense

Servos• It’s been a grim quarter for servos…• Started with a pair of Futaba S3306• One died; limping by with an Hobbico CS-75

Page 8: CSE 477 Drone Defense

Arduino• Does low level control of Servos• Receives serial commands from Either the Controller, Beagle

Board, or PC (Processing)

Page 9: CSE 477 Drone Defense

Relay Arduino• Both the controller and Beagle board talk to the Arduino over

serial, but only 1 port available• Solution: 2nd Arduino as Serial to I2C relay

Page 10: CSE 477 Drone Defense

Serial Inverter• Beagle board does serial over RS232• RS232 is -5 to 5V logic. Who new?!• A simple inverter = lucky fix

Page 11: CSE 477 Drone Defense

Let’s See The D@mn Thing Shoot!

Page 12: CSE 477 Drone Defense

ControllerFeatures:• Voltage Regulator• 4 Momentary Switches• LED’s• Rotary LED Array• 2 Two-Axis Joysticks• Laird Long Range Wireless Radio• Arduino Mega

Discussion:

• What the switches do• Rotary LED• Expandability

• Serial Commands• Laird Radio• The Brains

Page 13: CSE 477 Drone Defense

Serial Commands

102351298 102351298

Commands

• Up • Right• Don’t Fire

Commands

• ?• ?• ?

5

4

30 1 2

9

8

6

7

Page 14: CSE 477 Drone Defense

Laird Radio• Three wire interface• TXD, RXD, and CTS

• Ascii Steam• Cast (char)

Page 15: CSE 477 Drone Defense

The Brains

Positive Negative

• I/O• Laird Interface• Serial Pins

• Very Sensitive1. Laird2. Serial Com3. LED DRead

Arduino Mega 2560

Page 16: CSE 477 Drone Defense

Computer Program• Processing• Capabilities

• Video Input• Serial Output

• Uses Current/Future • Backup Controller• Controlled Over Internet• Controlled over Laird Wireless

Page 17: CSE 477 Drone Defense

BeagleBoard, Ubuntu and OpenCV Libraries

Autonomous Vision Detection

Page 18: CSE 477 Drone Defense

BeagleBoard (Rev C4)

Specifications:• OMAP3530 (720 MHz)• 256MB NAND and 256MB

SDRAM• Boots from NAND, USB, or

SD card• Has USB, S-video, HDMI,

Stereo Audio in/out, J-TAG debugger and Serial-out

• Chosen by us for its high-speed processor and large amount of RAM for video processing

Page 19: CSE 477 Drone Defense
Page 20: CSE 477 Drone Defense
Page 21: CSE 477 Drone Defense

CV_Median blur

cvSmooth() using a median blur over a 25 x 25 square

Page 22: CSE 477 Drone Defense

CV_THRESHOLD

Graphical descriptor of CV_THRESHOLD functionality.

Binary Inverted works alone, but the truncation gets rid of a few more blobs.

Page 23: CSE 477 Drone Defense

Original Image CV_MEDIAN smooth

After Blobs detection

BaseImg

Mask

After Threshold Truncation

After Inverted Binary Threshold

Page 24: CSE 477 Drone Defense

Original Image CV_MEDIAN smooth

After Threshold Truncation

After Inverted Binary Threshold

After Blobs detection

BaseImg

Mask

Page 25: CSE 477 Drone Defense

Original ImageCV_MEDIAN smooth

After Blobs detection

BaseImg

Mask

After Threshold Truncation

After Inverted Binary Threshold

Page 26: CSE 477 Drone Defense

Stuff that went wrong / Difficulties

• Installing the blobs libraries from scratch• Trying to turn off the console• Problems with the X-loader and U-boot• Driver issues with the Logitech webcam• Serial I/O communication problems• cvBlobsLib all done in grayscale• Not being able to see the images from the beagleboard to debug

what it saw• Integrating all of the systems to work together

Page 27: CSE 477 Drone Defense

Recommendations / Future Work

• Implement further image detection requirements or co-requisites (not just color blobs, but an actual shape)

• Control the whole system from the beagleboard (and the servos with PWM from a PIC)

• Not use a beagleboard. (Not enough usable IO)

Page 28: CSE 477 Drone Defense

Thanks!• We got a lot of help! Thanks Everyone!• Dustin, Ross Serial Help, Beagle/ linux help• Tom Hardware help• Gabe Cohn PCB Help• Arvind Drone Modeling• Fran OpenCV, Serial, 3D Printing• Bing Chen, Sami Kunze Mech E Help• Prof Patel A lot of work and $ into

making this class happen

Page 29: CSE 477 Drone Defense

Questions?