This easy Arduino project for beginners can be built on an electronic breadboard and uses only four LEDs and four series resistors to make a moving light display. The Arduino sketch for the project can be modified to change the rate at which the pattern on the LEDs is updated. The patterns to display on the LEDs can also be changed.
Moving Light Display Arduino Project for Beginners
Details of this Arduino Project for Beginners
A breadboard is used to connect four LEDs with series resistors to an Arduino which can be an Arduino Uno or other Arduino. Four wire links connect the LEDs to four of the Arduino pins which are set as outputs. A common GND wire from the Arduino is connected to the breadboard which connects the other side of each of the series resistors to GND. This completes the circuit and enables the LEDs to be switched on by the sketch running on the Arduino.
Moving LED Arduino Project
The full project includes the circuit diagram, Arduino sketch code and instructions on how to modify the sketch to display different moving light LED patterns on the LEDs.
Other Arduino Beginner Project Resources
Those new to Arduino may be interested in the beginners electronics series of tutorials that includes an introduction to Arduino.
The same tutorial series includes ten Arduino projects for absolute beginners which is a sample of various Arduino built-in examples with instructions on how to build each project.
I wrote the article after being asked a question on how to control an LED from an HTML button on an Arduino hosted web page and a physical button connected to an Arduino pin.
The image below shows the final project.
Arduino LED Control from Web Page and Push Button Switch
An Arduino and Ethernet shield is used with a web page hosted on the micro SD card inserted into the Ethernet shield.
When the checkbox or button on the web page is clicked, the corresponding LED will switch on or off. When a push button is pressed, the corresponding LED will switch on or off and the state of the LED will be updated on the web page. Ajax is used to update the LED states on the web page so that there is no page refresh flicker.
Pressing the left push button causes the left LED to switch on and the checkbox on the page to get a check mark. Pushing the left push button again switches the LED off and the check is removed from the checkbox on the web page.
The button on the web page will initially display the text OFF as part of the button text. When the right push button is pressed, the LED will switch on and the HTML button text will be updated to display ON. Pressing the right push button again will switch the LED off and update the button text on the web page to display OFF again.
This USB LED torch is an easy project for beginners in electronics and requires some soldering. The torch can be used as a conventional torch or an emergency light during mains power failure.
It can be powered from any USB host port. The image below shows a USB power pack that is sold as a solution for charging USB devices on the go. If you already have a USB power pack, the USB torch can be built for very little cost and carried with you wherever you take your power pack.
USB Battery Power Pack and LED Torch
The torch is shown below powered on.
USB LED Torch Powered by USB Battery Pack / Charger
The article on how to build the torch includes a circuit diagram and parts list.
In this tutorial, an Arduino MEGA 2560 and Ethernet shield are used to make a web server that hosts a web page that allows 24 outputs to be controlled using checkboxes. The tutorial on the Arduino MEGA web server contains the circuit diagram and all of the source code for the project.
This tutorial was written to answer a question on the blog about the Arduino web server tutorial.
An image of the web server with the web page used to control 24 LEDs is shown below.
24 Output Arduino MEGA Web Server using the Ethernet Shield
This Arduino project for beginners uses 24 LEDs to make a Knight Rider display. The LEDs are connected to the Arduino pins using series resistors.
Arduino MEGA 2550 Knight Rider Breadboard Circuit
Find the circuit diagram and Arduino code at Starting Electronics website.