Sunday, June 13, 2021

Arduino Simulator Example - "LED bar graph" 📊

Arduino "LED Bar graph" on Arduino simulator

 Summary

Arduino "LED bar graph" The bar graph - a series of LEDs in a line, such as you see on an audio display - is a common hardware display for analog sensors. It's made up of a series of LEDs in a row, an analog input like a potentiometer.

Wokwi Arduino simulator is used here as it is free and easy to use online. 

Tip✅: Always connect a resistor of about 220 ohms in series with the LED. Do not connect them directly to the Arduino Pin.

Wokwi Arduino Simulator - LED bar graph project
Wokwi Arduino Simulator - LED bar graph project


You can do following things with the Arduino Simulator example

  • Can you make two columns instead of one?

Arduino Simulation

In the section below, you can also modify the code and see the results instantly. You can change the code and recompile it by clicking on rerun/Run button. For more help, please visit Discord channel of the Wokwi Arduino Simulator. 

No comments:

Post a Comment

Be Nice Policy :)

Arduino IR simulator projects - "simple receiver"

Arduino "IR simple receiver" on Arduino simulator - IR remote project  Summary Arduino "simple receiver" is an Arduino p...