IMPORTANT: if you have copied and pasted sources be careful because the PWM example source provided by the author has an error. Indeed it lacks the TCCR1A configuration "TCCR1A |= B00000111;" in the setup... In the video it's present but in the source file on the website it's not. However, very detailed video! Nice work!
Very nice explanation. In a recent project, I had created an timer event based cooperatively scheduled setup of tasks, based on a basic timing tick of 1ms, using a timer other than the one used by delay() etc. Interestingly, it works very well. As long as you develop and use all timing functions based on your basic time tick. The use of Arduino delay(), millis() is then prohibited because though the timing tick interrupt would work, any calculations done in the ISR would not function, if the delay() is going on.
Thank you so much for this masterpiece!!!! I am definitely going to watch all of the episodes. Please do not stop making these videos until the series is complete.
This video has been a lifesaver for me.. I really couldn't figure out the ocrna values for such a long time and this video has helped me alot.. thank you for this eye-opener:)
Great video! You are explaining things in very correct order. Just a kind suggestion, It would be much appreciated ,if you could add transcript of your videos under Description section of each video !!
Probably the best video I have seen on this topic! Great explanation a little fast paced for me but I can watch the video again. Thank you for sharing your skills and knowledge. I think I could apply this to control the speed the servo arm moves. Currency using delay but I have to get away from delay and advance to this method.
Soo informative and easy to understand... Reflects your understanding on this topic... And not to forget about the added animation helps a lot to a beginner like me...
I really like this 101 playlist.. Thanks man.. Easier to understand how to use sensors and peripherals. I still hope we can see how U write library for some device or IC..
So with a prescalar max of 2^10 and a clock speed of 16x10^6, and a 16 bit timer, the max interrupt time interval is only 4194 ms. If we let T be the timer compare value, P be the prescalar, C be the clock, b be the number of bits in the timer, and u be the desired delay time, we can write a function of TP=uC where T
i have an encoder giving 100 - 400 pulses per second channel A & B my speedo meter has 5% error i need to increase 5% frequency after feeding to Arduino and get frequency increased by 5% both channel A& B. could you please help (for examble 100 hz becomes 105 hz both channel)
Great work ! Can you show , create a nanosecond timer ? For example Trigger a device ,start timer, and stop it when a analog pin pass a threshold . Thanks
If you have too many calculations such as sensor readings in the interrupt routine, is it possible it will take too long to read them and interrupt itself?
Hi, Yours video are more informative than Great Scott's video. Please make a video on advance universal program that can be used for any program. Same program is available on EE Enthusiast UA-cam channel. If you can explain the each part of that program in depth and some better modification ,that will best video of your channel. I hope we will get notification of that video soon. Keep doing good work👍. Regards Vipin Choudhary
Very nice video. Just a little more explanation please on 10:47 1) You say that TCCR1B |= B00000100 is the same as TCCR1B = B00000010 Since we set TCCR1B = 0 why doesn't TCCR1B |= B00000100 equal TCCR1B=B00000100 ? 2) You say that TCCR1B |= (1
Hello brother, congratulations on your very successful content. Can you activate subtitles in the video? I can't understand because there is no subtitle
Is there any open source code for Arduino to open and close a house window with a stepper motor actuator 10 or more times in a day; code that one can edited the hours to open and close a house window? Maybe someone made a library to do this. I can not find anything.
🧡🧡🧡🧡🧡سلام کیفیت صدا و تصویرت خوبه ولی کاشکی یک مقدار سریع تر به اصل مطلب میپرداختی تشششششکر🧡🧡🧡As always professional and excellent🧡🧡🧡🧡🧡🧡🧡🧡🧡🧡🧡Hello, I am following you from Iran🧡🧡🧡🧡🧡
Mie mi-ar prinde bine un osciloscop și un generator de semnal , deoarece eu folosesc mai bine de 1,5 ani un osciloscop și un generator de semnal facut de mine cu arduino . Asa ca unul dintre acestea m-ar ajuta mai tare deoarece ar fi mai precis .
It is prescaler, not scalar. I have to mention it, because you have this mishap written everywhere (except once). Similarly you have other minor mistakes here and there, but those doesn't feel to be worth mentioning, because this is not a thesis after all. I got here with a hope for finding some documentation about these ISR functions...
Can you please make vedio Of buck converter circuit In which output 5volt fixed voltage Ieven though Input lie between 6v to 15 volt I want to replace 7805 by this ckt If possible please Also tell us about changes in ckt to get 9 volt fixed voltage By inputting 10- 15 volt If vedio not possible share pdf link of calculation which can find required circuit values for fixed output Please help by reverse engineering Of such 5v fixed output from 6-12v input circuit
When you attend a lesson of the 4th grade instead of the 1st one and you realise at the end that you need to study a lot to understand what is mentioned in that class 😃😃
Arduino Course (Spanish): bit.ly/3ldW6kO
Follow me on FACEBOOK for more: facebook.com/Electronoobs
Help me on Patreon: www.patreon.com/ELECTRONOOBS
Please make the course available in English..
sir please make metal detector with theory explaination
Sudk
IMPORTANT: if you have copied and pasted sources be careful because the PWM example source provided by the author has an error. Indeed it lacks the TCCR1A configuration "TCCR1A |= B00000111;" in the setup... In the video it's present but in the source file on the website it's not. However, very detailed video! Nice work!
Very nice explanation.
In a recent project, I had created an timer event based cooperatively scheduled setup of tasks, based on a basic timing tick of 1ms, using a timer other than the one used by delay() etc. Interestingly, it works very well. As long as you develop and use all timing functions based on your basic time tick. The use of Arduino delay(), millis() is then prohibited because though the timing tick interrupt would work, any calculations done in the ISR would not function, if the delay() is going on.
Thank you so much for this masterpiece!!!! I am definitely going to watch all of the episodes. Please do not stop making these videos until the series is complete.
YASSSSS!! iwanted to learn about this for such a loonngg time!!!
me too man
Exactly, me tooo
Sir we never miss your any of your videos. We watch them all. Your teachings are great !!! Thank you Sir.
Thanks :)))
Welcome Sir ... 🤗 🤗 🤗
Amazing explanation of timers! I gained a lot of new knowledge on it where it was pretty much a black box to me before!
This video has been a lifesaver for me.. I really couldn't figure out the ocrna values for such a long time and this video has helped me alot.. thank you for this eye-opener:)
This is by far the best explanation on how to use a timer. At least for me
Stay smart and creative as usual💖💖🎇
This truely is a masterpiece. This is gods work
Great video! You are explaining things in very correct order. Just a kind suggestion, It would be much appreciated ,if you could add transcript of your videos under Description section of each video !!
Probably the best video I have seen on this topic! Great explanation a little fast paced for me but I can watch the video again. Thank you for sharing your skills and knowledge. I think I could apply this to control the speed the servo arm moves. Currency using delay but I have to get away from delay and advance to this method.
Beautifully explained❤️
Soo informative and easy to understand... Reflects your understanding on this topic... And not to forget about the added animation helps a lot to a beginner like me...
I want more videos like this that's related to the core of arduino. please make more videos on arduino 101 series.
Finally! I wanna learn this for so long......👍👍👍👍👍👍👍👍
Nice video, you show us really hidden facts about arduino...thanks friend👍👍🌹🌹from 🇮🇶🇮🇶
Amazing....i had to watch 2-3 times to get full grasp of the topic...it will be very helpful to me...thanks
Very nice. This knowledge makes Arduino much more attractive.
Nice to see lots of comments in your code!
I really like this 101 playlist.. Thanks man.. Easier to understand how to use sensors and peripherals. I still hope we can see how U write library for some device or IC..
So with a prescalar max of 2^10 and a clock speed of 16x10^6, and a 16 bit timer, the max interrupt time interval is only 4194 ms.
If we let T be the timer compare value, P be the prescalar, C be the clock, b be the number of bits in the timer, and u be the desired delay time, we can write a function of TP=uC
where T
Great explanation, thank you! (Struggling for a while to understand this, so... thanks!)
I saw it well. The equipment that appears in the video is good, and the graphics in the video are good.
Always enjoy your videos on electronics..always able to learn something or understand something better. Keep up the great videos.
Are all the countries are included in the giveaway?
Amazing explanation!
Actually, 11:35 the correct value of OCR1A should be 31249, check the datasheet. Also, 14:59 the analogWrite function has 10-bit precision, not 8 bits
Amazing video! Thanks for the great amount of effort you put into your videos.
I appreciate your hard work, it helped me a lot.
can we use timer 1 for more than one interruption at same time?
Thank you so much! that improved my knowledge on timers :)
Thank you for this video, I just love the explanation, you cleared up so many things for me and that too with code!
Thank you!
Helpful video 👍
Sir we want to make a time totolizer for arduino means it should not reset if power ofd.
Relay need to high after set time
Just love your videos
Nice video thanks! The timer 1 (second timer 16bit) animation should go to 65535 instead of 65536 :) Edit: another typo later in the table.
Is there any library we need to define before the code?
The video i was waiting for 🙂
good video sir similar to 8051 microcontrollers i use interrupt and timer in that unfortunately 8051 had 2 timmer and 2 interrupt 8 bit register
very interesting video congratulations.
I'm Italian and I wanted to ask if you can somehow enable subtitles for easier understanding
Thank you
Hey
If I Have Limited Hardware Timer & I Need To Create Dozens Of Software Timers. How To Do?
i have an encoder giving 100 - 400 pulses per second channel A & B my speedo meter has 5% error i need to increase 5% frequency after feeding to Arduino and get frequency increased by 5% both channel A& B. could you please help (for examble 100 hz becomes 105 hz both channel)
Which software u use for animations
Top Tier Content ... Thank You for sharing.. Cheers :)
Please make a video on how to upgrade your 6 channel transmitter to 10 + channel.😃
Thanks for all your efforts but please when are you going to conclude your mppt video am waiting for its final part please.
thank u man
Yeah i was looking into this, but with your example its much easyer to understand :) thx :>
Great video, thank you for the explanation. I would like to know if the same code could work in Arduino Mega?
Thanks this is helpful 👍
sir, i use softowerSerial lib for 433 but servo not work with this libary! please make a video on it..
or say something what can i do...
Thank you! I needed to understand this for a project
Great work ! Can you show , create a nanosecond timer ? For example Trigger a device ,start timer, and stop it when a analog pin pass a threshold . Thanks
Awesome ElectroNoob!
Very nice!👍👍👍 Thank you!
what should be the value of pulses for 500microseconds???
If you have too many calculations such as sensor readings in the interrupt routine, is it possible it will take too long to read them and interrupt itself?
Awesome video by the way!!
Hi could you do the same video on esp32 ?
Hi,
Yours video are more informative than Great Scott's video. Please make a video on advance universal program that can be used for any program. Same program is available on EE Enthusiast UA-cam channel. If you can explain the each part of that program in depth and some better modification ,that will best video of your channel. I hope we will get notification of that video soon. Keep doing good work👍.
Regards
Vipin Choudhary
Superb Video :) Thanks :). Is it possible to use timer 1 (16 bit) to create a function similar to micros(), having 1us resolution?
Thank electronoobs for this vidéos série
Please for the futur make vidéo to explaint how to send many channel to serial transmitter hc 12 module
nice vid! also you kinda sound like GreatScott!
Very nice video.
Just a little more explanation please on 10:47
1) You say that TCCR1B |= B00000100 is the same as TCCR1B = B00000010
Since we set TCCR1B = 0 why doesn't TCCR1B |= B00000100 equal TCCR1B=B00000100 ?
2) You say that TCCR1B |= (1
7:25 How can I find PWM register control? Would you please make a video? :) Thanks
Also participated in one of your diy competition
Very nice and thank you
thanks for the solution, it's really helpful
wonderfull, thank you:))
Very informative one...
Very good sir
At min 8:57, i think it should be better written 500 000 000 ns divded by 62.5ns divded by 256 and it is 31 250 pulses. In 65 535
Anyway thank you for the video. Best by far explaining timers pescaler and countrr
Thank you!
Bro you are great 😚
Very interesting and helpful.
Thanks noobs
Another great video as always
Please explain Inputcaptur mode
Hi electronoobs! The last video you uploaded on rasbi pico was a ELECTROBOON!!! Could you please do projects on rasbi pico . it would be awesome!!!!
What's up my friend 😊👍
Bro can u make time telling clock every hour useing pic ic project please Or reply me
Sir. Plz do a video on long range wired sensors and long range LED PWM control and power supply. Plz sir..
Hello brother, congratulations on your very successful content. Can you activate subtitles in the video? I can't understand because there is no subtitle
Thank you very much
Is there any open source code for Arduino to open and close a house window with a stepper motor actuator 10 or more times in a day; code that one can edited the hours to open and close a house window? Maybe someone made a library to do this. I can not find anything.
interrupt, remind me the assemble language
🧡🧡🧡🧡🧡سلام کیفیت صدا و تصویرت خوبه ولی کاشکی یک مقدار سریع تر به اصل مطلب میپرداختی تشششششکر🧡🧡🧡As always professional and excellent🧡🧡🧡🧡🧡🧡🧡🧡🧡🧡🧡Hello, I am following you from Iran🧡🧡🧡🧡🧡
How do I create a pwm signal with a encoder ?
wellll describe.. thank you..
Excellent.
101 thanks !!!
Make tutorial video STM32 Project with STMCubeIDE
Superbbbb
Mie mi-ar prinde bine un osciloscop și un generator de semnal , deoarece eu folosesc mai bine de 1,5 ani un osciloscop și un generator de semnal facut de mine cu arduino . Asa ca unul dintre acestea m-ar ajuta mai tare deoarece ar fi mai precis .
adevarat
It is prescaler, not scalar. I have to mention it, because you have this mishap written everywhere (except once).
Similarly you have other minor mistakes here and there, but those doesn't feel to be worth mentioning, because this is not a thesis after all. I got here with a hope for finding some documentation about these ISR functions...
Can you please make vedio
Of buck converter circuit
In which output 5volt fixed voltage
Ieven though
Input lie between 6v to 15 volt
I want to replace 7805 by this ckt
If possible please Also tell us about changes in ckt to get 9 volt fixed voltage
By inputting 10- 15 volt
If vedio not possible share pdf link of calculation which can find required circuit values for fixed output
Please help by reverse engineering
Of such 5v fixed output from 6-12v input circuit
You are two fast make it simple and explain gently
I cannot understand, why the pulse is 62.5ns? what is the calculation? Can anyone help?
HOW to use an external interrupt and timer interrupt together? (Arduino Uno)
When you attend a lesson of the 4th grade instead of the 1st one and you realise at the end that you need to study a lot to understand what is mentioned in that class 😃😃