Introduction: Building a Arduino Based Quadcopter
I am 16 year old boy and this is my first instructables.So,sorry for my mistakes and off course for my English as well.
In this instructables I will show you how to make a quadcopter based on multiwii firmware and Arduino.all required files are added below.
plzz vote me for contest thnx
Step 1: Gather Parts
for this instructables you will need some parts.
Arduino (328p)//I am using Arduino nano.
gyro(I am using 6050 as it has accelerometer as well)
pressure sensor(I am using bmp180)
magnetometer (I'm using hmc5883l)
escs(simonk firmware is good and cheap as well)
transmitter and receiver 6ch(I'm using fs-ct6b)
10" propellers x 4
450 quadcopter frame (or you can make your own)
Step 2: Flight Controller
it is not big task.
You just have to connect SDA of all sensors to A4,and SCL of all sensors to A5.and vcc and gnd to Arduino's vcc and gnd.
OUTPUT FOR RECIEVER
you can make your flight controller on perf board as I made
you can fabricate your own PCB.
Step 3: Programing Your Flight Controller
I'm using multiwii 2.4 quadcopter firmware.
download Arduino IDE if you don't have it right know from its original website.
now , download multiwii quadcopter firmware get it from GitHub.
open multiwii.ino file in Arduino IDE .
uncomment the type of quadcopter (in my case x type).
and add // before it
and uncomment #define 4000000l;
now change max throttle to 2000
and min throttle to 1064( if you are using simonk)
At last uncomment all sensors you used( for BMP 180 uncomment bmp085)
now choose your board .
and click upload it.
Step 4: Configuring Fight Controller
open the folder you have downloaded
and windows 32bit
at last click.exe file to launch GUI
now select the com port .
and click start
it will show reading from sensors
click calib acc to calibrate accelerometer(quadcopter should be on levelled surface)
and calib mag to calibrate you magnetometer.
you can further explore the GUI .
Step 5: Power Distribution Board
it is very simple to make just draw two rings on copper clad by marker and solder all +ve wires to one and -ve to another.
Step 6: Last But Not Least
connect your motors to flight controller as described in step 2
connect flight controller to receiver again described in step 2
connect battery to flight controller.
now your escs will start beeping.
now turn on your transmitter and arm your quad buy yaw stick move it down and take I to extreme right.
motor will start moving now .
Step 7: Troubleshooting
if it is not arming
check the minimum and maximum value goes by your transmitter ,it should be less than 1050 and greater than 1900).
if it is not flying properly
you must change its pid tuning.
thnx for reading my instructables
don't hesitate to put question just post them in comment.
plzz don't forget to vote me .
Participated in the
Microcontroller Contest 2017