Tuning the YMFC-32 settings the easy way | The Arduino - STM32 GPS hold flight controller

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ม.ค. 2025

ความคิดเห็น • 39

  • @ahmedallam9612
    @ahmedallam9612 6 ปีที่แล้ว +3

    Hi Joob, excelent Work, your project is getting professional with every video, I did learn a lot from your series,

  • @AppliedMetaphysician
    @AppliedMetaphysician 6 ปีที่แล้ว +1

    A very handy tweaking protocol that can be used in any number of other, non-quadcopter, projects! Thanks.

  • @satiromedeiros6876
    @satiromedeiros6876 6 ปีที่แล้ว +3

    God bless your knowledge, Joop!

  • @AlexYeryomin
    @AlexYeryomin 6 ปีที่แล้ว +1

    When you have finished on the fly tuning, you can save the new settings to EEPROM. Just ream them from there at the startup.

    • @Joop_Brokking
      @Joop_Brokking  6 ปีที่แล้ว +2

      The EEPROM of the STM32 is not a real EEPROM. It's part of the flash memory and is erased when a new program is uploaded. So when you want to change the dummy_floats it will erase the 'EEPROM'. In short, this was the simplest solution I could come up with.

    • @AlexYeryomin
      @AlexYeryomin 6 ปีที่แล้ว

      Oh, I see, it's a problem when you upload a new version. At least, when you have tuned PID for the updated version, you could keep them in between flights.
      Thank you very much for great tutorials and explanations! I think to jump from 8 bits micro-controllers to STM32, and your videos are quite useful. Building a flight controller from scratch - that's amazing.

  • @fusca14tube
    @fusca14tube 6 ปีที่แล้ว +1

    Amazing feature! Congratulations!

  • @justanotheranonymousbeing
    @justanotheranonymousbeing 6 ปีที่แล้ว

    First of all a genuine thank you to you for bringing this project,it looks so Amazing that I can't wait to make my own drone. Please provide the link to codes

  • @ceptimus
    @ceptimus 6 ปีที่แล้ว +1

    Maybe it would be worth the slight extra complexity, and tiny extra weight, to add an I2C EEPROM module to store all the parameters? The AT24C256 modules (surface mount chip version) only weigh 6g and are available for about $1.50 on Ebay. They only needs two I2C pins (shared with your existing I2C sensors?), plus two power pins to connect to the STM32, and gives you lots of lovely non-volatile storage to play with.

  • @stephendoroff7949
    @stephendoroff7949 6 ปีที่แล้ว

    Hi Joop, I really enjoy and appreciate your videos and hard work. Have you considered a small FRAM chip to hold your settings when you unplug?

  • @luisguillermoballesteros1209
    @luisguillermoballesteros1209 6 ปีที่แล้ว +2

    Excellent!

  • @bohaman.
    @bohaman. 4 ปีที่แล้ว

    Hi sir, when I tried to calibrate the STM32 for the first flight with the accelerometer and the GPS However they don't seem to start calibrating if I push both to the upper left and upper right. Can you please help me? Thank you. I am using the autonomous schematic with the two LED lights.

  • @AmanRaj-rj9xm
    @AmanRaj-rj9xm 3 ปีที่แล้ว

    Hey, I think telemetry is just for display purpose, can we make it without apc220 telemetry module? or can we use any cheap telemetry of 144 mhz frequency?

  • @kopkaplanda7068
    @kopkaplanda7068 5 ปีที่แล้ว

    Hi Joop, first of all congratulations on the drone projects and for sharing the knowledge. I am building the project of Project YMFC-32 autonomous, but I can't get stm32 to communicate with the arduino one to make the telemetry system work, check my connections and everything is correct, check the APC220 module and it's transmitting, but what I observe is that I am receiving different characters, as if the B0 port was transmitting at a different speed at 9600bps. The parameters I have in the APC220 are the following RF: 9600bps Series Rate: 9600bps, I hope you can help me. Regards.

  • @pascalou95pascal52
    @pascalou95pascal52 5 ปีที่แล้ว

    Hello,
    what do I have to change to switch the control mode 1?
    thank you

  • @danishliaquat
    @danishliaquat 6 ปีที่แล้ว +1

    Great Joop! Keep it up.

  • @arnavmarchareddy1831
    @arnavmarchareddy1831 6 ปีที่แล้ว

    If the settings are lost can u store it in the eeprom????? Or the stm32 doesnt have one

    • @Joop_Brokking
      @Joop_Brokking  6 ปีที่แล้ว +1

      The EEPROM of the STM32 is not a real EEPROM. It's part of the flash memory and is erased when a new program is uploaded. So when you want to change the dummy_floats it will erase the 'EEPROM'. In short, this was the simplest solution I could come up with.

  • @kdarshit
    @kdarshit 6 ปีที่แล้ว

    Hey Joop, this is regarding the ymfc al project
    First of all grateful for the code
    And second I am facing some problem after arming when I increase the throttle it starts for a second then stops, no LED indication nothing happens at all , when I restart it gives the same problem
    What do I do?
    Thanx in advance

    • @Joop_Brokking
      @Joop_Brokking  6 ปีที่แล้ว

      If all the motors stop at the same time you probably have a I2C bus failure. Double check the I2C connections and make sure the are reliable soldered. Don't use bread boards on a quadcopter.

  • @technocrat9984
    @technocrat9984 4 ปีที่แล้ว

    How to connect pc to autonomous drone??

  • @connorb.3796
    @connorb.3796 6 ปีที่แล้ว

    Hallo Joop, ik heb de YMFC-AL gebouwd en deze vloog geweldig (voor mijn laatste probleem heb ik mijn arduino maar op een powerbank aangesloten), helaas stoppen de motoren er nu mee zodra mijn throttle boven de 50% is, wat ik nogal raar vind. Mijn batterijen zijn bijna helemaal vol. Ik krijg ook weer dezelfde vonken als aan het begin. Ik weet dat het hoort dat er vonkjes te horen zijn, maar deze zijn veel luider dan degene die ik ondertussen gewend ben (die van het opladen van de ESC's).
    - Connor

    • @Joop_Brokking
      @Joop_Brokking  6 ปีที่แล้ว

      Als de motoren uitvallen kan dat ook betekenen dat de motoren overbelast zijn. Gebruik je de juiste propellers voor de juiste motoren?

    • @connorb.3796
      @connorb.3796 6 ปีที่แล้ว

      Hallo, ik gebruik de A2212/13T motoren met 1045 props (degene die op je website staan(

  • @赵健朗
    @赵健朗 6 ปีที่แล้ว

    This is a great project. Thank you very much for your great contribution. These video contents are precious to us beginners.I will always follow your video to learn from you
    sir i have done everything accordingly what u have explained in all the videos...............when i uploded the YMFC-32-SETUP programme ,it appears “'HardWire' does not name a type”,an This causes the program to fail to compile,Can you help me?Thank you very much.

    • @Joop_Brokking
      @Joop_Brokking  6 ปีที่แล้ว

      Use:
      TwoWire HWire (2, I2C_FAST_MODE);
      instead of:
      HardWire HWire (2, I2C_FAST_MODE);

    • @javiergarindo6898
      @javiergarindo6898 6 ปีที่แล้ว

      hi, hardwire is a library, you have add the library.

    • @赵健朗
      @赵健朗 6 ปีที่แล้ว

      thank you sir,it works fine after i change TwoWire HWire (2, I2C_FAST_MODE); instead of: HardWire HWire (2, I2C_FAST_MODE)

  • @user-bi5yj7hs9t
    @user-bi5yj7hs9t 5 ปีที่แล้ว

    Where is the connections for GPS?

  • @Gaatech
    @Gaatech 6 ปีที่แล้ว

    That's a handy feature

  • @junuhunuproductions
    @junuhunuproductions 6 ปีที่แล้ว +1

    Great!!

  • @ChaitanyaKrishnabodduluri
    @ChaitanyaKrishnabodduluri 6 ปีที่แล้ว +1

    great bro...

  • @sorenwillrodt2376
    @sorenwillrodt2376 6 ปีที่แล้ว

    Is the schematic (www.brokking.net/YMFC-32/YMFC-32_schematic.pdf) stay like this? I want to layout a PCB for this and wnat to order ist, so i have it when you "finish" the project.
    Another nice touch would be to publish this on Github, so if bugs are discovered you dont have to gix them on your own, but others may help you to improve and maybe enhance the project. (it could be any other git page, but github is i think the most popular.

    • @Joop_Brokking
      @Joop_Brokking  6 ปีที่แล้ว +1

      No, the schematic will change. I have shown it a couple of times in my video's. It will be released with the code in September. For now I will maintain and improve the code in-house. But as always you are free to use it and post it anywhere they want.
      A lot of people already put the YMFC-AL on Github and it's a real mess. I just want to make sure that people can find the real code on my website.

    • @sorenwillrodt2376
      @sorenwillrodt2376 6 ปีที่แล้ว

      @@Joop_Brokking OK then I will wait a bit more.
      The thing with GitHub is that there has to be one main page everyone is working on. And someone should maintain it. If these things are taken care of github could be a mighty tool.
      Just a general question: is it important that the gyro is near the center of the PCB?

    • @franciscomartinho1749
      @franciscomartinho1749 6 ปีที่แล้ว

      Hi Soren have you made a PCB of the final version of the schema..? Could you share the scheme ?

  • @markgreco1962
    @markgreco1962 6 ปีที่แล้ว +1

    Wow

  • @future-of-technology
    @future-of-technology 6 ปีที่แล้ว

    Goood opinions

  • @gholiamirza7673
    @gholiamirza7673 5 ปีที่แล้ว

    🏅🏅🏅🏅🏅