Arduino drone - Part1 Flight Controller

Sdílet
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

Komentáře • 365

  • @andrewkasza7282
    @andrewkasza7282 Před 7 lety +5

    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
    @asdiamamence572 Před 4 lety +1

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

  • @eric-janvandenbogaard9415

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

  • @chandrurn
    @chandrurn Před 6 lety +3

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

  • @KhiemNguyen-oo9yp
    @KhiemNguyen-oo9yp Před 2 lety

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

  • @MrCtronic
    @MrCtronic Před 5 lety +2

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

  • @offensivebias3965
    @offensivebias3965 Před 3 lety

    Best video tutorial ever !

  • @shutdahellup69420
    @shutdahellup69420 Před 6 lety +1

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

  • @espieyu2337
    @espieyu2337 Před 2 lety +1

    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

  • @palashtiwari1880
    @palashtiwari1880 Před 6 lety +1

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

  • @newssmartkids8862
    @newssmartkids8862 Před 7 lety

    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?

  • @xxxd6068
    @xxxd6068 Před 5 lety

    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

  • @GaiusGarage
    @GaiusGarage Před 3 lety

    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"

  • @thefuturerocketboyisro

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

  • @dantecaballero4939
    @dantecaballero4939 Před 5 lety

    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!

  • @imanamal5522
    @imanamal5522 Před 6 lety

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

  • @dabeasthalofan6276
    @dabeasthalofan6276 Před 2 lety

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

  • @dipanjanmaity6614
    @dipanjanmaity6614 Před 7 lety

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

  • @abdelhakimamer6989
    @abdelhakimamer6989 Před 5 lety

    How does the flight controller work for any quadcopter design?

  • @Raavanan_Veeran
    @Raavanan_Veeran Před 6 lety

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

  • @solanki-mayur7625
    @solanki-mayur7625 Před 4 lety

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

  • @elementalwattson
    @elementalwattson Před 4 lety

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

  • @Boris_Chang
    @Boris_Chang Před 3 lety +1

    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.

  • @shermzle
    @shermzle Před 3 lety

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

  • @hichamaklil6898
    @hichamaklil6898 Před 7 lety

    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.

  • @nerdgrenade4365
    @nerdgrenade4365 Před 4 lety +2

    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

  • @baasilbiniyamin5360
    @baasilbiniyamin5360 Před 6 lety

    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

  • @66fpv67
    @66fpv67 Před 4 lety +1

    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?

  • @francoisguyot789
    @francoisguyot789 Před 5 lety

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

  • @hardikminocha3149
    @hardikminocha3149 Před 5 lety

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

  • @bhudevsamanta6456
    @bhudevsamanta6456 Před 6 lety

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

  • @muhammedsajilrahman1286

    Excellent video thanks

  • @fahimhossain5778
    @fahimhossain5778 Před 6 lety

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

  • @dipakpatil3529
    @dipakpatil3529 Před 4 lety

    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

  • @adwxith_
    @adwxith_ Před 6 lety

    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

  • @maxbarge766
    @maxbarge766 Před 7 lety +8

    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.

  • @longchu4690
    @longchu4690 Před rokem

    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!

  • @karthikj7628
    @karthikj7628 Před 4 lety

    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

  • @-cncheechoo9062
    @-cncheechoo9062 Před 5 lety

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

  • @sjchowdhury2287
    @sjchowdhury2287 Před 6 lety

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

  • @MindBit3
    @MindBit3 Před 4 lety

    Is all of this applicable to fixed wings drones?

  • @kashishkitawatgo
    @kashishkitawatgo Před 7 lety

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

  • @vinnyzato
    @vinnyzato Před 5 lety

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

  • @deeseal9269
    @deeseal9269 Před 6 lety +1

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

  • @especialistqap
    @especialistqap Před 4 lety

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

  • @telemaxitv9065
    @telemaxitv9065 Před 4 lety

    nice job

  • @mayankgangwani6293
    @mayankgangwani6293 Před 2 lety

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

  • @jungtaemin1639
    @jungtaemin1639 Před 3 lety

    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?

  • @naseefalipv8104
    @naseefalipv8104 Před 6 lety

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

  • @zaidhussain5206
    @zaidhussain5206 Před 5 lety

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

  • @nabinbhagawati7069
    @nabinbhagawati7069 Před 5 lety

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

  • @kerricbennett5350
    @kerricbennett5350 Před 7 lety +1

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

  • @kaitokid3529
    @kaitokid3529 Před 4 lety

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

  • @killsme6957
    @killsme6957 Před rokem

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

  • @mathieurehala
    @mathieurehala Před 7 lety

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

  • @manishrao8326
    @manishrao8326 Před 6 lety

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

  • @jamesnunieza4790
    @jamesnunieza4790 Před 6 lety

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

  • @suhaipallaf6643
    @suhaipallaf6643 Před 2 lety

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

  • @lthomas532
    @lthomas532 Před 5 lety +1

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

  • @noorhussainhussainy8704

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

  • @Firefly-nz2xq
    @Firefly-nz2xq Před 7 lety +2

    hey man great project.

  • @michaelrich7407
    @michaelrich7407 Před 3 lety

    Great explains! Thanks. Like!

  • @aasishkharel
    @aasishkharel Před 2 lety

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

  • @rendimuhamadyusup4219

    Can i use brushed motor for this arduino flight controller?

  • @Niechofingerstyle
    @Niechofingerstyle Před 2 lety

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

  • @matteodietz9759
    @matteodietz9759 Před 3 lety

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

  • @smitdmello8323
    @smitdmello8323 Před 10 měsíci

    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

  • @shefaatahamed1581
    @shefaatahamed1581 Před 6 lety

    I loved ur video...

  • @rodrigo_dm
    @rodrigo_dm Před 7 lety +17

    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  Před 7 lety +1

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

  • @imemyself2820
    @imemyself2820 Před 6 lety

    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

    • @ELECTRONOOBS
      @ELECTRONOOBS  Před 6 lety +1

      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!

  • @sevalkeskin1949
    @sevalkeskin1949 Před 2 lety

    Which program do you use in computer ?

  • @dipakpatil3529
    @dipakpatil3529 Před 4 lety

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

  • @watawonderfulworld
    @watawonderfulworld Před 6 lety

    +Electronoobs
    forgive my ignorance, but please tell me if ESC is required for all the drones? what about power distributor?

    • @fethimadafak3156
      @fethimadafak3156 Před 6 lety

      watawonderfulworld yes every drone needs ESC. 1 ESC for every motor. Take ESC with 30A its safe

  • @Sebastian-ng9oy
    @Sebastian-ng9oy Před 3 lety

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

  • @Yathracharitham
    @Yathracharitham Před 6 lety

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

  • @hariombharti8846
    @hariombharti8846 Před 5 lety

    may i use camera in it and connect to wifi.

  • @gamerguypvppvp7347
    @gamerguypvppvp7347 Před 6 lety

    How can I set the channels via code, as i would like to read the values from serial from an wifi chip.

  • @leenadongre7104
    @leenadongre7104 Před 5 lety

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

  • @jakefreise7601
    @jakefreise7601 Před 6 lety +1

    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 Před 6 lety

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

  • @t41ef46
    @t41ef46 Před rokem

    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!

  • @sumansrivastava1488
    @sumansrivastava1488 Před 3 lety

    Can i use this flight controller for brushed motor

  • @dipanjanmaity6614
    @dipanjanmaity6614 Před 6 lety

    Hi
    How can u determine the esc pin of the flight controller

  • @vishnuramachandran4801

    How to calibrate same this same board using mission planner software

  • @dipakpatil3529
    @dipakpatil3529 Před 4 lety

    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 .

  • @nerviantone
    @nerviantone Před 2 lety

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

  • @avyakthbputhran8620
    @avyakthbputhran8620 Před 4 lety

    Multiwii program is not uploading to my Arduino Nano can you help me

  • @prabhakaran7563
    @prabhakaran7563 Před 7 lety +1

    awesome video dude

  • @palashtiwari1880
    @palashtiwari1880 Před 6 lety

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

  • @stingerbold9327
    @stingerbold9327 Před 6 lety

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

  • @prithvik7512
    @prithvik7512 Před 6 lety

    If I want to attach camere in it then how can I do that..???

  • @Cdswjp
    @Cdswjp Před rokem

    should the male pins be 5.08mm?

  • @VJTechnicals
    @VJTechnicals Před 7 lety

    Sir I want a code for brushed motors (brush less motor)I want to make it as cheap as possible

  • @fasihullah3790
    @fasihullah3790 Před 4 lety

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

  • @vivansheth1902
    @vivansheth1902 Před 2 lety

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

  • @cankantarc6507
    @cankantarc6507 Před 4 lety

    Can I turn it to a bluetooth controlled one?

  • @shubhamsamanta121
    @shubhamsamanta121 Před 7 lety +1

    Awesome

  • @JyoPari
    @JyoPari Před 6 lety

    GREAT VIDEO!!!!

  • @ittachidz5371
    @ittachidz5371 Před 3 lety

    hi bro can you help me !
    i have prolem whith multiwi is crashed in don't know why !
    pls help me

  • @shahrukhali8603
    @shahrukhali8603 Před 6 lety

    i am using ardino uno what is schematic it

  • @corneal35
    @corneal35 Před 5 lety

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