YMFC-32 | Part 3 | Building the STM32 and Arduino based quadcopter.

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

КОМЕНТАРІ • 190

  • @bassome3000ify
    @bassome3000ify 7 років тому +4

    You don't know how much we learned from your videos, and other new people will eventually find your content

  • @qqq9865
    @qqq9865 4 роки тому +5

    Thank you, good work Joop Brokking
    Changes in STM32 code.
    Assign serial-line pins in the Arduino IDE
    -Serial1.begin (9600); // TX-PA9 / RX-PA10
    -Serial2.begin (9600); // TX-PA2 / RX-PA3
    -Serial3.begin (9600); // TX-PB10 / RX-PB11
    -Serial.Begin (9600); // USB (PA11 / PA12)
    "HardWire" library is integrated into "wire.h" and renamed to "TwoWire"
    Summary of responses to the 2020-09-18 code adjustment
    YMFC-32_Setup_ver-1a
    -Serial.begin(57600); to Serial1.begin(57600);
    -"HardWire" to "TwoWire"
    "YMFC-32_Flight_Controller_ver-1a"
    -"HardWire" to "TwoWire"

  • @Joop_Brokking
    @Joop_Brokking  7 років тому +34

    My goal is to release the software and website on January 13, 2018.

    • @shubhamshukla167
      @shubhamshukla167 7 років тому +3

      Joop Brokking we are waiting for it sir, you are the person who made me learn arduino and microcontrollers🙏
      Thank you for doing this

    • @stagecoachmechanic
      @stagecoachmechanic 7 років тому

      Will be waiting..

    • @spotdoit6047
      @spotdoit6047 7 років тому +1

      Please make flight controller with gps

    • @AlvaroPandolphousa
      @AlvaroPandolphousa 7 років тому

      !! I can't wait !!
      I did the Balance robot and I will build this one
      Thank you Mr Joop

    • @chanlee8732
      @chanlee8732 7 років тому

      You are great.

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

    Hi Joop. I would like to thank you for al this work and sharing it with us. It is a wealth of knowledge. Getting back intto the RC hobby from being not able for years i am on the verge of building this. Thanks again.

  • @satiromedeiros6876
    @satiromedeiros6876 7 років тому

    Joop! You're really good at what you do! continue like this, my friend! You really are an expert and it's low cost drones! Only now lack to put in your programs the option of "flight modes" I believe that a "Headless" would already help! And something with barometer to keep the altitude of course! Congratulations on the excellent work!

    • @Joop_Brokking
      @Joop_Brokking  7 років тому +1

      I'm currently working on a telemetry and a altitude hold add-on. And I hope to explain more features this year.

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

    @ 3:50 you said ground is connected to the ground (battery negative). but in your schematic it is connected to POSITIVE of battery?
    also can i use stm cube ide instead of arduino ide?

  • @ankan_001
    @ankan_001 11 місяців тому

    Sir, could you please suggest how to modify the code to make a hexacopter instead of a quad?? Like the connections for the 2 extra ESCs and necessary changes in the code...

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

    hello, can you do it for the aircraft and specifically for the FSi A6B receiver!?

  • @sanjugera4854
    @sanjugera4854 7 років тому +1

    hey after esc calibration the flight controller program is not working can u plz help me out with this problem?

  • @emmanuellamba514
    @emmanuellamba514 5 років тому +2

    Hello Sir, Is it possible to add a FPV Camera to your YMFC-32 autonomous Drone?
    Awaiting your reply...

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

    Hi joop, I was wondering if is it possible to make ymfc-32 using stm32f401 blackpill and not the one you are using bluepill.

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

    Hi Joop. Thanks for you work. I would like to know if it's possible use 5 volts from a pdb matek to supplies the stm32 and all circuite instead use one esc?

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

    In my case, when i turn left the left stick throttle increases, turn down the left stick pitch increases
    With right stick when turn left roll increases. I did all the connection according to the schematic. Any answer for this problem?

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

    hi. I have build F450 drone but not work calibration Esc. When i put battery i hear only 2-3 beep. I put top position the trotthle and after connect battery i move down the throttle. But nothing. I dont hear another beeps and motors not spin. Where is my mistake ? thnks

  • @Maslerbotics
    @Maslerbotics 7 років тому +4

    Good work, it would be good to apply it with the ESP32, which is dual core at 240Mhz , WIFI, etc.. and compatible with the arduino ide

    • @fleshTH
      @fleshTH 7 років тому

      I was thinking the same thing.

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

      I'm thinking the same thing.

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

    Hi @joop Brokking. Actually i had a problem regarding the receiver outputs displayed on the serial monitor.
    They are like :
    start: 1 , Roll:

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

    Im trying to add 6*hrscr04 all side and up-down but i m confuse for PPM as it has only 1 signal wire and i have PWM can u help me

  • @BhavyaBansal-h7q
    @BhavyaBansal-h7q 9 місяців тому

    Anyone plz help me while compling this code i am having error . I2C_FAST _MODE was not declared in this scope

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

    @joop brokking Why didn't you use a diode in this set up? you did use it in your earlier setup.
    Waarom wordt er hier geen diode gebruikt en wel in de eerdere versies?

  • @MrHristoB
    @MrHristoB 4 роки тому +2

    This is a very rewarding project and thank you for sharing!!! I've decided to give it a go but when compiling i'm getting this error: YMFC-32_Setup_ver-1a:31:1: error: 'HardWire' does not name a type
    HardWire HWire(2, I2C_FAST_MODE);
    I think i've installed the libraries, also uploaded an i2c scanner and mpu6050 test sketches in the stm32 board and both work. any idea why am i getting this error. my suspicion would be library conflict but since my knowledge in coding is minimal i need some help here. Thank you in advance

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

      Use TwoWire instead HardWire

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

      oh i just thank you so much, i think it lost of library:

  • @JeanLucCoulon
    @JeanLucCoulon 7 років тому

    Thank you very much for the detailled and clear informations.

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

    Cann't download softwarepackage YMFC_32 and YMFC_32_auto. Message 404 Page not found

  • @janakasangeeth7767
    @janakasangeeth7767 29 днів тому

    When Compiling the setup code i got error for HardWire.h library why

  • @power-max
    @power-max 6 років тому

    I am trying to make a camera gimbal (e a is open source) Will you Cover the basics of using quaternion angles in the context of quads?

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

    Sir as u have provided the schematic of the project but sir I want to know what voltage and current u provided to the PA4 pin...

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

    //analogRead => 0 = 0V ..... 4095 = 3.3V
    //The voltage divider (1k & 10k) is 1:11.
    //analogRead => 0 = 0V ..... 4095 = 36.3V
    //36.3 / 4095 = 112.81
    The pin Lipo is 12.6V right ?. Why in here is 36.3V ?
    Can anyone explain me?

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

    hello,
    I have problem ...
    only 2 motor spinning and the other's are not why?
    someone help me please.
    thanks for helping

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

    Can I use flysky ct6b transmitter?

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

    hi Mr. joop I am building ur quadcopter using FLIP 32 flight controller I need to load ur code in to flight controller I already installed the driver what I need to know is how to connect the receiver channels and how to connect it to the ESC I checked the schematic diagram of the FLIP 32 it have some difference with ur schematic could u please help me can i use the data sheet that come with FLIP 32

  • @marcusvinicius-ib1uk
    @marcusvinicius-ib1uk 2 роки тому

    o codigo nao esta carregando da o seguinte erro hardwire does not name a type

  • @user-bi5yj7hs9t
    @user-bi5yj7hs9t 4 роки тому

    Hi, I have problems with the sketch :c, I don't Know if is my library or other thing, pls help, my sketch don't compile

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

    Hello,
    I just finished editing with the stm32f103c8t6, but the program works with arduino buno!
    I would like to have the program for the stm32f103c8t6.
    thank you

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

    Can I use a transceiver instead of single receiver at the quadcopter so I can send data to computer either ? If yes, which product do you recommend if I am using the same RC controller, and Arduino Mega.

  • @yashasranjan8497
    @yashasranjan8497 7 років тому +3

    I was interested to know that does this flight controller Autolevels the Quadcopter like the YMFC-AL Project or is just Acro like the YMFC-3D V2? And also I am in love with all your projects because of the neatness of the prototypes and the simplicity and of course the content quality. I really appreciate your work and hope you will continue doing such awesome projects...

    • @Joop_Brokking
      @Joop_Brokking  7 років тому +2

      In the beginning of the flight controller program there is a variable "auto_level". When set to false the quadcopter has Acro capabilities. Never, NEVER switch AL-Acro modes during flight!

  • @dennisg.6802
    @dennisg.6802 7 років тому +1

    Hey Joop. Great tutorial. Thanks! Short question: It is save connecting the STM32 to the computer via USB and have the battery connected to test the motors at the same time? It is possible to damage my usb port?

    • @Joop_Brokking
      @Joop_Brokking  7 років тому +1

      Under normal circumstances the highest 5V will feed the electronics. Or the load will be shared. Most likely the USB port is protected against short circuits. So this should not be a problem.

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

    When I am upload the program then serial monitor show warning throttle is enabled and the board is unable to arm

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

    Hi, i changed the line to the new line but a new error was given " expected unqualified-id before '?' token " What should I do ? Thanks for all

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

    Hello Sir, can i make this Flight Controller Board with Arduino Nano?

  • @drtarik5013
    @drtarik5013 7 років тому

    Very good work that a lot for all your efforts , i have question if we can convert to esp32 and take profit og the wifi module , the idea its to make a android app to control the droe via wifi

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

    Hi sir, where could I find the test program you mentioned at 4:55 in your website?

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

      www.brokking.net/YMFC-32_downloads.html

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

      Thank you very much, sir! I found that when I clicked the link you attached, the page didn’t show the zip file that contained the test programs. Only when I clicked the download tab again did the page show the zip file. I don’t know if this would be some helpful information if anyone else wants to download the files.

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

      @@Joop_Brokking There is no code and files, only stm libraries.. plz help with codes

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

      use commensence

  • @aunullahqaiser4411
    @aunullahqaiser4411 7 років тому

    Awesome as always.

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

    Thank you, i'm building my drone follow your video. So far so good but how to use mutiple I2C, UART on Blue Pill ?

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

      check the STM32 for Arduino forum: stm32duino.com

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

    In my STM controller is perfectly working with receiver but i2c device is not detecting pls help me sir

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

      Firoz Khan,What happened then?Did you solve this i2c atlast?

  • @yashasranjan8497
    @yashasranjan8497 7 років тому

    You mentioned that this code can also be used with a Flip32. Is it possible to use this hardware with Clean Flight or Beta Flight?

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

    Can it work with ardupilot or betaflight software.

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

    What does YM stand for?

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

    Hello sir. I'm trying to figure out a simple question that I found no answer on the internet. And after watching this video I think you are the very one that can answer me.
    Can I load my own firmware to any STM32F103 board using Arduino IDE via USB?
    The one you mentioned in the video has a USB to serial converter, but are the ones without converters already have bootloaders burned?

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

    Sir Can I use Arduino nano instead of stm32? plz sir rply me

  • @adityaanandiitb5302
    @adityaanandiitb5302 7 років тому

    hii joop my quad weights about 1000 grams and the total thrust is 2520g should I need more thrust motors??

    • @Joop_Brokking
      @Joop_Brokking  7 років тому

      Normally the quad hovers at half throttle. So you should be fine.

  • @thu-alfikarfalih3278
    @thu-alfikarfalih3278 6 років тому

    Mr job can I use the same type of esc in this STM quadcopter to ymfc v1

  • @SirArghPirate
    @SirArghPirate 7 років тому

    Can you access the timers for precise timing on these microcontrollers the same way as with avr ("arduino")?

    • @Joop_Brokking
      @Joop_Brokking  7 років тому

      Yes, please check this video as an example: ua-cam.com/video/JFSFbSg0l2M/v-deo.html

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

    Found another problem in hardware(Input capture mode without battery). The 5v from STM32 won't enough for the receiver. Resulting failure in reading PWM signals

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

      what did you do then ? I have the same problem

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

      well, just follow the normal procedure mentioned in the video to calibrate the devices. Play with if you'll figure it out. Btw initial rc testings might get tricky. Do the tests that can be done.

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

      Also i have problem that only 2 motor are spinning and the other’s are not and I did the calibration and didn’t work do you know how i can solve it?

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

      Do the motor testing, check your circuitry, check the motors individually

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

      I did but didn’t work only if i switch the 2 esc cables with other 2 esc cables that are connected to the stm32 then the 2 motor were spinning will not now and the other 2 motor will spin

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

    I'm using the FS-IA6B receiver, do I still need to connect channel signals 1 to 6 or just 1 wire that's from PPM/CH1?

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

      @khimaira - I am using it as well but how you connected it ?

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

      @@eliastannous8327 Sorry I forgot the details, but either worked, I tried both ways one wire and 6

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

    is it necessary to add a voltage divider to A4 ?

  • @fadilahakbar7549
    @fadilahakbar7549 7 років тому

    That very awesome.... 👏👏👏👏

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

    joop brokking still i m finding code for auto level quadcopter through mpu6050 control by stm32f103c8 i didnt found code kindly send me link so i could download code

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

    I can not find it this "YMFC-32_Flight_Controller_test_ program" where it can be downloaded

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

      It's in the same file as the flight controller code.

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

    hi, the quality of work is super awesome, i need help regarding STM 32, i cant find the code, i dont want autonomous, just need simple one, plz help

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

      Most of people did not find non autonomous code...that is the problem

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

    Hello, first I have to mention I typed this same reaction as response to a different video.
    I build this FC using the STM32.
    Installed the test program version 2b.
    All seems to work. All tests run. Even the vibration test runs fine.
    Also I can start all the motors. BUT ! ! !
    When I switched on the power (from a 11.1V accu) the motors are getting nervous and are making random movements in both directions. Motors and ESC's become very hot. One of the motors (motor-1) starts smoking.
    So power-off.....
    There is a note *1 in the schematic saying the red wires from the ESC's should not be connected except for one.
    I connected them all. I also used a bucksupply providing power to the FC for the 11.1V battery.
    But I have the feeling this can not be the reason for the random movement of the motors after switching on.
    Does any of you have an idea why I have this problem?

    • @aldiriswandi4655
      @aldiriswandi4655 8 місяців тому

      I have same problem. It is caused by loop time exceeded

  • @sofiancétogène
    @sofiancétogène 5 років тому

    hey thanks you but i have a problem with the code, i did all the thing you said but it still writting this error "HardWire" does not name a type, so i can't upload the program after all my soldering it's quite annoying plz help me

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

    I just tried flying my build of this and noticed some drift etc. that I was having a hard time dealing with but in doing so I realized that the orientation of the pitch is opposite to what I was expecting and indeed opposite to that of the little JJRC H36. I would have expected to move the pitch forward to go forward and back to go back as in an airplane and indeed in the H36. Is this a mistake or am I missing something? I can reverse the Channel (2) on my transmitter to correct this I believe. Thanks, I may have more queries as I work through my issues.

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

      If you run the setup program you will see the arrows on the screen that indicate the stick direction. Pitch stick back is nose up. So you have to reverse your transmitter channel.

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

      Thanks for confirming. I did all the setup and it works as advertised I just didn’t realize how it would affect me until I actually tried to fly it. Old age doesn’t make for a “plastic” brain!

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

    Hi sir, I can't find the YMFC-32 set-up program and flight controller program (non-autonomous)

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

      hello , even i cant he find the code on the website or anywhere else. pls reply

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

      I didn't find any YMFC-32 (Non Autonomous) software in his website & when I was gonna test the YMFC-32 Autonomous code that code did not compile in arduino IDE

  • @adityaanandiitb5302
    @adityaanandiitb5302 7 років тому

    nice easy to understand

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

    Please help receiver input value of throttle is zero show wire connection is correct

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

      what if you swap two channels? For example throttle with yaw. Is the fault moving to the other channel? Also make sure that the ground ( - ) of the receiver is connected to the ground of the STM32. Otherwise no pulse is detected.

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

    Ok so I hope someone see this but I’m doing this project and when I connect my battery my circuit does NOT power on I have a 3 cell 11.1 v 5200mAh battery( the only thing not right is the current supposed to be 2200)

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

    where i can get this file project?

  • @sumit_kashyap..
    @sumit_kashyap.. 7 років тому

    Great video as usual.. :-)

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

    Where is the test program?? I could not find it in the files that I downloaded from your website

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

      What YMFC version did you download? The YMFC-32 of the YMFC-AL?

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

      @@Joop_Brokking I also visited your website for YMFC-32 non autonomous code but there is no code files for only YMFC-32 non autonomous hardware test program & flight controller program,please tell/answer me as I saw most of people did not find this same code so that I can tell/help them,anyway thanks Joop,my friend..

  • @Boris1990ua
    @Boris1990ua 7 років тому

    Great video. Can anybody explain to me why only one BEC should be connected?

    • @SirArghPirate
      @SirArghPirate 7 років тому

      Boris1990ua only one bec nescessary to power everything on 5V. The becs don't allways output exactly 5V so any difference between them may cause problems.

    • @Joop_Brokking
      @Joop_Brokking  7 років тому

      When using switched BEC modules they will "fight" each other. Causing an unstable voltage.

    • @SirArghPirate
      @SirArghPirate 7 років тому

      Joop Brokking also, many becs are switching to regulate voltage (e.g pwm, not analog regulators), meaning the pulses aren't syncronized.

  • @philliptwin326
    @philliptwin326 7 років тому

    Hi, great videos man, I just wanted to ask you a question about what program you used to draw the schematic, please I hope your response soon

  • @arnavmarchareddy1831
    @arnavmarchareddy1831 7 років тому

    Why didn't you use atmel studios, I though you switched over to it from the arduino ide

    • @Joop_Brokking
      @Joop_Brokking  7 років тому

      For my own projects I use AS. For the things that I share on UA-cam I still use the Arduino IDE.

  • @hammershigh
    @hammershigh 7 років тому

    Great video (again)! A short note on your video equipment for making the videos and also the software?

    • @Joop_Brokking
      @Joop_Brokking  7 років тому

      Thanks! I use VLC for screen capture, Magix video deluxe for editing and a Canon Legria HF M52 for filming.

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

    hi joop I I'm building stm 32 qadcopter every thing was going ok but when I tried to flash the code the sirial monitor doesn't display any thing the external red led( whech is connected to PB4) stays on for half second and blinks could u help me please what could be the problem i checked every thing but I couldn't find the problem please help me i am stack here

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

      Did you upload the test software first? This will help to test the hardware. If nothing works you could try to upload a simple program just to see if the STM32 works.

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

    Now every thing is all right but pulse still 0 and print intro is not print on serial monitor please halp

  • @spotdoit6047
    @spotdoit6047 7 років тому +3

    Please sir add gps also in this so it or better

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

    Can I use flysky i6 ??

  • @rohityjet4812
    @rohityjet4812 7 років тому

    Hey Joop Nice Work ......

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

    I can not upload YMFC-32_Flight_Controller_ver-1a this error indicates " 'HardWire' does not name the type " i need help

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

      change:
      HardWire HWire (2, I2C_FAST_MODE);
      into:
      TwoWire HWire (2, I2C_FAST_MODE);

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

      Hi, i changed the line to the new line but a new error was given " expected unqualified-id before '?' token "
      What should I do ? Thanks for all

  • @markgreco1962
    @markgreco1962 7 років тому

    very nice work

  • @wi_zeus6798
    @wi_zeus6798 7 років тому +1

    How do you measure temperature?
    Great project!

    • @trunghieu880
      @trunghieu880 7 років тому +2

      Manuauto mpu6050 support it

    • @wi_zeus6798
      @wi_zeus6798 7 років тому

      trunghieu880 ok, thanks

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

    what is the role of ch 5 and ch 6

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

    Whining I upload the program in stm32 then HWIRE` not declared in this scope error show by arduino ide

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

      If you use the STM32 for Arduino add-on from: github.com/rogerclarkmelbourne/Arduino_STM32
      Change:
      HardWire HWire(2, I2C_FAST_MODE);
      To:
      TwoWire HWire (2, I2C_FAST_MODE);

    • @赵健朗
      @赵健朗 6 років тому +1

      hello, Sir. Have you solved your problem?When I compile the program STM32 TEST, it appears ['HardWire' does not name a type], a similar problem to yours, which caused the program to fail to compile. Can you help me? Thank you very much~

    • @赵健朗
      @赵健朗 6 років тому

      Hi, Joop Brokking thank you very much, the program can be compiled normally, so happy to meet you~

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

      ​@@赵健朗 hello i also fase this problem how to correct it .can you help me

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

      ​@@Joop_Brokking​: after changing this error occurs
      error: 'PB9' was not declared in this scope
      pinMode(PB9, PWM);

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

    i did everything but i can't find this flight controller test program

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

      Giorgi Bichiashvili keep the USB cable attached to pc. Upload only the setup sketch for STM32. STM32 in programmode. Sketch setup uploaded? Place the pin back in non programmode. Open the serial monitor in Arduino IDE. Now press the button on the STM32. The test program will start. Follow the instructions onscreen. Read all instructions of Joop Brokking. All tested, load the flight program. Keep in mind that the values of the gyro had to be put in the setup and flight sketch. Mind the program and non program mode.

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

      @@robsmit932 most of people did not find YMFC-32 non autonomous hardware test program & flight control program..How he could upload the sketch?

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

    Hello sir I'm having a problem with test program. I get zero values in receiving mode but from your 'Connecting RC receiver videos' i downloaded ICM_2 code and when i upload that i get good results but when i try to upload test program i get zero all the time any idea why?

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

      Hello,
      you use which processor, the stm32 or arduino uno?

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

      @@pascalou95pascal52 i used stm32f103c8t6 but i didnt make the pwm to ppm converter

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

      @@furkantut7885 you can use ppm output compatible receiver

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

      @@sandideas5993 my receiver has pwm output and i cant change it right now

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

    When I uploaded the program it comes out this 'HardWire' does not name a type. What have I done wrong?

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

      Change it: "HardWire"->"TwoWire"

    • @NguyenHung-rz5uj
      @NguyenHung-rz5uj 4 роки тому

      @@aivaraspetrikas15 I changed the HardWire -> TwoWire but I2C_FAST_MODE 'was not declared in this scope i can't know what to do, help me

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

      @@NguyenHung-rz5uj select the appropriate stm32 board in the tools

  • @myetis1990
    @myetis1990 7 років тому

    Hi Joop, good job friend, thank you for your efforts.
    If you make a video about explanation and implementation of kalman filter, D term lowpass on PID, dynamic notch filter, It will very helpful for many people and I think you will get more subscription.

    • @Joop_Brokking
      @Joop_Brokking  7 років тому +1

      People keep thinking that the Kalman filter is some sort of holy grail that will make everything right. I simply don't go with that because I try to keep it as simple and understandable as possible. The more I know about Kalman the more I think it's heavily overestimated.
      On the other hand there is much more to gain by decreasing the main program loop time to get more data and use better (faster) ESC's with break functionality.

  • @kresimirbakovic2614
    @kresimirbakovic2614 7 років тому

    You are legend!!!

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

    Can I u programs GpS system in Arduino

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

      yes,GPS is also easy as this...If you need you can contact me.

  • @ramghongde4669
    @ramghongde4669 7 років тому

    Great. As usual
    ;)

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

    error:: 'HardWire' does not name a type
    please provide solution sir!

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

    I'm getting HardWire error can you help me

  • @bravobhr
    @bravobhr 7 років тому

    thanks i love that

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

    i mean the esc output channel and input

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

    your voice reminds me of that photography guy with the dog

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

    I am unable to find a gps that has a genuine HMC5883L compass they all have the DA5883 can you tell me where to buy one and that doesn't cost me a squillion dollars as I am only on a disability pension

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

    Channel 3 input value is zero shown how to solve

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

      Check the receiver connections. You could also swap channels on you receiver to see if it is the receiver or the STM32.

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

    I just checked my transmitter pulses, and they read within the correct range (1000-2000). I then connected the ESC data wire to channel 1 of the receiver, and all 4 ESC wires read values that are not 1000-2000. They read anywhere from 3500-13000. Because of this, I am not able to calibrate my ESCs. Thoughts?

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

      The only thing that I can think of is that you not have a solid ground and signals can start to float. Make sure that you have a solid power supply and that all your connections are reliable soldered.

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

      Thank you for the reply. Upon further investigation I figured out that I forgot to solder ONLY the ESC pin headers to the stm32 while all other pins were soldered to the board and headers *major facepalm*. So the 4 ESC wires were only making contact to the stm32 when the pins were bent. Keep on making the quality content. You've definitely earned a new subscriber.

  • @PeterK6502
    @PeterK6502 7 років тому

    Ook hier vordert het project met flinke sprongen. Ik zit naar je schema te kijken (lijkt bijna indentiek aan de mijne, echter ik heb ook B0 en B1 aangesloten).
    Ik heb echter wel een opmerking over je getoonde schema: ik zie dat je de VB pin (Vbat) niet hebt aangesloten, echter in de documentatie van de STM32 staat het volgende: "If no external battery is used in the application, it is recommended to connect VBAT externally to VDD with a 100 nF external ceramic decoupling capacitor (for more details refer to AN2586)".

  • @adelashour3253
    @adelashour3253 7 років тому

    nice

  • @viggibot
    @viggibot 7 років тому

    Do some quadcopter using arduino nano

    • @Joop_Brokking
      @Joop_Brokking  7 років тому

      You can use the YMFC-AL and replace the Arduino UNO with an Arduino Nano.
      www.brokking.net/ymfc-al_main.html