Skip to main content

 I urgently need individuals who are willing to cooperate on my website and projects.

Energy saving running LED bar graph

Published: 19 October 2020
Last updated: 19 October 2020

A LED bar graph is normally lit continuously. This is not useful for applications that need low energy consumption. That's why I made a LED bar graph that uses less energy. Instead of lit the LEDs continuously, the LED bar graph works as a running light whereby the last LED, which indicates the actual level, lit a little bit longer. The code shown is for a LED bar graph with 5 LEDs.

The running LED bar graph is used at my Yamaha e-bike battery hack with accurate fuel gauge:


Download the code Running_led_bar_graph.ino here at GitHub.

Other articles from Interfacing with hardware