Arduino drone - Part1 Flight Controller

Ғылым және технология

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

Пікірлер: 365

  • @andrewkasza7282
    @andrewkasza72827 жыл бұрын

    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.

  • @asdiamamence572
    @asdiamamence5724 жыл бұрын

    This is exactly what I'm looking for... Thank you so much

  • @eric-janvandenbogaard9415
    @eric-janvandenbogaard94156 жыл бұрын

    Nice ! a very detailed project ! with easy to get parts and all Arduino based, Great !

  • @KhiemNguyen-oo9yp
    @KhiemNguyen-oo9yp2 жыл бұрын

    thanks bro i work desprately to find this pid and now i find you i will smash the like button for you great jobs

  • @chandrurn
    @chandrurn5 жыл бұрын

    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 :)

  • @ELECTRONOOBS

    @ELECTRONOOBS

    5 жыл бұрын

    Thank you very much!

  • @offensivebias3965
    @offensivebias39653 жыл бұрын

    Best video tutorial ever !

  • @thefuturerocketboyisro
    @thefuturerocketboyisro2 жыл бұрын

    THANK YOU SO MUCH BRO , T WILL BE USEFUL FOR MY DRONE PROJECT

  • @MrCtronic
    @MrCtronic5 жыл бұрын

    God bless people like you that share their knowledge to the mortals around the world ! :D

  • @GaiusGarage
    @GaiusGarage3 жыл бұрын

    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"

  • @sjchowdhury2287
    @sjchowdhury22875 жыл бұрын

    thank you sooooooooooo much. now i know how to make a drone

  • @Boris_Chang
    @Boris_Chang3 жыл бұрын

    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.

  • @-cncheechoo9062
    @-cncheechoo90624 жыл бұрын

    it's great video. who in the world give a thumbs down?

  • @muhammedsajilrahman1286
    @muhammedsajilrahman12864 жыл бұрын

    Excellent video thanks

  • @rodrigo_dm
    @rodrigo_dm7 жыл бұрын

    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?

  • @ELECTRONOOBS

    @ELECTRONOOBS

    7 жыл бұрын

    Rodrigo D Madruga I'm using the NRF24 radio module and ppm output for the receiver. you will see in my next videos

  • @maxbarge766
    @maxbarge7667 жыл бұрын

    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.

  • @palashtiwari1880
    @palashtiwari18806 жыл бұрын

    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..?

  • @66fpv67
    @66fpv674 жыл бұрын

    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?

  • @telemaxitv9065
    @telemaxitv90654 жыл бұрын

    nice job

  • @michaelrich7407
    @michaelrich74073 жыл бұрын

    Great explains! Thanks. Like!

  • @mathieurehala942
    @mathieurehala9427 жыл бұрын

    nice video ! i hope the next part will be soon uploaded ^^ comtinue like this ! :)

  • @ELECTRONOOBS

    @ELECTRONOOBS

    7 жыл бұрын

    Thank you very much!

  • @Firefly-nz2xq
    @Firefly-nz2xq7 жыл бұрын

    hey man great project.

  • @hichamaklil6898
    @hichamaklil68986 жыл бұрын

    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.

  • @shutdahellup69420
    @shutdahellup694206 жыл бұрын

    can i use these values with a 350 size drone with 1400kv motors?

  • @dantecaballero4939
    @dantecaballero49395 жыл бұрын

    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!

  • @stingerbold9327
    @stingerbold93276 жыл бұрын

    Awesome project. Can i use atmega8a 8kb flash memory microcontroller in this project

  • @xxxd6068
    @xxxd60684 жыл бұрын

    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

  • @lthomas532
    @lthomas5325 жыл бұрын

    Hey, great video. I wonder if you have a wiring diagram for a hexacopter? I would like my drone to have 6 motors. Thanks :)

  • @fasihullah3790
    @fasihullah37904 жыл бұрын

    excellent video...would recomend to all my friends!!! Helped a lot

  • @prabhakaran7563
    @prabhakaran75637 жыл бұрын

    awesome video dude

  • @shefaatahamed1581
    @shefaatahamed15816 жыл бұрын

    I loved ur video...

  • @espieyu2337
    @espieyu23372 жыл бұрын

    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

  • @jakefreise7601
    @jakefreise76016 жыл бұрын

    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!

  • @shutdahellup69420

    @shutdahellup69420

    6 жыл бұрын

    Jake freise can these values be used for a 350 size drone with 1400kv motors?

  • @especialistqap
    @especialistqap4 жыл бұрын

    el control en arduino trabaja igual que un transmiter y receiver regular ?

  • @bktechnologies88
    @bktechnologies88 Жыл бұрын

    This is so good I built mine and I want add a barometric sensor please how do I do it do I need to code 🙏🙏

  • @sukhee5
    @sukhee57 жыл бұрын

    great video. Can you create the video drone(quadcopter) DYI, GPS using arduino step by step all connection and configuring and how to connecting each other all of things. And you created this controller and connecting that controller to drone.

  • @ELECTRONOOBS

    @ELECTRONOOBS

    7 жыл бұрын

    Ch Sukhee i will first build this easy drone. later i will start adding stuff like GPS, barometer and so on...

  • @sukhee5

    @sukhee5

    7 жыл бұрын

    thank you.

  • @yuzdrone5464

    @yuzdrone5464

    7 жыл бұрын

    ++ and Opencv bro :D

  • @eric-janvandenbogaard9415

    @eric-janvandenbogaard9415

    6 жыл бұрын

    Nice ! yes, at this level it's also easy to enter for everyone, additions... well the sky is the limit i guess :)

  • @bhudevsamanta6456
    @bhudevsamanta64566 жыл бұрын

    Hii can I directly connect the ESC with brushless motor with receiver to test my brushless motor

  • @JyoPari
    @JyoPari6 жыл бұрын

    GREAT VIDEO!!!!

  • @newssmartkids8862
    @newssmartkids88626 жыл бұрын

    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?

  • @Raavanan_Veeran
    @Raavanan_Veeran6 жыл бұрын

    It is possible to fly a drone without the speed controller. (ie) from the receiver to the electronic speed controller. please answer my question.

  • @abdelhakimamer6989
    @abdelhakimamer69895 жыл бұрын

    How does the flight controller work for any quadcopter design?

  • @dipanjanmaity6614
    @dipanjanmaity66147 жыл бұрын

    hi electronoobs,can i use a gps module with this via I2C bus communication and a fpv camera for make it hitech drone

  • @shubhamsamanta121
    @shubhamsamanta1216 жыл бұрын

    Awesome

  • @nerdgrenade4365
    @nerdgrenade43654 жыл бұрын

    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

  • @dabeasthalofan6276
    @dabeasthalofan62762 жыл бұрын

    So are the 5 volts for the flight controller supplied from the lipo battery or the esc’s?

  • @smitdmello8323
    @smitdmello83238 ай бұрын

    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

  • @deeseal9269
    @deeseal92696 жыл бұрын

    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..

  • @imanamal5522
    @imanamal55226 жыл бұрын

    In the material list you use 12A esc right? is it can used 30A esc? thanks

  • @dipakpatil3529
    @dipakpatil35294 жыл бұрын

    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

  • @PhilipChandler
    @PhilipChandler6 жыл бұрын

    I'm going to have to take this slowly, but it looks good.

  • @francoisguyot789
    @francoisguyot7895 жыл бұрын

    Is it possible to plug sensors to Arduino and read the values on the OSD ?

  • @nerviantone
    @nerviantone2 жыл бұрын

    Hi can you make a heavy lift drone with more than 6 bldc motor and build it's flight controller .?

  • @jamesnunieza4790
    @jamesnunieza47906 жыл бұрын

    How about if I only use 2 motors? How would the configuration look like?

  • @nabinbhagawati7069
    @nabinbhagawati70694 жыл бұрын

    I want to use coreless brushed DC motors. Can I use this flight controller

  • @fahimhossain5778
    @fahimhossain57786 жыл бұрын

    I have solder the board properly but in the java program its not simulating my gyro movement.what can be the problem?

  • @rrfhtf413
    @rrfhtf4133 жыл бұрын

    thank you 4:40

  • @baasilbiniyamin5360
    @baasilbiniyamin53606 жыл бұрын

    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

  • @palashtiwari1880
    @palashtiwari18806 жыл бұрын

    I would like to understand the procedure to make the radio transmitter and receiver..

  • @longchu4690
    @longchu4690 Жыл бұрын

    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!

  • @elementalwattson
    @elementalwattson4 жыл бұрын

    So you have two arduino nano for the receiver or what? I don't understand that part very well.

  • @pranavasthanaDelhi
    @pranavasthanaDelhi3 жыл бұрын

    Excellent video! I hope you are doing great. I had two question though. I plan to build a nano drone using coreless motor and i already have a flysky ct6b rx tx set. 1. Will the Multiwii code support flysky ct6b as it does not have a ppm output? 2. For coreless motors, what kind of motor driver/esc will be good or if its possible to make one? Thanks! Pranav

  • @lukejoel6070

    @lukejoel6070

    2 ай бұрын

    Same here bro I bought 720 coreless motor and a 350 lipo battery after that I found that motor has low thrust to lift so I'm clueless. I have bought them. Is there any way to fly with these components

  • @pranavasthanaDelhi

    @pranavasthanaDelhi

    2 ай бұрын

    Hi !@@lukejoel6070 , My conclusion is that for DIY drones its hard to keep them light enough for coreless motors to work. Better to go with brushless motors. If you want to use coreless motors then you will have to buy a flight control board which has inbuilt drivers for these motors(those are also cheap), you can then flash and configure betaflight. You may either buy the frame or 3d print.

  • @solanki-mayur7625
    @solanki-mayur76254 жыл бұрын

    Hey, my gyroscope is MU 2020, does it have to be programmed for Drone? It can be used by direct connection with Arduino!

  • @kashishkitawatgo
    @kashishkitawatgo7 жыл бұрын

    can we use 20A esc's ?? and 1000kv brushless motor?

  • @hardikminocha3149
    @hardikminocha31495 жыл бұрын

    I have an ADXL345 Accelerometer (w/o Gyro). Can I use the same code as yours to calibrate and run that?

  • @mayankgangwani6293
    @mayankgangwani62932 жыл бұрын

    can i include nrf module in the flight controller pcb itself? please help

  • @Yathracharitham
    @Yathracharitham6 жыл бұрын

    Can u make a arduino uno flight controller without accelerometer and gyro

  • @adwxith_
    @adwxith_6 жыл бұрын

    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

  • @kerricbennett5350
    @kerricbennett53507 жыл бұрын

    Sir...I still have not solved the error. Do you know what it means?

  • @Niechofingerstyle
    @Niechofingerstyle Жыл бұрын

    Pak ,saya mau bertanya saya menggunakan arduino uno r3 dan sensor mpu5060 apa yg harus di ubah dalam program multiwi,? Mohon bimbingannya trimah kasih

  • @manishrao8326
    @manishrao83265 жыл бұрын

    We are making Hex copter then what will changes in program please tell ??

  • @rendimuhamadyusup4219
    @rendimuhamadyusup4219 Жыл бұрын

    Can i use brushed motor for this arduino flight controller?

  • @shermzle
    @shermzle3 жыл бұрын

    Is there possibly a way I could download the multiwii on mac? I downloaded it but it wont let me open it.

  • @karthikj7628
    @karthikj76284 жыл бұрын

    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

  • @Thomas-rc9sc
    @Thomas-rc9sc7 жыл бұрын

    You should talk with Joop Brokking

  • @ahmedallam9612

    @ahmedallam9612

    4 жыл бұрын

    hhhh, maybe they are friends,

  • @dae1925

    @dae1925

    3 жыл бұрын

    Gay

  • @suhaipallaf6643
    @suhaipallaf66432 жыл бұрын

    what is the problem with multiwii platform...help me plz # A fatal error has been detected by the Java Runtime Environment:

  • @MindBit3
    @MindBit34 жыл бұрын

    Is all of this applicable to fixed wings drones?

  • @rajatchandra7985
    @rajatchandra79856 жыл бұрын

    Hey Electro i made the same connections u briefed about, the multiwii simulater is showing everything fine the gyro-accelerometer all the throttle yaw pitch etc but the output is not adequate i.e the pins to be given to ESCs, its showing values 8000(not 1000-2000)

  • @ELECTRONOOBS

    @ELECTRONOOBS

    6 жыл бұрын

    That's strange. Go to config.h, type cntrl+F in order to open the find tab adn search for MAXTHROTTLE variable and make sure it is 2000. And MINTHROTTLE is 1000. Keep up!

  • @vinnyzato
    @vinnyzato5 жыл бұрын

    hi i cant get the multiwii software to work on mac its wont open to the screen please help thanks

  • @kaitokid3529
    @kaitokid35294 жыл бұрын

    Can you help me pls, how can I make this into a Bluetooth control drone, what is the codes for that to happen?

  • @leenadongre7104
    @leenadongre71044 жыл бұрын

    Can we use market flight controller in place of arduino flight controller

  • @zaidhussain5206
    @zaidhussain52065 жыл бұрын

    Can you fix the link for MPU6050 test , the current link is not working

  • @RoboKryptz
    @RoboKryptz Жыл бұрын

    Very Great and Informative video but one thing in the schematic shown u said Motor1, Motor2, Motor3, Motor3. You repeated motor3 2 times

  • @t41ef46
    @t41ef46 Жыл бұрын

    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!

  • @killsme6957
    @killsme6957 Жыл бұрын

    Hi Sir, Can I use this flight controller directly to my FS ppm controller?

  • @sumansrivastava1488
    @sumansrivastava14883 жыл бұрын

    Can i use this flight controller for brushed motor

  • @arduinotechnology9564
    @arduinotechnology95643 жыл бұрын

    Cool

  • @aasishkharel
    @aasishkharel2 жыл бұрын

    In multiwii conf after selecting com port when i click start it shows hs_err_pid. How to fix this problem plz help me.

  • @Sebastian-ng9oy
    @Sebastian-ng9oy3 жыл бұрын

    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??

  • @dipakpatil3529
    @dipakpatil35294 жыл бұрын

    Why are you didn't connect bec output pin to Vin pin of nano?

  • @noorhussainhussainy8704
    @noorhussainhussainy87042 жыл бұрын

    hello friend there is a problem with my multiwii . when i clike start option on multiwii it becom disapear can you help me please!

  • @ltecsoluciones1026
    @ltecsoluciones10266 жыл бұрын

    hola , gracias tenias toda la razón, utilice el enlace que me dejaste para configurar las esc y ya no pitan , no me encendían los motores por que quizás el radio control tiene otra configuración y me toco invertir el pin d3 con el d6 y ya encienden lo único que me falta es que al dejarlo sin acelerar los motores siguen funcionando que podría ser? gracias

  • @ELECTRONOOBS

    @ELECTRONOOBS

    6 жыл бұрын

    Eso es normal. Puedes quitar esa opción pero es mejor así. Piensa, si aceleras desde cero tendrás mucho mas turbulencias hasta que todos los motores tengan la misma velocidad y en ese instante el dron podría perder el control. Para eso cuando lo enciendes es mejor dejarlo a bajas rotaciones. Saludos!

  • @alessandroaversa6378
    @alessandroaversa63784 жыл бұрын

    Hey man , nice video tutorial ! Can i ask you to update when you can the link of the material ?

  • @vishnuramachandran4801
    @vishnuramachandran48015 жыл бұрын

    How to calibrate same this same board using mission planner software

  • @naseefalipv8104
    @naseefalipv81045 жыл бұрын

    in my pc working only multiwii 64 the code will work on it?

  • @matteodietz9759
    @matteodietz97593 жыл бұрын

    how many esc‘s / servos can i control with an arduino uno/nano

  • @corneal35
    @corneal355 жыл бұрын

    Tried the exact same code and 2.3 multiwii but all im getting is errors and crashes

  • @sergiolopezmoriano3486
    @sergiolopezmoriano34867 жыл бұрын

    Hola , es necesario el arduino en el mando? no vale uno tipico de radio control? Buen tutorial , enhorabuena.

  • @ELECTRONOOBS

    @ELECTRONOOBS

    7 жыл бұрын

    No es necesario, pero este tutorial es para un dron 100% con Arduino. Un transmisor/receptor normal con PWM o PPM también sirve.

  • @hariombharti8846
    @hariombharti88465 жыл бұрын

    may i use camera in it and connect to wifi.

  • @hawarimustapa8907
    @hawarimustapa89072 жыл бұрын

    May i know the flowchart of the coding for the flight controller

  • @9100nash
    @9100nash5 жыл бұрын

    hey friend that mpu6050 is slowly drift on z axis.

  • @vivansheth1902
    @vivansheth19022 жыл бұрын

    my multiwii platform is not working when i click the start button it automatically closes the platform please help me

Келесі