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

Skip to Main Content

Apply Now to the University of Wyoming apply now
Visit Campus
Download UW Viewbook
Give to UW

Light Gauge

Last Updated: 7/24/18

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.

Light Gauge

The presentation material and the code can be downloaded at 5-LED Light Gauge.

Contact Us

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

Accreditation | Virtual Tour | Emergency Preparedness | Employment at UW | Privacy Policy | Harassment & Discrimination | Accessibility Accessibility information icon