0

members

Easy Basics: Project 012e Interactive LED Flowing Lights

of Acoptex.com in UNO

Basics: Project 012e

Project name: Interactive LED Flowing Lights

Attachments: program1 and program2

In this project, you needed these parts :

1.Aruduino Uno R3 (you can also use the other version of Arduino)

2.Arduino IDE ( you can download it from here  )

3.Jumper cables

4. LED 8 pcs (different colors)

5. Resistor 8 pcs (220 Om each)

6. Breadboard

7. Potentiometer 1 pc

General

We  have already learnt how to make flowing LED lights. In this project a potentiometer is added to control the interval of LED flashing. Eight LEDs turn on in turn and then you can change the time interval of LED on and off by adjusting the potentiometer.

You can find more information about potentiometer here.

Signals and connections of LED

The operating voltage of the LED is 1.8V and the operating current is 10mA-20mA. The Arduino Uno board can supply 5V or 3.3V power. We will use 5V for this project, so the minimum resistance of the current limiting resistor should be (5 V to 1.8 V)/20 = 160 Om. The 220 Om offered in the kit is suitable and you can also choose other resistors that meet the condition. The larger the resistance is, the dimmer the LED will get.

Build the circuit

The following picture shows the needed connections with the Arduino Uno 

Step by Step instruction

  1. Plug your Adruino Uno board into your PC and select the correct board and com port
  2. Open up serial monitor and set your baud to 9600 baud
  3. Verify and upload the the sketch to your Adruino Uno board
  4. You should see eight LEDs light up one by one in turn. 
  5. Adjust the potentiometer, and you will find the time interval of LED lighting up changes. 

Summary

We learned how to control LEDs flashing by adjusting of potentiometer.

Libraries:

  • No libraries required for this project

Program/Sketch

  • See attachment on the begining of this project description. 


Other projects of Acoptex.com
Easy Merry Xmas to everyone of Acoptex.com, Not selected 24-12-2019

Published at 21-07-2017
Viewed: 839 times