Arduino Programming Lessons
Arduino is programmed with a mixture of C, C++ (see plus plus), and a large helping of Arduino specific code to make programming microcontrollers more accessible.
I hope you find the following lessons on programming Arduino helpful!
Arduino millis() or delay() – which should I use? How can I time multiple events with Arduino? How can I multi-task with Arduino? Can I still get inputs and have timed events? What is a hardware clock anyway? So many questions about Arduino timing…so little time? Which is why we created this Ultimate Guide to…Read More
Are you trying to run an Arduino sketch, but keep coming across a “No such file or directory” error? This is a pretty common error! Keep watching to learn more about 2 easy fixes for this error. No such file error! Error messages can be such a pain, but they’re supposed to tell us something…Read More
Are you feeling overwhelmed with some of the technical terms surrounding Arduino? Does Arduino jargon have you thinking “What does that even mean!?” What is an Arduino shield? What does Arduino Pin mean? What is a breakout board? Watch this video to learn the meaning of these three common Arduino jargon terms! When you’re getting…Read More
Are you thinking about using Arduino in your project, but not sure if it’s right for you? Have you ever wondered why Arduino is so popular? Are you wondering “What even IS Arduino?” Have you heard about this thing called Arduino lately? Maybe you’ve seen some projects that use an Arduino? What is this Arduino…Read More
Have you ever wanted to do MULTIPLE timed events with Arduino? What about multiple CONCURRENT timed events? We’re “upping” our game with this lesson, so buckle in and hold on tight! The millis story so far This is part of a mini-series we’ve been publishing that’s all about using the Arduino millis function to…Read More
Are you trying to build a project using Arduino and you need to program repetitive timed events? Are you looking for alternatives to the delay() function to achieve this? Have you heard of the millis() function? The wait is over. This lesson is for you. How we got here If you’ve watched the previous lessons,…Read More
How do we create repetitive timed events with Arduino? Do we use delay(), do we use millis()? We continue to explore when and where we use each function in the following lesson. Intro This is part 4 of our millis() function mini-series. Part 1 helps us understand what the millis() function does, and part 2 discusses…Read More
Have you ever tried to create create timed, repetitive events in your Arduino sketches? Have you run into roadblocks when you try to use the delay() function? We’ll explore why this happens in this lesson. Intro This is part 3 of our millis() function mini-series. Part 1 helps us understand what the millis() function…Read More
Have you ever been making an Arudino project and you want something to occur at a timed interval? Maybe every 3 seconds you want a servo to move, or maybe every 1 minute you want to send a status update to a web server. How do you do that? Is there a function that is simple…Read More
Have you heard of the Arduino millis() function? Did you know that it gives you access to the Arduino internal timer counter hardware which can be used for the timing of different events? We will discuss this and more in the video tutorial below. Topics in this lesson What is a hardware clock? Timer/Counter()…Read More