Lesson 1, Topic 1
In Progress

1.1 Introduction

26/04/2024

In this activity, we will learn to connect multiple Led’s with Arduino UNO.

Might be you have seen Decorative lights ,they blink in many sequences. In this activity we will try to blink our Led’s in many sequence. So, for making this project we need some Led’s and resistors. A resistor is a device which opposes the flow of current. Led is a light emitting diode which emits light when electricity is applied to it. Here, resistor will protect the led from the excess of current.

Led have two terminals:

  1. Anode(Longer leg)
  2. Cathode(Shorter leg)

 In this LED sequence, LEDs are directly interfaced to Arduino pins since Arduino’s pins can output forward voltage and the current required to switch them ON/OFF. The LEDs are controlled via the digital output from Arduino. The UNO is programmed to output logical signals with different sequence over its pins with the appropriate timing pattern to show different LED light patterns. 

We will make LEDs glow in at least 9 Lighting patterns. The patterns are as shown below:  

Pattern1: In the this lighting pattern, all the Led’s will first glow together and after some delay, all the Led’s will switch-off together.

Pattern2: In this lighting pattern, the Led’s are switched ON one after the other (from left to right) and then switched OFF one after the other  from left to right). A delay of 400 milliseconds is used when illuminating each LED and a delay of 300 milliseconds is used when switching them OFF. 

Pattern3: In this lighting pattern, the LEDs are switched ON one after the other (from right to left) and then switched OFF one after the other (from right to left).A delay of 400 milliseconds is used when illuminating each LED and a delay of 300 milliseconds is used when switching them OFF. 

Pattern4: In this lighting pattern, the odd LEDs are switched ON while the even LEDs are switched OFF. Then, the even LEDs are switched ON and the odd LEDs are switched OFF.

Pattern5: In this lighting pattern, the LEDs are switched ON one after the other (from left to right) and then they are switched OFF one after the other (from right to left).A delay of 400 milliseconds is used when illuminating each LED and a delay of 300 milliseconds is used when switching them OFF. 

Pattern6: In this lighting pattern, the LEDs are switched ON one after the other (from right to left) and then they are switched OFF one after the other (from left to right).A delay of 400 milliseconds is used when illuminating each LED and a delay of 300 milliseconds is used when switching them OFF. 

Pattern7: In this lighting pattern, tone LED from both sides is switched ON one after the other so that it slowly illuminates toward the center of the light rope. Next, it is switched OFF on both sides, fading to the center of the light rope. A delay of 400 milliseconds is used when illuminating each LED and a delay of 300 milliseconds is used when switching them OFF. 

Pattern8: In this lighting pattern, all the LEDs are blinked together.

Pattern9: In this lighting pattern, the LEDs are switched ON from the center and then toward both ends. Once the light rope is fully illuminated, the LEDs are switched OFF from the center toward both ends, simultaneously fading from the left and right sides. A delay of 100 milliseconds is used in both the sequence