SALES INQUIRIES: 1 (888) 767-9864

Arduino Programming Lessons

These two buttons are important.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!

programming electronics academy logo, picture of stopwatch and title millis() vs. delay

Millis vs. Delay Part 3 | A mini-series on Timing Events with Arduino Code

 Transcript: Let’s say you’re building a project using Arduino and you have an event that you want to have happen every so often. Maybe every three minutes you want a servo motor to move or maybe every 20 seconds you want to update a web server with the most current sensor reading. How do…

Read More
Blue hexed background with Arduino milli() written on it, and picture of programming electronics academy logo and a stop watch

delay() Arduino Function: Tight Loops and Blocking Code

Video Transcript: Let’s say you’re making a project with Arduino. And you want some event to happen at a timed interval. Maybe every three seconds you want a servo to move, or maybe every minute you wanna send a status update to a web server. Whatever it may be, you want something to occur at…

Read More
millis() arduino function as headline, with colorful timer icon at top and programming electronics logo

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 the video tutorial below.  Topics in this lesson What is a hardware clock? Timer/Counter()…

Read More
Computer showing Arduino IDE with Serial Monitor window open

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 what you’re finding is that the switchcase() doesn’t seem to be working right? What’s going…

Read More
Display Arduino Output with println()

Use Serial.print() to display Arduino output on your computer monitor: Part 2

In many cases while using an Arduino, you will want to see the data being generated by the Arduino. One common method of doing this is using the Serial.print() function from the Serial library to display information to your computer’s monitor.

Read More
Using Serial.print() with Arduino to display output to a computer monitor

Use Serial.print() to Display Arduino output on your computer monitor: Part 1

In many cases while using an Arduino, you will want to see the data being generated by the Arduino. One common method of doing this is using the Serial.print() function from the Serial library to display information to your computer’s monitor. In this week’s episode, we will talk about the intricacies of the Serial.print() function.…

Read More

Use tone() with Arduino for an Easy Way to Make Noise

Do you need to make some noise with Arduino? Maybe a simple tone for an alarm, maybe a beep to alert you when a specific input threshold is met, or maybe to play the Super Mario Brothers soundtrack to entertain your juvenile mind (it’s OK, we are all there, too). Whatever your audible need, you…

Read More

Arduino Pseudo Random Non-Consecutive Number Generator

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 best tutorials that a complete idiot like you could ever make, thanks. -Chris

Read More

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 to do something when you press a single button – how can this be done?…

Read More
For Arduino Make one button have the functionality of two, post banner

How to Make One Button Have the Functionality of Two or More with Arduino

Do you have an application where you want multiple buttons for different user inputs?  Maybe you have a timer and you want one button for minutes and another for hours. But there is a problem – you only have room for one button! In this tutorial, we are going to use Arduino to explore how…

Read More