Blinking Multiple LEDs!

by Rucksikaa_R in Circuits > Arduino

629 Views, 2 Favorites, 0 Comments

Blinking Multiple LEDs!

IMG_20190805_122839.jpg
IMG_20190805_132734.jpg

This is a project influenced by K.I.T.T from the famous television series Knight Rider starring David Hasselhoff.

I hope you enjoy this project.

Supplies

You will need:

  • Arduino Uno R3
  • Solderless Breadboard
  • LEDs - multicolour flashing LED | Blue, Green, Red and Yellow LEDs (02 of each colour)

  • Power Bank (optional) - 10000 mAh

Setting Up Your Hardware

IMG_20190805_122852.jpg

The long leg of the LED is known as the anode while the other is known as the cathode. The cathode must be connected to GND(Ground) pin of Arduino Uno.

Connections:

  • Multicolour flashing LED - Anode ------> 3.3V
  • Blue - 01------> D2 || 02------> D8
  • Green - 01 ------> D3 || 02------> D9
  • Yellow - 01 ------> D4 || 02------> D10
  • Red - 01 ------> D5 || 02 ------> D11

Setting Up Your Software

code1.png
code2.png
code3.png

The codes must be similar to the basic blink codes except for the blinking patterns.

Congratulations! You Have Completed Your Project!

Blinking Multiple LEDs

Compile the sketch and upload it to your Arduino Uno to see how it works.

If you are interested, you can take a look at my improved project here:

https://arduinoprojectsbyr.blogspot.com/2019/08/12-blinking-multiple-leds-with-multiple.html