building a quadcopter - eindhoven university of technology · raspberry pi two raspberry pi's...

12
Building a quadcopter 5HC99 Group 3

Upload: others

Post on 05-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Building a quadcopter - Eindhoven University of Technology · Raspberry PI Two Raspberry PI's Communicate using ethernet Wlan for communication laptop USB to stm32f3

Building a quadcopter

5HC99Group 3

Page 2: Building a quadcopter - Eindhoven University of Technology · Raspberry PI Two Raspberry PI's Communicate using ethernet Wlan for communication laptop USB to stm32f3

Outline

● Hardware● Software● Tuning● Video● Demo

Page 3: Building a quadcopter - Eindhoven University of Technology · Raspberry PI Two Raspberry PI's Communicate using ethernet Wlan for communication laptop USB to stm32f3

Hardware

● Standard frame● Two Raspberry PI's● Two camera's● Barometer● Battery alarm

Page 4: Building a quadcopter - Eindhoven University of Technology · Raspberry PI Two Raspberry PI's Communicate using ethernet Wlan for communication laptop USB to stm32f3

Raspberry PI

● Two Raspberry PI's● Communicate using ethernet● Wlan for communication laptop● USB to stm32f3

Page 5: Building a quadcopter - Eindhoven University of Technology · Raspberry PI Two Raspberry PI's Communicate using ethernet Wlan for communication laptop USB to stm32f3

Connections

Page 6: Building a quadcopter - Eindhoven University of Technology · Raspberry PI Two Raspberry PI's Communicate using ethernet Wlan for communication laptop USB to stm32f3

Hardware problems

● Battery died– Leaving it for a month mostly fixed it

● Bad ESC– Thanks Emilio for a replacement

Page 7: Building a quadcopter - Eindhoven University of Technology · Raspberry PI Two Raspberry PI's Communicate using ethernet Wlan for communication laptop USB to stm32f3

Globalcontrol

● High level interface● Connect Raspberry PI

to STM32● Communicate using

UAVObjects● Containing data

and settings

Page 8: Building a quadcopter - Eindhoven University of Technology · Raspberry PI Two Raspberry PI's Communicate using ethernet Wlan for communication laptop USB to stm32f3

Globalcontrol applications

● Record video when armed– Other conditions also possible

● Attach barometer to Raspberry PI– I2C didn't work on STM32

– Raspberry PI sends the data to STM32

Page 9: Building a quadcopter - Eindhoven University of Technology · Raspberry PI Two Raspberry PI's Communicate using ethernet Wlan for communication laptop USB to stm32f3

Face detection

● Face detection using Raspberry PI camera● About 4 fps● Marker detection also possible● But not finished

Page 10: Building a quadcopter - Eindhoven University of Technology · Raspberry PI Two Raspberry PI's Communicate using ethernet Wlan for communication laptop USB to stm32f3

PID Tuning

● Took a lot of time!● Problems:

– Motors rotating in wrong direction

– Bad ESC

– Easy to break the frame in the process

● Lots of trial and error● Quite stable now :)

Page 11: Building a quadcopter - Eindhoven University of Technology · Raspberry PI Two Raspberry PI's Communicate using ethernet Wlan for communication laptop USB to stm32f3

Demo

Page 12: Building a quadcopter - Eindhoven University of Technology · Raspberry PI Two Raspberry PI's Communicate using ethernet Wlan for communication laptop USB to stm32f3

Questions?