Diy Arduino Flight Controller PDF
Diy Arduino Flight Controller PDF
Diy Arduino Flight Controller PDF
Table of Contents
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Step 6: Casing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Step 8: MULTIWII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
http://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/
Author:treyes4 author's website
Hello There! I'm Timothy, I'm 15 years old and I love biking, Rc, arduino ,gadget hacking and 3D designing. I got into RC when I was young and that's where
everything started, from my fisrt time soldering at 5 to designing and fabricating PCB's at 12 its been a long journey to learn all these but now I would like to
share all the things I've learned and hopefully learn something in return as I make my projects here on instructables. My guides here instructables will focus
on arduino,multirotors,Robots and some easy weekend projects.....ok lets just say anything that pops up in my mind but dont expect me to make coocking
guides......maybe :P
This Flight controller will have features like those of NAZA and APM the only difference here is the PID wherein you will need to be patient in getting your drone tuned. To
make tuning easier I included a Bluetooth module to ease the tuning step with out the use of your computer.
You Will learn how to fabricate PCB's! Always check your connection.
Because I'm board and I dont have time going to hobby shops and just to find that its out of stock. + I have dozens of these sensors, why not make your own right? there
is the excitement and rewarding feeling as you finish the project.Lastly you get to understand whats going on the flight controller.
Total cost?
I guess I'll cost this by the amount i've spent this week for this project only
2x Pinheaders 1$
TOTAL 12.38$
--------------------------------------
http://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/
Step 1: Parts and materials
As I started arduino 3 years ago I guess I've piled up some extra sensors such as the MPU6050 , BMP180, and the HMC5883L now getting frustrated of my old Flight
controller for my quadcopter I decided to make my own similar to those of MULTIWII "CRIUS SE"
An Arduino mini.... or something similar like mine from our local electronics shop exclusive on in the Philippines
1xBMP180 or 085
1x HMC5883L
_______________________________
Mini Drill
Ferric Chloride
Developer Solution
BABY OIL
http://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/
http://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/
Step 2: Understand the connection
Important pins to enable Sensor communication the I2C pins "A4 asSDA" and A5 as "SCL"
As you connect your sensors you will need to connect each pin to the same pin on the arduino mini
Example "Sensor SDA" to "ARduino SDA A4" ... then Sensor SCL to Arduino SCL
Easy right? Just remember All sensors must connect all of their SDA and SCL pins to the proper terminals on the arduino mini
______________________________________________________________________________________________
To enable Motors~
______________________________________________________________________________________________
THR D2
(ROLL) AIL D4
(PITCH) ELE D5
(YAW) RUD D6
AUX1 D7
______________________________________________________________________________________________
POWER~
UBEC is an efficient Voltage regulator that can handle more than 7805
http://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/
Step 3: Redesign the PCB if you'd like
Download the RaR file and open up your eagle CAD if you are using a Legit Arduino mini cuz you will need to redesign the connection
If you live in the Philippines and you have the same parts just like mine feel free to skip this step.
File Downloads
Prepare a container with developer powder ... 3 tsp developer 1cup tap water (agitate until the powder dissolved)
______________________________________________________________________________________________
Lets start!
1.Cut out the PCB layout and apply a small amount of baby oil and gently spread the fluid around the paper.next gently remove any excess baby oil by wiping it with any
cloth
2.Get your pre synthesized PCB 6x6cm, Remove the film and place the print side of the paper facing the green side of the PCB "that is important". Get your glass plate
and stack the PCB and paper in between.
5. Place the GLass plate with the PCB under the Florescent lamp and immediately turn on the time and the lamp..Turn the lamp of as your phone rings.
6. Remove the glass and the paper go to the sink and run the exposed PCB with running water make sure the oil is removed.
7. Get your container with the developer solution dip the whole PCB "Copper side facing you" and agitate untill the ink is removed
8. Rinse the PCB again with water to remove the developer solution on it
http://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/
9. Get your Container with Ferric Chloride and dip the PCB until unwanted copper is removed.
http://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/
File Downloads
http://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/
Step 6: Casing
Now printing a casing is highly suggested because your barometer sensor is sensitive to external factors like air and temperature.
1 Print a casing
2 Cut a small sponge and glue it near the Barometer sensor "do not glue the barometer sensor as is" apply hot glue on the sides only just to make the sponge act as a
filter.
To start initial testing connect your FC to your computer.... the Arduino mini should light up as well as the MPU 6050 after that its time download some stuff over the
internet.
1. Open the Multiwii.ino inside the Multiwii Folder once done go to the tabs within the arduino program and go to "config.h" this is where you will start
2. Scroll down and follow through from //#define QUADX to "#define QUADX only" removing the "//" uncomments the line
3. scroll down and uncomment #define MINTHROTTLE 1064 if you are using SimonK ESC and add // to the default setting which is #define MINTHROTTLE 1150 // (*)
(**)
7 sroll down I2C barometer and uncomment //#define BMP085 to #define BMP085
9. Once done Go to Arduino Tools on the upper left -> Board -> Duemilanove or UNO depends on your arduino MCU.
10. Tools and then set your port where the Flight controller is connected.
11. UPLOAD!
http://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/
Step 8: MULTIWII
Now that you are done uploading its time to use the Multiwii GUI
application.windows32 for Windows 64bit or 32bit do not use the application.windows64 since it is not working
Open MultiWiiConf.exe
1.select com port where the flight controller is connected and click on "start"
2. To make the dashboard move calibrate the Acc first by putting your FLight controller on a flat surface and hit the calibrate ACC leave it for 10 seconds or so and then
calibrate your Magnetometers, After clicking CALIB_MAG you are given 30 sec to rotate your Flight controller in all axis make sure it reaches 360 rotation.
3. Once done explore the GUI and proceed to the next step.
Position your Magnetometer somewhere on the frame wherein its not affected by the motors or battery.
For Bluetooth Programming replace the FTDI programmer with an HC 05 or HC 02 Bluetooth module Note that some BLuetooth modules need to be reconfigured to
115K baud for it to work
http://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/
http://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/
Step 10: Program your Drone with your phone!
Wireless programming~
Programming with a Wire sucks lets go to the next level which is a lot better
For apple devices try looking for some multiwii programs because I have no idea about apple~
This app is very useful, It eliminates all the drag of bringing a laptop and tuning it on the field and then testing the values all over and over again through a "cable and a
laptop" ..that sucks. So here I wish you a safe flight and have nice day!
BTW For me the hardest part to tune here is the barometer or ALT HOLD PID nonetheless everything can be search through Youtube and Google for PID tuning tips and
tutorials.
http://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/
http://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/
Step 11: Go FLY!
Fly safe guys dont fly your drones on streets or crowded areas, Tune your drone on an open area like a soccer field or something.
Related Instructables
2-Wheel Self
Debugging DIY Balancing Bike wheel 3D Printed Bluetooth/Gyroscope/Accelerometer
Guide of MWC Multipurpose Robot by using WS2811 LED Arduino controlled
Flight Controller Robot Arduino and effects with Quadricopter Lightball (with
MPU6050 (Sumobot, MPU6050 by Arduino by by individual
HMC5883L by Spybot, Ufactory balrog-k1n adjustable leds
AwesomeAwesomeness
ICStation Mazebot, in each side) by
Bluetooth...) by janth
treyes4
http://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/
Advertisements
Comments
3 comments Add Comment
I like it.
Rima
http://www.instructables.com/id/DIY-ARDUINO-FLIGHT-CONTROLLER/