Working with a Potentiometer and Two LEDs

This project demonstrates the use of a potentiometer to control two LEDs.

May 23, 2019

14028 views

3 respects

Components and supplies

1

Arduino UNO

1

Single Turn Potentiometer- 10k ohms

2

LED (generic)

1

Jumper wires (generic)

2

Resistor 1k ohm

1

Breadboard (generic)

Apps and platforms

1

Arduino IDE

Project description

Code

Code

arduino

Downloadable files

Breadboard Diagram

Breadboard Diagram

Circuit Diagram

Circuit Diagram

Schematic Diagram

Schematic Diagram

Comments

Only logged in users can leave comments

Anonymous user

5 years ago

I have spend enough time earlier trying to write code to alternately control LED using potentiometer but fail. They code up there has served me out of that mess. Thanks so much.