Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vjaunet/QUADCOPTER_V2
A quadcopter project based on Raspberry Pi and Arduino
https://github.com/vjaunet/QUADCOPTER_V2
Last synced: 3 months ago
JSON representation
A quadcopter project based on Raspberry Pi and Arduino
- Host: GitHub
- URL: https://github.com/vjaunet/QUADCOPTER_V2
- Owner: vjaunet
- License: mit
- Created: 2014-09-17T18:13:52.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-02-09T02:47:38.000Z (almost 6 years ago)
- Last Synced: 2024-07-01T15:20:21.708Z (4 months ago)
- Language: C++
- Size: 5.64 MB
- Stars: 113
- Watchers: 26
- Forks: 40
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-arduino - QUADCOPTER_V2 - A quadcopter project based on Raspberry Pi and Arduino (Projects)
- awesome-arduino - QUADCOPTER_V2 - A quadcopter project based on Raspberry Pi and Arduino (Projects)
README
QUADCOPTER
==========A new version of the Quadcopter is available at: https://github.com/vjaunet/QUADCOPTER_V3
A quadcopter controller on a Raspberry PI
------------------------------------------This project is the development of a code to control a quadcopter
with a Raspberry Pi.Following the Quadcopter V1, I want to use a 4 cahnnel RC remote to have better
control on the drone. In fact, the tablet shows quite poor sensitivity that is
an handicap for good quality fligths.Therefore in theis version of the Quadcopter, the RPI will still hold the PID,
but a micorcontroller is used to interface the RC receiver and the ESCs. The Rpi
aks the microcontroller for RC commands and sends motor speed values through I2C.
An Arduino Micro has been chosen as microcontroller, for its compact size and
sufficient abilites for the job.The Raspberry PI hosts:
- PID controller
- Web interface to access the Camera (work in progress)
- Communication with the MPU6050 through I2C.
- Communication to Arduino Micro through SPIThis project is greatly inspired and using source code from :
- https://github.com/richardghirst/PiBits
for ServoBlaster that I use to control the ESCs and the MPU6050 Digital motion processing.- https://github.com/big5824/Picopter
for the Timing and the code structure- https://code.google.com/p/owenquad/
for the Android appMany thanks to these people.
Documentation
-------------Principles
![Princples Diagram](https://github.com/vjaunet/QUADCOPTER_V2/blob/master/principles.png "Principles Diagram")Usage
------When powered, the Quad is in a locked status so that the ESCs do not turn the
motor on. To unlock, simply put the RC sticks to the lower center angle. It can
be locked again by doing the same operation. This is handled by the Arduino
for more safety.Hardware
--------This projects includes :
- 4 brushless motors (TURNIGY 2204-14T 19g Outrunner)
- 4 Electronic Speed Controllers (Turnigy Multistar 20 Amp)
- 1 LiPo 3s 3700 mAh battery
- 1 sparkfun MPU6050 breakout board
- 1 QuadCopter frame
- 1 4 channels RC Remote + Receiver
- 1 arduino micro
- 1 logic level converterWiring
------MPU6050 -> RPI :
-VDD -> 3.3V
-GND -> GND
-SDA -> SDA
-SCL -> SCL
-VIO -> 3.3VArduino -> RPI :
-VCC -> 5V from external Regulator
-GND -> GND
-MISO -> Logic Level converter ->MISO
-MOSI -> Logic Level converter ->MOSI
-SCK -> Logic Level converter ->SCKESCs and RC Receiver on Arduino:
-Using PinChange interrupts
-Check in the arduino codePictures
--------![Picture of the quad](https://github.com/vjaunet/QUADCOPTER_V2/blob/master/IMG_20150903_201519408.jpg "Picture 1")
![Picture of the quad](https://github.com/vjaunet/QUADCOPTER_V2/blob/master/IMG_20150903_201539846.jpg "Picture 2")
![Picture of the quad](https://github.com/vjaunet/QUADCOPTER_V2/blob/master/IMG_20150903_201553147.jpg "Picture 3")
![Picture of the quad](https://github.com/vjaunet/QUADCOPTER_V2/blob/master/IMG_20150903_201612657.jpg "Picture 4")
![Picture of the quad](https://github.com/vjaunet/QUADCOPTER_V2/blob/master/IMG_20150903_201651320.jpg "Picture 5")