LESSON 30: Advanced Software Interrupt Techniques for Reading Serial Data on Arduino

preview_player
Показать описание
You guys can help me out over at Patreon, and that will keep this high quality content coming:

This lesson shows how to use software interrupts to read serial data on the Arduino. This is demonstrated using the adafruit ultimate gps. You can follow this lesson on our WEB site at:

The interrupt library used in this video can be found here:

Рекомендации по теме
Комментарии
Автор

"there is some good Pauls out there working on arduino" Paul Mcwhorter 2020

riyadzahdour
Автор

You have a video for literally everything I want to do with arduino. You're a godsend!

GarretsonIndustries
Автор

Thank you so much for these lessons. These are all helping me in college while trying to code an autopilot from scratch. YOU DA MAN PAUL!!!

stAirsoftDivision
Автор

Hello. Just a quick tip for saving time in debugging for the issue talked at 27:16. Instead oif writing if (flag == 1), write if (1 == flag). If you forgot 1 equal sign, it will be spot out during the compilation.

uyenminhvotran
Автор

‘I’m out there banging that interrupt’ - Paul McWhorter 2018

springbok
Автор

You are BRILLIANT Sir! Thanks SOOOO much for those very helpful tutorials!

haozhe
Автор

Thank you sir for your wonderful tutorial, I love the way you make complex programs easy to understand.

osazeimhontu
Автор

Really good lesson Paul. Being as I have a NEO-6M gps breakout I did not find a way to just have GPS send just 1 sentence. Had a lot of fun looking at the datasheets and software to finally decide this. The good news is even a huge block of data could still transfer without destroying the timing. There maybe a way but I was not sorting it out of the data sheets to software.

paulmeistrell
Автор

Thank you so much Paul. You are the BEST teacher on YouTube in my opinion!

jeffmahoney
Автор

It's good to listen to your tutorial. For me most of the part in the tutorial is useful, Nothing to skipped!..
And I have a request, if possible upload a video on hardware interrupt.

mjrokzz
Автор

👍very useful thank you.
In case it helps anyone, I was using IDE 1.8.15 and I had to include:
void readGPS();
in variables section before void setup. Without this, code would not compile.

Steve-GMHUU
Автор

I watch your videos everyday and practicing alongside with you... Thanks you so much and God bless..pls can you give us more lesson on sensors

asarebaahdaniel
Автор

You are awasome! You saved my project! Thank You!

marekczarnecki
Автор

Hello from India....Thank you very much Sir for this great tutorial...really helpful...appreciated.

sameerk
Автор

that was just awsome !!! i didn't know that's what i just need for solve my project. im now a suscriber.

DRACOBUCIO
Автор

Dear sir I’ve been waiting for your esp32 or nodemcu series or any other iot based series. I would love you start it. I really understand the way you teach.Thanks☺️

gauravbanwari
Автор

Amazing, I enjoy the course very much, thank you very much!

niceday
Автор

It's ozm. It's Beauty of programming.
Thanks sir for teaching this technique.

TechnoAutomation
Автор

Instructive video Paul--thanks for making it. I love the fact that you teach your students to do incremental builds to catch errors early (like after you #include a header), but you don't have to flash the code to your Arduino to check it though. Just have them use the "verify" checkmark next to the download button. That way you're not re-flashing memory just to verify that you can access a library. The AVR chips do have a finite number of flash writes available, and you can exceed the number. So I just build ("verify") as needed, but only flash when I want to try running the new code. Just a thought.

Also, and this is me being a bit obsessive-compulsive, I'll admit...but I wish you'd use more whitespace. It's hard to read your code sometimes because all the characters are often run together. In fact it's a bit ironic that you are frustrated with your students for mixing up "=" and "==" but then did it yourself--and (I think) it's less likely to happen if you use whitespace on either side of the == operator. As I recall, it's either the MISRA, JPL or JSF coding standards (I forget which now) that actually recommend the use of whitespace between tokens.

bluehornet
Автор

This is the third time I listened to this lesson and I'm starting to understand the whole concept I think I need to listen to it a fourth time thank you very much

danmyself