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!

3 Arduino Jargon Terms That Confuse Everybody

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…

What is Arduino?

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 just wondering “What IS Arduino anyway!?” Have you heard about this thing…

Doing multiple timed things with Arduino: Unleash the millis()!

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…

When delay() should be millis() instead: Part 4

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 vs. Delay Part 3 | A mini-series on Timing Events with Arduino Code

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…

delay() Arduino Function: Tight Loops and Blocking Code

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 …

millis() Arduino function: 5+ things to consider

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…

Arduino Issue: LED flickers (on then off) when using switchcase and serial monitor input via the keyboard

Are you using a switch statement that is triggered by input from the serial monitor window? For example, when you type a letter into the serial monitor, you want that letter to trigger a case in your switchcase() statement, but…

Arduino Pseudo Random Numbers [Guide + Code]

In this video we demonstrate how to create pseudo random numbers with Arduino – with a useful twist. This lesson was inspired by the following viewer question: How do I create Random Non-Consecutive numbers with Arduino? P.S. These are the…

Using the Same Input to Trigger Multiple Arduinos

If you ever have a project using two or more Arduinos, it’s likely you’ll want them to work together. Say for example you have one Arduino connected to an LCD shield, and another Arduino controlling an LED matrix.  You want both…