How to Build Your Own Flight Controller // The Anatomy [Part 1]

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 248

  • @logandihel
    @logandihel Рік тому +8

    Just putting this out there - the D+ and D- on the USB are not TX and RX. They are differential pair signaling, where instead of sending a HIGH or LOW on one trace to indicate a 1 or a 0, you send opposite signals on the D+ and D-, and the microcontroller uses the transitions to determine if a 1 or 0 was received. This practice is done because it is much less susceptible to noise and enables high speed communication.

  • @raphaelho1791
    @raphaelho1791 3 роки тому +4

    It is the most educational video I have ever watched over the last five years. I am so beyond impressed!

  • @amphem
    @amphem 5 років тому +1

    LEDs are suicidal is what made me subscribe. I know totally nothing about electronics, you made me want to learn more. I wish I had a teacher like you about 20 years ago when Internet was still crawling.

  • @channeleverything3420
    @channeleverything3420 5 років тому +21

    DUDE!! BEST VIDEO ON UA-cam! I HAVE ALWAYS WANTED TO DO THIS! GONNA WATCH THE REST OF THE SERIES AND THEN MOVE TO THE ESCS!!!

  • @xerovolume3321
    @xerovolume3321 6 років тому +8

    I've never felt this anxious for a youtube video series in all of my life!

  • @netpro2k
    @netpro2k 6 років тому +58

    Excited for this series. Really hope you dig into the datasheets for eveyrthing in the future videos, would be really nice to see the WHY for every capacitor/resistor/etc.

    • @TerryDavisMedia
      @TerryDavisMedia Рік тому +1

      @@arloblaze9844 yup, been stroking the chicken myself since birth :)

  • @brunogp8269
    @brunogp8269 6 років тому +30

    A DIY F4 and F7 kit would be a great idea. I would buy!

  • @henrynel5197
    @henrynel5197 6 років тому +6

    Knowing this is worth gold. Keep it up !

  • @jaynay52
    @jaynay52 3 роки тому

    Stumbled upon this video looking for some answers and you knocked it out of the park. Awesome video man!

  • @fatherofrobos3573
    @fatherofrobos3573 4 роки тому +7

    very interesting, the best series i have ever seen in. keep it up

  • @mccolld11
    @mccolld11 6 років тому +2

    This is great stuff.
    This project provides an opportunity to create a design superior in every way (performance & components) to anything on the market because salability and profit are not part of the equation. I hope that's how the project evolves into the "ultimate" design.
    I'm learning more about electronics than ever before. Keep up the great work!

  • @TopFlightAero
    @TopFlightAero Рік тому

    Thanks!

  • @impmeister1
    @impmeister1 4 роки тому

    Once in a while you stumble on a jewel of a video.
    This is one of those video gems
    I used many MCU's and wanted to try the stm32 ones.
    ordered a nucleo develepment board etc.
    this would be a sweet first project with stm32 mcu's
    thank god I googled AT7456e (osd overlay IC) and this video showed up.
    Subscribed an will watch the other videos, thank you my friend!

  • @WildCaptures
    @WildCaptures 6 років тому +4

    It is very cool to learn what each of these components control and how they work together😊👍🏻

  • @Nick-wj5gw
    @Nick-wj5gw 4 роки тому

    One of the best Playlist I've came across in a while. Definitely will be doing this design. Thanks man!

  • @ChrisLBradly
    @ChrisLBradly 6 років тому +4

    your channel is awesome! making builders into designers and creators!

  • @dschingis3094
    @dschingis3094 3 роки тому +4

    The 0.1µF and 1µF caps on the VDD pin of the gyro should be in parallel to gulp up different frequencys of noise/ripple having them in series will give you a higher voltage rating but less capacitance overall. But still a great video :D

  • @maelremremxyz
    @maelremremxyz 6 років тому +6

    Nice work ! I was making my own FC and I came on your video. I will make my based on your work but the layout will be different ! Keep up the good work !

  • @pianojacq
    @pianojacq 4 місяці тому +1

    That 1 u / .1 u arrangement in series makes no sense to me, what is the datasheet that you refer that that that came from?

  • @tutacat
    @tutacat 4 місяці тому +1

    Well, the crystal controls the clock of the CPU, that is what tells it to advance and count up to the next instruction.
    If you unplug the battery, can you not use the USB input voltage then

  • @drids_fpv
    @drids_fpv 6 років тому +1

    Amazing project dronemesh! Like the idea of making a kit because many people don't have all the spare components that go on the pcb. Can't wait for the next videos of this series! I learn a lot, thank you

  • @hassanoukaddour9434
    @hassanoukaddour9434 4 роки тому

    What a eye opening video!!
    I never knew i could start knowing how this all works....
    But I do now!
    thanks a lot bro I'm getting smarter each day

  • @aviralshukla5656
    @aviralshukla5656 2 роки тому

    Really excited to watch all the parts of this series!

  • @KolibriFPV
    @KolibriFPV 3 роки тому

    This is really great! I have been quite longing to bulid my very own flight controller and you just jumped right in. Will dive deep into your vids. Thanks!

  • @Rundik
    @Rundik 3 роки тому

    He explained in detail what a gyroscope is despite everyone knows what it is and all he said about the resonator is that it's important

  • @minghust9098
    @minghust9098 2 місяці тому

    Can you program the MCU using the USB port? I see your SWD lines aren't connected to any external connector so I'm curious as to the process. Thanks

  • @milaanpatel4997
    @milaanpatel4997 5 років тому

    Really great video. I actually want to build one myself. Given that i have minimal background in electronics this video is really supportive.

  • @LordLT13
    @LordLT13 2 роки тому

    i was looking at your schematic and was wondering if you had put motor drivers in your schematic. I couldn't find them anywhere

  • @farziverse4209
    @farziverse4209 11 місяців тому +1

    There is no receiver on the FC either, how will it connect to my RF transmitter?

    • @farziverse4209
      @farziverse4209 11 місяців тому +1

      oh so he has given UART ports, and then I can connect my receiver to it

  • @kooshaalf7240
    @kooshaalf7240 Рік тому

    Wow this was such an amazing video im so excited to watch the next one
    Learned so much through this video thanks man

  • @quickf0x792
    @quickf0x792 6 років тому +4

    Are you interested in making a custom firmware/ forking betaflight to include gimbal support and quaternion controllers?

    • @DroneMesh
      @DroneMesh  6 років тому +3

      Yes

    • @quickf0x792
      @quickf0x792 6 років тому +3

      @@DroneMesh what code does betaflight run on....
      If I were to pursue this project, how should I start, could you(or anyone who reads this) give me advice on tutorials on how to start?
      Also I'd love to make this compatible/tailor made with you flight controller if you were to make a 20x20 version with an osd, 5v reg and some other common features.

    • @shri3141
      @shri3141 6 років тому

      @@quickf0x792 c

    • @shri3141
      @shri3141 6 років тому +2

      Well you should start by going directly to their website.Then you can find their opensource code and start learning them, there is also a bf slack group which would help you, basically bf is coded by c , in K and R indendation style, make sure you stick with it.If you propose an idea , you can start working on it by making hex files and sending them in the channel, there are a lot of testers.Good luck

    • @quickf0x792
      @quickf0x792 6 років тому +1

      @@shri3141 thx

  • @joshmellon390
    @joshmellon390 2 роки тому

    I've been thinking about doing this for a while now. I think this is my push to open up easy eda, and see what I can come up with lol.

  • @chandanmchatrapathi174
    @chandanmchatrapathi174 2 роки тому

    This is what I was looking for dope content sir

  • @zephyrflyer629
    @zephyrflyer629 6 років тому +3

    Where would you be able to give the schematics and get it assembled with all the components as well?

    • @user-bp5tg3yd3d
      @user-bp5tg3yd3d 3 роки тому

      did you find out?if you did can you tell me

  • @MCsCreations
    @MCsCreations 6 років тому

    Fantastic start for the playlist, dude! Thanks a lot for all the explanations! 😃

  • @stakeout2
    @stakeout2 6 років тому +1

    Im sure i will never build a flight controler but nonetheless this is still very interesting and super easy to follow,
    Thanks drone mesh !

  • @EJ3.16
    @EJ3.16 4 роки тому

    Very good very nice video,, I have a question I have a xk x130 drone it use 1S lipo can I put 2s for more power but how can I know without fried all the system please help if you can tell me please thank you...!!!!

  • @Quantum_Dots
    @Quantum_Dots 2 роки тому

    Can I use px4 qgroundcontrol coupled with my custom build hardware ?

  • @SOLARFPV
    @SOLARFPV 6 років тому +2

    This is frakin awsome. Thanks for all the details. Need to lay off the caffeine to build this ;-) and I definately need those books of chips.

    • @DroneMesh
      @DroneMesh  6 років тому +1

      Caffeine is what made this project and every video you see XD lool..
      I turn caffeine into projects.

    • @SOLARFPV
      @SOLARFPV 6 років тому +1

      Drone Mesh - LOL. Man I want to learn to do what you do! Searching for a practice atm. Electronics technician = me in the near future hopefully.

  • @MrVipulLal
    @MrVipulLal Рік тому

    Brilliant video. Just what I was looking for. Many thanks 🙏

  • @andrewtran940
    @andrewtran940 3 роки тому

    How do you know which pin to connect on the STM32F405? or we can do it as the way we want ?

  • @sangarp2001
    @sangarp2001 2 роки тому

    Is there any other flight controller for bicopter and coaxial rotor heli? I am using kk.2.1.5.

  • @kartikpandey5335
    @kartikpandey5335 4 роки тому

    How can we make a FC like pixhawk cube 2.1 for the commercial usage? they have license on each part what does that mean?

  • @simonginzel3143
    @simonginzel3143 4 роки тому

    is there any document that specify the pin assignment of the Mikrocontroller for the beta flight software?

  • @mathssoso4261
    @mathssoso4261 Рік тому

    Thank you for sharing this with us. What is the LED in Pin 14 of the MCU for ? there is no third LED on the schematic. I am not sure if you mentioned where to put the GPS?
    The pins can be either labels or ports , are the UARTs, the SBUS, SDA/SCL pads ports or net labels ?

  • @mahanths1353
    @mahanths1353 Рік тому

    This is just something I wanted. It's impressive how knowledgeable you are helping out the community helping out hobbyist like me to get deeper into hobby. I'm truly thankful for that.
    I just had few questions about the software which is used to sketch these circuit. What are these programs called?

  • @somyagoyal1805
    @somyagoyal1805 4 роки тому

    very interesting and informative, the best video i have ever seen related to drones.

  • @ranjitroshan3101
    @ranjitroshan3101 5 років тому +1

    Your teachings are so great 🔥🔥

  • @technofunworld9628
    @technofunworld9628 4 роки тому

    Can you explain why 1mf capacitors and these resistors are used

  • @billydives8764
    @billydives8764 4 роки тому

    Can anyone please tell me what the little square thing with 100 written on it is....I had a camera short with smoke and then this fell off!!

  • @RobertLeclercq
    @RobertLeclercq 6 років тому

    Just became a patron! Just might have to up my electronics game... Thanks for the inspiration!

  • @brookshank
    @brookshank 4 роки тому

    What is the resonator used for with the gyroscope? Is there somewhere I can read more about that interaction? I am having trouble finding out more about why I would need a resonator.

  • @youssefali2486
    @youssefali2486 Рік тому

    Absolutely great series! Thanks!

  • @gabrielguimaraes8967
    @gabrielguimaraes8967 4 роки тому

    Can it run ardupilot ? I'am design a flight controller for an autonomous drone and would like to use this project as reference.

  • @azizhaloui1697
    @azizhaloui1697 2 роки тому

    One question please, is your controller programmed with Betaflight programs, inav... If not what solution?

  • @sktahmadedits4437
    @sktahmadedits4437 3 роки тому

    does source point of mosfet on flight controller is same ? on whole circuit

  • @shri3141
    @shri3141 6 років тому +1

    Icm is not a noise sensitive gyro, if wired up correctly it is a good clean gyro.This is being mistaken.Take a look at cl racing f7, its not prone to much noise eventhought they use icm.I dont think your fc have flash memory, flash memory is a component that stores codes, yeah thats a prominent component in an fc, you cant basically store all the codes in your mcu, its also kinda dangerous to do so.

    • @shri3141
      @shri3141 6 років тому

      @ 5:52 you have a flash memory chip above the usb(molex)

    • @KrotowX
      @KrotowX 6 років тому

      Did you seen a MultiWii type flight controller who store firmware and settings outside microcontroller chip? That external 1-wire memory chip is intended to store Blacbox logs.

  • @gamaxgbg
    @gamaxgbg 6 років тому

    hey, can you answer me a question not related to this video?
    i want to know if it is possible to change the motor wire gauge. I have a motor with 20 AWG and wanted to change to 18 AWG, how can i do it?

  • @SKRIKRecords
    @SKRIKRecords 3 роки тому

    can you make a new or updated video of this? im sure you have some new designs

  • @lorenzodaidone6293
    @lorenzodaidone6293 2 роки тому

    awesome bro, this stuff will help me a lot w my learning curve in engineering. thanks!!

  • @lovequadcopterforlife1996
    @lovequadcopterforlife1996 2 роки тому

    good night just wanted to know what software you use to design the flight pcb am on a m1 Mac

  • @johnconner4695
    @johnconner4695 Рік тому

    This mean you can make a flight controller and load beta flight or some other software to program it

  • @Petriefied0246
    @Petriefied0246 2 роки тому

    I need your help, I want to design an open source ESC for RC cars, but based on the FPV flight controllers.

  • @danielmukisa3211
    @danielmukisa3211 Рік тому

    THANKS BRO , THIS MAKES MORE SENSE NOW

  • @JG-nm9zk
    @JG-nm9zk 2 роки тому

    USB doesn't have tx and rx pins. They have D+ and D- which are a differential pair. Both are used for communication in both directions.

    • @JG-nm9zk
      @JG-nm9zk 2 роки тому

      guess you cleared that up in the schematic talk.

  • @fenrir834
    @fenrir834 5 років тому

    is the flight controller as good as the commercial flight controller? and are they cheaper?

  • @7bikerboy7
    @7bikerboy7 6 років тому

    Hello love your videos..I have a question if you can help much appreciated...i am trying to connect kakute F7 FC with Dalrc 50a 4 in 1 esc using plug connector..The FC plug pin out says
    (M4~1) ( I ) (G) (R7) (B+) Im not sure what the R7 and I is for exactly..I thought i saw somewhere that ( I ) is NC?

  • @ManishRajput-lk9nm
    @ManishRajput-lk9nm Рік тому

    thanks for providing basic knowledge about the flight controller

  • @yehonatanbellaiche9359
    @yehonatanbellaiche9359 6 років тому +2

    great video, maybe you can design a receiver (from a chip) and teach us how to do that. I think a flysky 2.4ghz with telemetry and diversty would be great, there isnt flysky reciver with this specification.

  • @hmbiii9974
    @hmbiii9974 3 роки тому

    QUESTION: Can we use STM32F405RGT6W MCU 32B ARM Cortex-M4 1Mb Flash 168MHz CPU ??? Didn't know if this would effect the installation.

  • @kymcainday6677
    @kymcainday6677 3 роки тому

    If switching regulators can cause interference, can we enclose it with a piece of aluminum sheet and still make it more efficient?

  • @AvinashRaiG
    @AvinashRaiG 4 роки тому +1

    Awesome, Lot to learn on this topic, started following your channel !
    could you please share what schematics drawing and PCB design software is being used in this project work ?

  • @toddmoore112
    @toddmoore112 5 років тому

    Hi can you please tell me your recording equipment . its very clearly focused. i want to achieve that clarity while recording. please explain your setup. Thank you.

  • @devilidol
    @devilidol 4 роки тому

    Hey, the drone mesh forum seems to be down, can you please fix that.

  • @bmconnexion8985
    @bmconnexion8985 3 роки тому

    cool idea but can you make it more apealing and add fpv recorder on board maybe an sd card slot

  • @mewintle
    @mewintle 4 роки тому

    Fantastic. Perfect for my level of expertise.

  • @varunahlawat9013
    @varunahlawat9013 11 місяців тому +1

    I don't think that at 17:53 you really need to do explain it that way. It's just a voltage divider, so that not all the voltage is dropping across the boot pin, some is going into the ground, and how much should go into the ground(I'm assuming out of 3.3)...
    I'm commenting this to see whether or not I got it right.

  • @darkshadowsx5949
    @darkshadowsx5949 3 роки тому

    where did you go to school for electronics? im in the states and always heard them called crystal oscillators never really resonators.
    also i have a 12v NCP1117 on one of my projects and all it does is drop the voltage by 1v. its setup as per datasheet with the 2x 10uf capacitors and im confused as to why it wont work correctly.
    it would be awesome to make my own FC boards once the chip shortage is over...

  • @hometimesuccess
    @hometimesuccess 6 років тому

    if we are going to help you with this design will we have to have the gerber file for this?

    • @DroneMesh
      @DroneMesh  6 років тому +1

      Check my forum everything is available

  • @e.e.e.a8025
    @e.e.e.a8025 6 місяців тому +1

    how can i get the code please

  • @cerewaffle900
    @cerewaffle900 3 роки тому

    What’s the difference between the 6000 and 9000 gyro’s? Is the 9000 more accurate?

  • @rateau-789
    @rateau-789 3 роки тому

    I'm an electronic student is it possible to learn more about FC schematic ??

  • @sidahmedsendjel7815
    @sidahmedsendjel7815 4 роки тому

    Can I use this flight controller to build an autonomous drone??

  • @zingthe64savage18
    @zingthe64savage18 4 роки тому

    what kind of flight controller do i need to make a tricopter

  • @pouria3132
    @pouria3132 5 років тому

    Hello thank you for this great video.
    Can I ask something?
    I searched a lot. But did not find any thing about programming a flight controller with c and c++
    . Can you please help me about write a programm for pro flight controller with GPS and fpv and video transmition?
    Or how can I learn?
    Thank you a lot

    • @DroneMesh
      @DroneMesh  5 років тому

      This takes an opensource software called betaflight.

    • @pouria3132
      @pouria3132 5 років тому

      @@DroneMesh Thank you for answer... If I want write Programm with Keil, it's ide for arm... Is there any way that I can learn?
      Thanks a lot

  • @hometimesuccess
    @hometimesuccess 6 років тому +3

    diy kits would be great. think you are doing to teach are great too.

  • @ericklassen13
    @ericklassen13 6 років тому

    I love where this is going!

  • @Bill-qo2jb
    @Bill-qo2jb 2 роки тому

    Great video, but why did you connect capacitors C13_G and C6_G in series, and not in parallel ? Doing so, they are equivalent to only 0.09 uF, and you do not have the benefit of filtering out more frequencies in power supply voltage (by using them in parallel).

    • @pianojacq
      @pianojacq 4 місяці тому

      yes... I thought the exact same thing.

  • @lfrecords3970
    @lfrecords3970 2 роки тому

    Hey man.....i just managed to drop off two TINY propably 0402 size capacitors and destroyed an brand new flywoo versatile aio 5in1 board from firefly nano baby drone....is there any way help me repair it by recognising that exactly are these i detouched of course I never found them...but we have a local store which has even so small smd caps etc...???? Please I'm very disappointed 120 euros to go to waste just for one week..

  • @ravinduk.6290
    @ravinduk.6290 5 років тому

    How are you flashing the new F4 microprocessor? What target would you be using in this case?

  • @aakashjana6225
    @aakashjana6225 4 роки тому

    Yipppee !! i always wanted to know how flight controllers are made and how do they run , what calculataions and software are they running.

  • @itheblackwolfofmyfamily
    @itheblackwolfofmyfamily 2 роки тому

    What did you study? I am interested in your flight controller project. Thank you and keep up the good work.

  • @cilginordek9507
    @cilginordek9507 Рік тому

    It's a very nice work, congratulations. Are there any alternatives that can be used instead of mpu600?

  • @stevemann6082
    @stevemann6082 6 років тому

    if you could get an r9m onto the flight controller i would love that.
    and video tx, satellite chip that would sort me out. everything all in 1 board

    • @KrotowX
      @KrotowX 6 років тому

      If you can design your own PCB then nothing hold you from assembling your personal FC. But it will be huge board, at least twice larger than 30x30mm module board.

  • @disruptivesolutions5784
    @disruptivesolutions5784 4 роки тому

    Is this still active? I have entered the "donated"-payed Patreon, but no activity there? Then there would be access to the schematic and we could message each other about the project?

  • @offensivebias3965
    @offensivebias3965 4 роки тому

    Does dji use micro controller or microprocessor ?

  • @andreingenthron7661
    @andreingenthron7661 6 років тому

    hi, correct me if i'm wrong but is c16 and c17 voltage reg caps 10 nano farad not micro farad?

  • @AsgardStudios
    @AsgardStudios 3 роки тому

    What a fantastic video! Thanks so much for putting this together!

  • @scratchop6863
    @scratchop6863 2 роки тому

    Hello nice Video!
    Do you continue the Playist for this Controller?

  • @randallsmith4685
    @randallsmith4685 6 років тому

    DIY kits sound like a good idea