Home Arduino Projects Arduino Projects: Asynchronous LEDs Blink

Arduino Projects: Asynchronous LEDs Blink

by Nikodem Bartnik

Making Arduino perform asynchronous tasks is not an easy job and such Project requires you to practice implementation of clean and optimized programs. It is very useful to know how to program AVR in C and how to read the datasheets in order to implement timers.

This project will shed some light on the how to build an asynchronous set of blinking LEDs using the Arduino Uno board.

A while ago, one of my friends built a pinball machine from scratch and he asked that I help him create a program with the Arduino that will make LEDs blinks completely asynchronously. And this was the perfect project for his pinball machine. Hope you will the project useful. Let’s dive into it.

Blinking LEDs with the Arduino board

Arduino Projects: Asynchronous LEDs Blink

Here is the list of the parts we will need for this project.  You can use less than 6 LEDs if you need to.

This project uses the most basic hardware component one can imagine while working with the Arduino. The most important part of this project is the program, not the hardware part. Use the image below to connect the parts together.

Arduino Projects: Asynchronous LEDs Blink
Arduino Projects: Asynchronous LEDs Blink
Arduino Projects: Asynchronous LEDs Blink
Arduino Projects: Asynchronous LEDs Blink

Remember that the longer leg of the LED goes to the positive pin and the shorter goes to the negative one, so you have to plug the longer leg to the resistors, and shorter to the negative bar on the breadboard.

Arduino Projects: Asynchronous LEDs Blink

Now we can upload a program to the Arduino, I made a six LED version and this number is supported by this program (you can also use less without changing the code, or more but you will have to add few lines of code).

The Code

Related Posts

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Privacy & Cookies Policy