Wonderful video! Couple of hiccups that I ran into along with the solutions that might help someone else testing this code: 1. When I first ran this, the variables in example 1 weren't showing up in the SRAM dump. The C compiler must have optimized them out because they weren't used. If you declare them as "volatile long" instead of long, you will see them in the dump. Maybe there was a change to the compiler since this video was made. 2. I was getting a lot of "garbage" in my serial monitor before the data could be seen. If you slow down the baud rate, this will help. If you change UBRR0L from 16 to 103, this will change the baud rate from 57600 to 9600. It's a lot slower, but the output is cleaner. For other baud rates, see the ATmeg328P data sheet and be sure to change the baud rate in your monitor to match the Arduino.
This very clearly exemplifies the necessity of understanding & practicing good memory management; in the broader realm of computer programming, but most-especially when working in the limited memory world of micro-controllers. Well done!
This playlist is amazing. Learning so much! Your brief mention of int main() is huge esp. for attiny ir other smaller processors, seems obvious but i never considered it previously. Please keep these coming!
Super video - I learnt a tonne of stuff and find your style very clear to follow. Now I will run your examples and experiment to consolidate what I have learnt. My particular problem is some code that creates 'random' wdt resets after a few hours and I suspect heap / stack collision due to using strings. Although I can remove the problem empirically I want to dig deep and find out the real cause. Lots of learning opportunities! Will watch the videos you referenced too. Great material, thanks Joop.
It's worth looking into the Rust programming language, I hear there is an effort to support microcontrollers. Rust takes revolutionary steps to ensure memory safety.
how do you get it running without loop and setup? i always get a compile error. i thought in arduino IDE that is impossible to programm in int main style
Hi joop I'm building an Arduino base drone similar to your ymfc project but I am adding 4 ultrasonic sensor to it for obstacle detection and was wondering if there's a way to get to you. I am not very good at coding but have a good knowledge on it would love your help on few aspect on my codes thank you .
I’m your new fan 🎉 I recently learned ymfc drone project,gps,arduino and more ❤ But bro what is happened with you😢 your last video uploaded 1 year ago 😢 Are you okay!????? Please replay😊
Hi Joop,, thank you for nice tutorials. I did not get variables set at 0x0100 when using your zip examples and latest IDE (1.8.10) possibly due to different code optimization default setting. Variable appears when used (in while loop).
Hlo, i have a humble request If u could show a path/ guide to become a drone programmer. Sources, material and where to start as beginner. I've following you ymfc from the beginning but there are lot of difficulty in understanding the code and also some topics like interrupt and other doesn't make much sense to me, pls read this comment it will help a lot of students and diyers. If some in comment section can suggest pls do so.
Sir, please help me out, I was following the video for ymfc _Al version 1 And my quad flips while taking off the orientations of the motors are correct!!! Please help me out!!
Dot on Gyro needs to point to the left rear of quad, if gyro is mounted correctly mybe you failed in setup when you where calibrating gyro. If everything is ok try lifting right wing up at first step in gyro calibration.
I just came across your channel this week and wanted to let you know that I absolutely love your content! Out of curiosity, do you see any possibility that you would produce a video series on self-leveling planes?
Hello Joop, I have several questions with regards to stm32 quadcopter project. I have been struggling to get the project to work and I hope you can find time to discuss the issues with me via email or something. It would really help me out.. Thanks!
Hoi Joop, Ik leer een hoop van je video's en ben erg geinspireerd geraakt. Ik heb nu de upgrade gemaakt van Arduino naar de STM32F103C6T8 (Blue pill). Deze wil ik graag programmeren buiten de Arduino IDE. Ik kan .bin files uploaden. (Deze maak ik wel via de Arduino IDE) Maar ik probeer nu via STM32CubeIDE een 'Blink' programma te maken. Daar loop ik een beetje vast. Zou je me hiermee kunnen helpen? Zoja: via wat wil je communiceren? Sorry als de reacties niet de goede plek zijn om dit te vragen maar kon geen betere manier vinden. Alvast heel erg bedankt!
Oke op een of andere manier kan ik de GPIO C dingen niet aan sturen maar werkt het met GPIO B wel. Geen idee dan maar geen geintregeerde LED. Toch bedankt voor alle je leuke videos!
please remove dealextreme links on your website on parts list for YMFCs, this website is terrible they shouldn't be promoted. :/ their website doesnt even let you log in and overcharges you for shipping/items.
Professor: "Show an example of a perfect explanation.."
Me : *Opens Joop Brokking's channel*
We miss you Sir Joop, you haven't had any update project lately. Hope to see more of your videos.
Wonderful video! Couple of hiccups that I ran into along with the solutions that might help someone else testing this code:
1. When I first ran this, the variables in example 1 weren't showing up in the SRAM dump. The C compiler must have optimized them out because they weren't used. If you declare them as "volatile long" instead of long, you will see them in the dump. Maybe there was a change to the compiler since this video was made.
2. I was getting a lot of "garbage" in my serial monitor before the data could be seen. If you slow down the baud rate, this will help. If you change UBRR0L from 16 to 103, this will change the baud rate from 57600 to 9600. It's a lot slower, but the output is cleaner. For other baud rates, see the ATmeg328P data sheet and be sure to change the baud rate in your monitor to match the Arduino.
Yes your are absolutely right , thank you
This very clearly exemplifies the necessity of understanding & practicing good memory management; in the broader realm of computer programming, but most-especially when working in the limited memory world of micro-controllers. Well done!
IS SIR JOOP OK? I KINDA MISS HIM FOR HIS WONDERFUL TUTORIALS... I HAVE LEARN SO MUCH FROM HIS CHANNEL. HOPE HE'LL BE MAKING MORE VIDEOS SOON.
Hi Joop. Your channel is exactly what I was looking for. Thanks for the precious work and for the sharing!
This playlist is amazing. Learning so much! Your brief mention of int main() is huge esp. for attiny ir other smaller processors, seems obvious but i never considered it previously. Please keep these coming!
What an impressive tutorial!
Super video - I learnt a tonne of stuff and find your style very clear to follow. Now I will run your examples and experiment to consolidate what I have learnt. My particular problem is some code that creates 'random' wdt resets after a few hours and I suspect heap / stack collision due to using strings. Although I can remove the problem empirically I want to dig deep and find out the real cause. Lots of learning opportunities! Will watch the videos you referenced too. Great material, thanks Joop.
Before this I just know a little bit of codes.
But with your wonderful explanation I have understood a lots of the Arduino's memory works.
I'm really missing your videos. Hope all is well!
Great stuff! Thanks for your in-depth tutorials!
a beautiful video. we miss you
It's worth looking into the Rust programming language, I hear there is an effort to support microcontrollers. Rust takes revolutionary steps to ensure memory safety.
Hi Joop, how are you?
Any updates? Please come back to this hobby again, we are really missing you.
Excelllent video sir, please make more videos on arduino.
Hey, are you planing to upload more videos?
Great explanation, you helped me a lot with your videos! Thanks a lot!
Excellent and Clear! Your video is very perfect!
Thank you. Very clear explanation with great examples. 👍😃
Thanks for taking the time to inform and educate 👍👌
in the design of the arduino drone, if i use a 4 cell battery, what is the maximum current i can use?
Sir come back please miss you😭
Hey, will you follow up with another video?
Outstanding, very clear, thanks Joop
how do you get it running without loop and setup? i always get a compile error.
i thought in arduino IDE that is impossible to programm in int main style
okay, i found out it compiles when using something like arduino nano- but not with ESP32 - i think because of the underlying usage of freertos tasks
why subtitles are closed & unavailable!!!!!!
Hi joop I'm building an Arduino base drone similar to your ymfc project but I am adding 4 ultrasonic sensor to it for obstacle detection and was wondering if there's a way to get to you. I am not very good at coding but have a good knowledge on it would love your help on few aspect on my codes thank you .
Joop sir please give me some knowledge about ymfc pcb please update in ur website
Thanks for amazin explenation. 🙏
I’m your new fan 🎉
I recently learned ymfc drone project,gps,arduino and more ❤
But bro what is happened with you😢 your last video uploaded 1 year ago 😢
Are you okay!?????
Please replay😊
Hi Joop,, thank you for nice tutorials.
I did not get variables set at 0x0100 when using your zip examples and latest IDE (1.8.10) possibly due to different code optimization default setting. Variable appears when used (in while loop).
Very helpful video. Thanks!
Hey, joop thank you for the video again!! can you do a video about how to design PCBs? I saw that you design a lot of PCBs in your videos
please make a video of Raspberry Pico with C programming
Fantastic explanation!!! Bedankt Joop!
👍👍👍👍👍 very useful
Hela waar zijn de nieuwe uploads?😉
Plzzz make a tutorial on how to make a gimbal using brushless motor
update link for code the examples please !
Hlo, i have a humble request
If u could show a path/ guide to become a drone programmer. Sources, material and where to start as beginner.
I've following you ymfc from the beginning but there are lot of difficulty in understanding the code and also some topics like interrupt and other doesn't make much sense to me, pls read this comment it will help a lot of students and diyers.
If some in comment section can suggest pls do so.
example link doesnt work :( -> edit: right click "download link" work... its just youtube which blocks the link...
Excelente video, gracias por compartir.
Great video! Your code examples seem to be blocked for download by chrome for some reason.
Sir, please help me out, I was following the video for ymfc _Al version 1
And my quad flips while taking off
the orientations of the motors are correct!!!
Please help me out!!
It's very urgent!!
Dot on Gyro needs to point to the left rear of quad, if gyro is mounted correctly mybe you failed in setup when you where calibrating gyro.
If everything is ok try lifting right wing up at first step in gyro calibration.
@@ajduk6012 I have done both the things , issue not solved, any more ideas?
I just came across your channel this week and wanted to let you know that I absolutely love your content! Out of curiosity, do you see any possibility that you would produce a video series on self-leveling planes?
Hello Joop, I have several questions with regards to stm32 quadcopter project. I have been struggling to get the project to work and I hope you can find time to discuss the issues with me via email or something. It would really help me out.. Thanks!
please make a tiny quardcopter using coreless motor and arduino mini
So good seriously. Thank you.
Please show us a drone made of raspberry pico
Excellent! Thank you.
Hoi Joop,
Ik leer een hoop van je video's en ben erg geinspireerd geraakt.
Ik heb nu de upgrade gemaakt van Arduino naar de STM32F103C6T8 (Blue pill).
Deze wil ik graag programmeren buiten de Arduino IDE. Ik kan .bin files uploaden. (Deze maak ik wel via de Arduino IDE)
Maar ik probeer nu via STM32CubeIDE een 'Blink' programma te maken. Daar loop ik een beetje vast.
Zou je me hiermee kunnen helpen? Zoja: via wat wil je communiceren?
Sorry als de reacties niet de goede plek zijn om dit te vragen maar kon geen betere manier vinden.
Alvast heel erg bedankt!
Oke op een of andere manier kan ik de GPIO C dingen niet aan sturen maar werkt het met GPIO B wel. Geen idee dan maar geen geintregeerde LED.
Toch bedankt voor alle je leuke videos!
Good explánation
Excellent explanation, thank you ;-)
Hello from electronoobs
🔥
Hello sir , haven't seen you active for a long time . Are you okay ? Please respond through a community post or through a video !
why there is 5 dislike? this video need to be on Rank :)
Would you consider adding a camera to your drone
Great Work Done Bro *****/5
OMG! Thank You sooooooooo much.
I m lucky. I find your channel
AMAZING!
thank you sir
Joop you rock !!!
Miss you Sir...Hope everything is ok :/
Hello from electronoob
Hello everyone, i came here from electronoobs channel.
👍
What happened to you? We miss you a lot!
Hii from electronoobs
Push on the Stack, Pop off the Stack is fast
It is always funny for me as a Pole.
"Sram" means "I'm shitting"
Hi!
Do you have some email address, so we can reach you?
I head "Goat" all the time! What is it about the Goat here ?!?
please remove dealextreme links on your website on parts list for YMFCs, this website is terrible they shouldn't be promoted. :/
their website doesnt even let you log in and overcharges you for shipping/items.
Funny fact: In Polish lanaguage "sram" means "i'm pooping"
electronoobs brought me here
I will be Unsubing all channels until the dislike button works. No dislike? No like!
hard to understand your English pronunciation