Lesson 98-9: LED Voltage Level Meter Using Arduino

Video thumbnail for Lesson 98: Arduino 10 LED Push button Projects,  Potentiometer LED Voltmeter, Traffic Light RJT441

Lesson 98-9: LED Voltage Level Meter Using Arduino

In this lesson, we learn how to use an LED and a push button in this 10-LED project. The wiring diagram is shown; the code is fully explained and demonstrated with multiple changes of settings for each project. We read the potentiometer's voltage and display the voltage by turning each LED on to represent the voltage. A simple traffic light project.

This code is part of a video lecture. This is project 9's code. This code will turn on and off 5 LEDs such that only one will be turned on using a variable resistor or potentiometer. When the knob is rotated, it looks like the light is walking. You can add more LEDs to make it look fancier.

Code Snippets

Comments will be displayed here.