Thanks Paul, I'm working my way thru all these earlier tutorials, mainly for the functions, if/else statements and Interrupts and other good lessons you provide....
Awesome Work,, really good tutorials. There's only a few lessons I haven't seen ( lesson 21-26) but have you covered functions,libraries,and real time clocks so that we can quickly implement them? I'm kinda being selfish here as I could go search around for someone else's work but often times many video presenters assume to much background knowledge, the camera is moving around,, or there's music to entertain us which all seem to detract from a good learning experience. Your,, this is what it is,, this is how to use it ,, method without going into register etc etc details style is excellent for educational purposes! Enjoy the show!
5:22 It might seem like it's ignoring the delay but it's not. It's filling up the stack with each interrupt call that are overlapping. If the interrupt calls happen so frequently that the servicing routines take longer, the stack will grow and grow until you get a stack overflow.
@@anubhavbhura13 I think it's like a buffer. Let's say you interrupt every second but delay in the interrupt for 5 seconds... That means every second your getting a delay called of 5 seconds. The stack only has some space. After 5 seconds you have 5 delay calls in progress.... It gets worse as time goes on and then there's no more space to store the calls, so you get an overflow. I'll be trying this out myself. Thanks
Hello Sir, Really need your help, Can you please make a lesson on how to count running hours of a generator or a motor etc. Actually what I want to do, I have two electric sources one from Grid and other one through Generators. Each source running at a time, And I want to monitor their max & min value of coming voltage, current voltages, max & min values of Amperes, current coming amperes, KWH, how many time each source has been run, and counting of their running time of each source. Really appreciate if you make a lesson on that. Thank you
Thank you Mr. Mcwhorter. Cleared up the questions I had. I was thinking of using an interrupt for a OLED display for feedback on a spwm sketch... now I won't lol
Would be interested in a NodeMCU tutorial possibly interfaced with a weather station type application. Love your tutorials, I have learned a bunch!! Please keep up the good work. I follow your Fusion 360 stuff also since I am a 3D printer buff. Too many hobbies!! 3D printing, CNC, Arduino, Drones, etc. etc.
Really good good Lesson , I have a question about software interrupts; i have 2 RF 433 mhz fonctions one receiving the other sending , i want to stop receive fonction when i send something in order to do not RF trouble sorry for my english
Really good lessons on interrupts! I've used them from snippets but honestly never really understood what I was doing or how to make my own,,, now I do! All of a sudden the reference pages are easier to read at Ardunio.cc. Hahaha,, awesome and thank you for yet another quality teaching video! :)
Hello sir i have a multiplexing data 7 segment 3 digit i want to change that data into lcd for the use with arduino uno what is the code please help me ...............so ncye of you
It really baffles me as to why the compiler doesn't produce at least a warning that delay() is ignored in ISR's. Additionally, you can add millis() to the list of things that don't work in ISR's and ditto that for Timer1. I, and I'm certain others too have found these anomalies the hard way, sigh....
Wow, I did not think anyone was watching that series, so I went back to making Arduino lessons. I would like to make some in the series you mention on how to give a good presentation. Engineers are notorious for being poor presenters, so would like to teach on that when I get some time.
The advancement I made in my career were not always because I was the best engineer in the room . . . but because I was the best communicator in the room.
sir.. gotta question How do I learn designing codes without anyone's help..? If I want to build a Arduino based robot then the code should be designed by me. I don't like copying them from any web.. How do I do it?
You will need to use 3 of the l293d IC motor driver check lesson 37 of his new series also your comment is two years ago so I think I didn’t help u that much
You think using strings in an ISR is fast!!!! Hmmm think again, it’s a single line routine and managed to push it to a heap of useless tune rating code. Bad bad lessons for beginners
All the other lessons in Arduino are very good, finally upset with interrupt. Please post the direct code instead of library. Programmers like me need the source code to understand. Please don't use my code, just posted for clear understanding. Timer1 is for only one. no comments in code, please forgive. e.g.: byte outputPin[] = {2, 3, 4, 5}; int ledStatus[] = {LOW, LOW, LOW, LOW}; int waitTime[] = {40, 30, 20, 10}; unsigned long previousMillis[] = {0, 0, 0, 0}; unsigned long currentMillis[] = {0, 0, 0, 0}; void setup() { // put your setup code here, to run once: Serial.begin(115200); for (int i = 0; i
Thanks Paul, I'm working my way thru all these earlier tutorials, mainly for the functions, if/else statements and Interrupts and other good lessons you provide....
Awesome Work,, really good tutorials. There's only a few lessons I haven't seen ( lesson 21-26) but have you covered functions,libraries,and real time clocks so that we can quickly implement them? I'm kinda being selfish here as I could go search around for someone else's work but often times many video presenters assume to much background knowledge, the camera is moving around,, or there's music to entertain us which all seem to detract from a good learning experience. Your,, this is what it is,, this is how to use it ,, method without going into register etc etc details style is excellent for educational purposes! Enjoy the show!
Thanks for the quick lesson Paul. Something else to use is the boolean "not !" to cut down on service time.
Thanks for the tip. Had a delay in my interrupt loop. Got it fixed in short order. Need to break out of the main() to read a thermostat.
I am trying to build the distance measurement with ultrasound 1st time for my last year undergraduate project. Thanks for the tutorials
You're really a good tutor . Why don't you make a tutorial videos on avr microcontroller !! Hoping for positive response .
Paul is really amazing, i do believe that like this man can make a great invention.
Carry on great man , you are the best.
Thank you so much for your work. I would suggest you new topics: I2C, arduino communication with integrated circuits, filtering. Thank you again
5:22 It might seem like it's ignoring the delay but it's not. It's filling up the stack with each interrupt call that are overlapping. If the interrupt calls happen so frequently that the servicing routines take longer, the stack will grow and grow until you get a stack overflow.
YOu sir, know a lot more about this than I do. I am an electrical engineer, and just play with arduino. I am not a computer science expert.
Sorry for a late comment, but could you explain this a bit more? Or if you have any resources I could read up on this could you share it?
Thanks a lot
@@anubhavbhura13 I think it's like a buffer. Let's say you interrupt every second but delay in the interrupt for 5 seconds... That means every second your getting a delay called of 5 seconds. The stack only has some space. After 5 seconds you have 5 delay calls in progress.... It gets worse as time goes on and then there's no more space to store the calls, so you get an overflow. I'll be trying this out myself. Thanks
So grateful for this dude.
Hello Sir,
Really need your help, Can you please make a lesson on how to count running hours of a generator or a motor etc. Actually what I want to do, I have two electric sources one from Grid and other one through Generators. Each source running at a time, And I want to monitor their max & min value of coming voltage, current voltages, max & min values of Amperes, current coming amperes, KWH, how many time each source has been run, and counting of their running time of each source. Really appreciate if you make a lesson on that. Thank you
Would an interrupt be a good tool to make an out put high once an hour. ie. making a cuckoo clock
What about sleep modes and wake up via interrupt (f.e. when receiving a bluetooth signal)? This would be quite handy for lots of projects.
Thank you Mr. Mcwhorter. Cleared up the questions I had. I was thinking of using an interrupt for a OLED display for feedback on a spwm sketch... now I won't lol
Would be interested in a NodeMCU tutorial possibly interfaced with a weather station type application. Love your tutorials, I have learned a bunch!! Please keep up the good work. I follow your Fusion 360 stuff also since I am a 3D printer buff. Too many hobbies!! 3D printing, CNC, Arduino, Drones, etc. etc.
Really good good Lesson , I have a question about software interrupts; i have 2 RF 433 mhz fonctions one receiving the other sending , i want to stop receive fonction when i send something in order to do not RF trouble sorry for my english
Good day to you sir all the way from Greece.
The dislike must be envy the talented kind tutor,the lecturer is a true master.
Thanks! You answered my questions in this video!
I have a question. why did the Arduino ignore that delay? was it because of the duration of the interrupt?
You are amazing..
Please please continue the Arduino lessons part
Thank you I found this lessen and Lesson 28 very helpful
sir please give the lesson on the buffers in Arduino and advance c programming used on Arduino and raspberry pi.thanks
Just keep up the GREAT work !
Really good lessons on interrupts! I've used them from snippets but honestly never really understood what I was doing or how to make my own,,, now I do! All of a sudden the reference pages are easier to read at Ardunio.cc. Hahaha,, awesome and thank you for yet another quality teaching video! :)
Glad you found it helpful.
Can't wait for the next lessen
this info helps my 10 miles long
Hello sir i have a multiplexing data 7 segment 3 digit i want to change that data into lcd for the use with arduino uno what is the code please help me ...............so ncye of you
Having difficulty Working with Bluetooth module can you make a tutorial on that.
It really baffles me as to why the compiler doesn't produce at least a warning that delay() is ignored in ISR's. Additionally, you can add millis() to the list of things that don't work in ISR's and ditto that for Timer1. I, and I'm certain others too have found these anomalies the hard way, sigh....
Great content!
How about a msp430 lesson series
Is this interrupt similar to the function of " int 3 " in x86 assembly?
Thank you again. Tried analogWrite, and even that seems to be to slow to work ;-)
Mr. You are real hardworking Robot among us!
Verry nice helpfull to me,Thanks a lot
why is it not running with analog write can you provide a program for the same
Excellent. Thanks
Keep up the good work, thanks. :)
AWESOME WORK
Where have you been Paul, waiting for more videos on the series 'Keys to a Successful Engineering Career'
Wow, I did not think anyone was watching that series, so I went back to making Arduino lessons. I would like to make some in the series you mention on how to give a good presentation. Engineers are notorious for being poor presenters, so would like to teach on that when I get some time.
Yes, how to give a good presentation and how to get out of the basement into the sunlight, I could use some advice on that
The advancement I made in my career were not always because I was the best engineer in the room . . . but because I was the best communicator in the room.
We want the series back!! :)
sir.. gotta question
How do I learn designing codes without anyone's help..?
If I want to build a Arduino based robot then the code should be designed by me. I don't like copying them from any web.. How do I do it?
Books, videos, blogs
Hi, how can I connect 6 dc motors in Arduino
You will need to use 3 of the l293d IC motor driver check lesson 37 of his new series also your comment is two years ago so I think I didn’t help u that much
👍
You think using strings in an ISR is fast!!!! Hmmm think again, it’s a single line routine and managed to push it to a heap of useless tune rating code. Bad bad lessons for beginners
Please reply me
All the other lessons in Arduino are very good, finally upset with interrupt. Please post the direct code instead of library.
Programmers like me need the source code to understand. Please don't use my code, just posted for clear understanding.
Timer1 is for only one. no comments in code, please forgive.
e.g.:
byte outputPin[] = {2, 3, 4, 5};
int ledStatus[] = {LOW, LOW, LOW, LOW};
int waitTime[] = {40, 30, 20, 10};
unsigned long previousMillis[] = {0, 0, 0, 0};
unsigned long currentMillis[] = {0, 0, 0, 0};
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
for (int i = 0; i
There's on point listing the code of a library when you can access it yourself and it will go out of date.
I stopped watching when I saw you using Delay()