Arduino drone - Part1 Flight Controller
Vložit
- čas přidán 18. 04. 2017
- Full Arduino based drone. The tutorial is divided in a few parts. In this video I build the flight controller using the Arduino NANO and the MPU6050 gyro//accelerometer. To program the flight controller I've used the multiwii platform. Wait for the next parts, the radio receiver/transmitter and the final drone build.
Help my projects on Patreon : / electronoobs
my Q&A page: electronoobs.com/eng_preguntas...
PRINTERS
-------------------------------------
Ender 3(167€): www.gearbest.com/3d-printers-...
SparkMaker SLA: www.gearbest.com/3d-printers-...
Crealitu CR10: www.gearbest.com/3d-printers-...
Coupon code: "11CR10EU" or "11CR10US"
ANET E10 (219$): www.gearbest.com/3d-printers-...
Coupon code: "Anete10us"
TEVO Tarantula (175$): www.gearbest.com/3d-printers-...
Coupon code: "Tarantulaus"
Creality CR10 MINI: www.gearbest.com/3d-printers-...
COUPON: CR10MINI
Anet A8: www.gearbest.com/3d-printers-...
Coupon code: "A8KIDA"
-----------------LINKS-------------------
Flight controller webpage: www.electronoobs.com/eng_robot...
Transmitter/receiver webpage: www.electronoobs.com/eng_robot...
Drone build webpage: www.electronoobs.com/eng_robot...
Full tutorial webpage: www.electronoobs.com/eng_robot...
Multiwii downlaod: www.electronoobs.com/eng_robot...
Full part list: www.electronoobs.com/eng_robot...
PID tutorial: www.electronoobs.com/eng_robot...
---------------MATERIAL---------------
Arduino NANO: www.ebay.com/itm/Nano-V3-0-Min...
MPU6050: www.ebay.com/itm/MPU-6050-6DOF...
Drilled PCB: www.ebay.com/itm/15Pcs-Baklite...
Male pins: www.ebay.com/itm/5-PCS-40-Pin-...
12A ESC: www.ebay.com/itm/1-x-Emax-12A-...
---------------SCHEMATICS-----------
Flight controller schematic: www.electronoobs.com/eng_robot...
--------------------CODE------------------
MPU6050 test: www.electronoobs.com/eng_robot...
Multiwii downlaod: www.electronoobs.com/eng_robot...
Like share and subscribe to motivate me. Thank you - Věda a technologie
I had tried to build a Arduino controlled quad a couple years ago, and I just got a 3d printer and I found your videos on this build. This will help allot in finally finishing this project. Thanks.
This is exactly what I'm looking for... Thank you so much
Nice ! a very detailed project ! with easy to get parts and all Arduino based, Great !
What an effort, amazing, you must be crazy mad over electronics, The amount of time and energy you have dedicated for electronics is immense , keep it up :)
Thank you very much!
thanks bro i work desprately to find this pid and now i find you i will smash the like button for you great jobs
God bless people like you that share their knowledge to the mortals around the world ! :D
Best video tutorial ever !
can i use these values with a 350 size drone with 1400kv motors?
im using a win10 x64 it seems the multiwii 2.3 or 2.4 gui is not responding
any ideas?
i am using an arduino uno + MPU6050
Thanx for this video...i would like to know about the coding used in the Arduino.....how it works and more.....i have a question...i have seen other videos....in those videos they have used a barometer also and said programming a barometer is a difficult task ...what do u want to say about it..?
hello - any idea why the MPU6050 orientation on multiwii is continuously changing randomly. On clicking start on multiwii, the quadcopter image on the screen rotates in all direction uncontrollably. is something wrong? how do i correct it?
Hi,
The motor says 'biggest thrust (g/s) - 1265/4' does that mean if I use 4 motor the total thrust generated will be 1.2kg or the one motor will generate that much thrust
did you get data and clock backwards on the MPU6050? you have SDA labeled "clock", SCL labeled "data" - but seems like DA would stand for "DAta" and CL stand for "CLock"
THANK YOU SO MUCH BRO , T WILL BE USEFUL FOR MY DRONE PROJECT
Hola! Estoy en proceso de armar un tricoptero, usando multiwii 2.3. No encuentro la sección del código en el cual indique en qué pin de Arduino conectar el servo para la cola. Tendrás alguna idea de dónde debería ver? Gracias!
In the material list you use 12A esc right? is it can used 30A esc? thanks
So are the 5 volts for the flight controller supplied from the lipo battery or the esc’s?
hi electronoobs,can i use a gps module with this via I2C bus communication and a fpv camera for make it hitech drone
How does the flight controller work for any quadcopter design?
It is possible to fly a drone without the speed controller.
(ie) from the receiver to the electronic speed controller.
please answer my question.
Hey, my gyroscope is MU 2020, does it have to be programmed for Drone? It can be used by direct connection with Arduino!
So you have two arduino nano for the receiver or what? I don't understand that part very well.
I was really curious to see the code to test the sensors and control the motors. Sort of a bit like the code to keep a humanoid robot balanced and walking in any direction I suppose. That’s some pretty advanced stuff though.
Is there possibly a way I could download the multiwii on mac? I downloaded it but it wont let me open it.
great tutorial , thank you, I have a problem with two motors (front-R and rear-L),and their speed decreases automatically, although they are at maximum speed.
Hi their I was making the flight controller I soldered everything and connected to multi Wii I have a i2c error that increase in both postive and negative numbers pls help
I am just making a 450 class drone and I want the flight controller to be Arduino but I have flysky transmitter, is there any ideas to link up and controller. Please help me I am new to drones
Awesome man. Thank you for these tutorials.
Im building this drone with my kids, with home made radio control as your previous videos. Unfortunately, my ecs don’t seem to work with ppm signal. They spin fast from throttle 0.
I calibrated my radio control and work fine.
Trying to find MultiWii setup directions for pwm singnal and cant find anything.
Kids want to present this project to school..
Can you help me on this please?
Is it possible to plug sensors to Arduino and read the values on the OSD ?
I have an ADXL345 Accelerometer (w/o Gyro). Can I use the same code as yours to calibrate and run that?
Hii can I directly connect the ESC with brushless motor with receiver to test my brushless motor
Excellent video thanks
I have solder the board properly but in the java program its not simulating my gyro movement.what can be the problem?
Why are you didn't connect BEC output from ESC to Vin pin of arduino nano?you connected BEC output from the ESC to 5v of nano .pleas reply
Hi brother. One more doubt. If I am not using BEC then I have to connect the signal only .is ground needed bcz I powered my arduino with 8 v regulator ...I am only powering reciver with bec
Hay i like your quadcopter project . It will be awesome and helpful if u add barometer and magnetometer for altitude holding and navigation . OR u can use sonar sensor for altitude holding and also obstacle avoidance . I hope to see this arduino based project to be more advanced . Thank you.
excuse me, I tried to connect nano board to the multiwii, but when I clicked Start, MultiWiiConf instantly closed and a text file name "hs_err_pid15704' appeared. So, how can I fix it? Thank you so much!
Can you help me. When I try to move the MPU6050, it is not detecting on multiwii and when I try to upload the code, it is showing a lot of errors. Please answer ASAP
it's great video. who in the world give a thumbs down?
thank you sooooooooooo much. now i know how to make a drone
Is all of this applicable to fixed wings drones?
can we use 20A esc's ??
and 1000kv brushless motor?
hi i cant get the multiwii software to work on mac its wont open to the screen please help thanks
Electronoobs.sir..i add barometer(bmp180 baro)..i2c pin...but not pogram it..1st.. open your brushed drone multiwii file...2nd.. open config.h and..do same..3rd.. open def.h...but i dont undersatand..how to pogram this baro..help me sir..
el control en arduino trabaja igual que un transmiter y receiver regular ?
nice job
can i include nrf module in the flight controller pcb itself? please help
I'm constantly getting error
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000001fced8a44cb, pid=5836, tid=17520
whenever I click start on the MultiWiiConf file
I have no idea how to fix this
Is there a way I can go around this problem or are there any other programs I can use to fly my drone?
in my pc working only multiwii 64 the code will work on it?
Can you fix the link for MPU6050 test , the current link is not working
I want to use coreless brushed DC motors. Can I use this flight controller
Sir...I still have not solved the error. Do you know what it means?
Can you help me pls, how can I make this into a Bluetooth control drone, what is the codes for that to happen?
Hi Sir, Can I use this flight controller directly to my FS ppm controller?
nice video ! i hope the next part will be soon uploaded ^^
comtinue like this ! :)
Thank you very much!
We are making Hex copter then what will changes in program please tell ??
How about if I only use 2 motors? How would the configuration look like?
what is the problem with multiwii platform...help me plz
# A fatal error has been detected by the Java Runtime Environment:
Hey, great video. I wonder if you have a wiring diagram for a hexacopter? I would like my drone to have 6 motors.
Thanks :)
hello friend there is a problem with my multiwii . when i clike start option on multiwii it becom disapear can you help me please!
hey man great project.
Great explains! Thanks. Like!
In multiwii conf after selecting com port when i click start it shows hs_err_pid.
How to fix this problem plz help me.
Can i use brushed motor for this arduino flight controller?
Pak ,saya mau bertanya saya menggunakan arduino uno r3 dan sensor mpu5060 apa yg harus di ubah dalam program multiwi,?
Mohon bimbingannya trimah kasih
how many esc‘s / servos can i control with an arduino uno/nano
Can u make a radio transmitter and reciver with brushed or brushless esc without using arduino and with high amper rating (all homemade)
i want to make a drone myself without buying readymate circuts
I loved ur video...
holy cow this was exactly what i was looking for. thank you. cant wait till next videos. Im also building a fixed wing drone, and i dont know how to send data to the arduino. any tips?
Rodrigo D Madruga I'm using the NRF24 radio module and ppm output for the receiver. you will see in my next videos
Hello @Electronoobs, how is the Arduino an advantage over normal flight controllers? I read people saying it is slow and have huge latency working as a FC for RC models but maybe you could connect Arduino to a conventional F4/F7 flight controller and have both? Can an Arduino run new software like Mission Planner, CleanFlight or ArduCopter? Is the Arduino compatible with conventional RC Tx and Rx systems? Would adding all the sensors mean you can program everything in a running loop i.e. something like "IF (sensor detects something 30cm away) THEN (correct_the_opposite_way)" or how does it work ? Sorry for asking so much, lol
iMeMySelf you heard right. Arduino is slower and has no advantage. The only advantage is that you could learn how to.make your own flight controllers how to program it, what components do you need etc. This video is for learning reasons. Arduino is quite good but almost any other especially designed flight controller board is better. Keep up!
Which program do you use in computer ?
Why are you didn't connect bec output pin to Vin pin of nano?
+Electronoobs
forgive my ignorance, but please tell me if ESC is required for all the drones? what about power distributor?
watawonderfulworld yes every drone needs ESC. 1 ESC for every motor. Take ESC with 30A its safe
Hey guys im running into a problem with multiwii. It sees the com port i used for the arduino nano but when i select it and click start the multiwii gui shutsdown. Has anyone else encountered this??
Can u make a arduino uno flight controller without accelerometer and gyro
may i use camera in it and connect to wifi.
How can I set the channels via code, as i would like to read the values from serial from an wifi chip.
Can we use market flight controller in place of arduino flight controller
At 1:38 when you are listing the purpose of each connection you have SCL as data and SDA as clock, this is backwards AFAIK. The SDA pin is serially polled at the rate of SCL
Other than that great video!
Jake freise can these values be used for a 350 size drone with 1400kv motors?
I followed every step of each video twice. But it still is not working for me. The software shows the controller is working but the motor doesnt respond.
Sometimes, I just get random fluctuating behavior from the motor. Any advice is highly appreciated!
Can i use this flight controller for brushed motor
Hi
How can u determine the esc pin of the flight controller
How to calibrate same this same board using mission planner software
I can't open multiwii . It shows 'windows cannot find javaw.exe. make sure you typed name correctly,' . What can I do now.
pleas reply .
Hi can you make a heavy lift drone with more than 6 bldc motor and build it's flight controller .?
Multiwii program is not uploading to my Arduino Nano can you help me
awesome video dude
I would like to understand the procedure to make the radio transmitter and receiver..
Awesome project. Can i use atmega8a 8kb flash memory microcontroller in this project
If I want to attach camere in it then how can I do that..???
should the male pins be 5.08mm?
Sir I want a code for brushed motors (brush less motor)I want to make it as cheap as possible
excellent video...would recomend to all my friends!!! Helped a lot
my multiwii platform is not working when i click the start button it automatically closes the platform please help me
Can I turn it to a bluetooth controlled one?
Awesome
GREAT VIDEO!!!!
hi bro can you help me !
i have prolem whith multiwi is crashed in don't know why !
pls help me
i am using ardino uno what is schematic it
Tried the exact same code and 2.3 multiwii but all im getting is errors and crashes