Skip to Main Navigation. Each navigation link will open a list of sub navigation links.

Skip to Main Content

Apply to the University of Wyoming apply now

Global Resource Navigation

Visit Campus
Download UW Viewbook
Give to UW

Engineering Summer Program for Teachers - 2017

5-LED Light Gauge

Author: Bob Kubichek, University of Wyoming

Date: 5/22/2017

This project shows how to build a light gauge that uses an LED bar graph to show the measured brightness level.

The function “gauge()” is a good example of using “if” statements to analyze sensor values and control LED’s based on a set of rules.

The gauge circuit and software can be reused in any project where we want to display a sensor value. The presentation material and the code can be downloaded at 5-LED Light Gauge.

1000 E. University Ave. Laramie, WY 82071
UW Operators (307) 766-1121 | Contact Us | Download Adobe Reader

Twitter Icon Youtube Icon Instagram Icon Facebook Icon

Accreditation | Emergency Preparedness | Employment at UW | Gainful Employment | Privacy Policy | Accessibility Accessibility information icon