B4: Running Effect of LEDs & B5: Chasing Effect of LEDs

AR-B4: Running Effect of LEDs

This entry is part 4 of 13 in the series Arduino Basic Circuits

In this code we use 4 LEDs connected on breadboard with 4 resistors of 1kΩ. This code produces the effect of running LEDs.

Required Material

Arduino UNO Board – 1, data cable – 1, Red LEDs – 4, Jumper wires – 5, 1kΩ resistor (Brown Black Red) – 4.

Working

After uploading the code in Arduino UNO board, LED1, LED2, LED3 and LED4 will be ON one-by-one. Thus each LED will be ON in sequence and then all OFF.

The Code

With this code you get the idea of how the decorative effect of LEDs is obtained in DIWALI Series, which we use to decorate our home. Upload the following code and enjoy the beautiful decorative effect of LEDs.

Signup or Login to view remaining content. It's Free!
Share on your network!
Dattaraj Vidyasagar
Dattaraj Vidyasagar

Author on this website. He is veteran of Core Electronics since last 35+ years. ATL Mentor of Change, Niti Ayog, Govt. of India, Google Certified Educator, International Robotics Trainer and author of 17 books on electronics, robotics, programming languages and web designing... ➤➤

Leave a Reply

Your email address will not be published. Required fields are marked *