
Interactive circuit guide
Run the simulation, follow the build steps one by one and try it in our real app.
Stopped
Step-by-step build
What is it for?
In this project you show the value read from an adjustment resistor on a multi-segment LED bar. The level information is applied to the control board input; the board converts the value into zones and lights the matching segments of the bar. The bar is driven through its own series resistor; the ends of the adjustment resistor go to supply and ground and the wiper to the reading pin. You learn how an analogue value becomes a digital display and how threshold zones are created. On the breadboard the bar is on the right and the adjustment resistor at the top left. The ground rail collects at one point and returns to the board GND pin. This method is widely used to monitor changing quantities such as battery level, sound intensity and fill level.
Parts list
The following components are used to build this project:
- Control board × 1 — Reads the level and converts it into zones.
- LED bar × 1 — Shows the level as lit segments.
- 220 Ω resistor × 1 — Limits the LED bar current.
- 10 kΩ adjustment resistor × 1 — Produces a variable level.
- Jumper wire × 7 — Makes the signal, supply and ground connections.
- Ground (GND) × 1 — Common reference point.
Build it step by step
- Place the LED bar and adjustment resistor on the breadboard.Tip: separate the two bar terminals according to the pin order.
- Connect the bar data terminal to board pin 1 through the 220 Ω resistor.Tip: the resistor protects all segments.
- Connect the bar common terminal to ground.Tip: without the common terminal no segment lights.
- Connect one end of the adjustment resistor to board pin 4 and the other end to ground.Tip: the level is changed with the wiper.
- Connect the wiper terminal to board input 2.Tip: the value read determines the level.
- Connect the ground rail to the board GND pin and turn the wiper to watch the segments.Tip: as the level rises more segments light.
How it works
The adjustment resistor produces a variable voltage depending on the wiper position. The control board reads this voltage and compares it with preset thresholds. Each threshold range corresponds to one segment of the bar; the range the reading falls into determines how many segments light up from the start. The series resistor limits the current through all segments of the bar and protects the LEDs. When the common terminal is connected to ground, the segments given a data signal conduct. This structure turns a continuously changing quantity into a stepped visual scale that a person can read quickly. Battery level and fill indicators use the same threshold logic.
What you learn
- Explains how an analogue value becomes a stepped display.
- States how threshold zones are created.
- Recognises the role of the adjustment resistor wiper.
- Knows why the LED bar needs a series resistor.
Tips
- If no segment lights, check the bar common terminal and the resistor.
- If the level does not change, make sure the wiper goes to the correct input.
- Choose even threshold ranges so the scale looks linear.
Try it yourself
- Change the level: Turn the wiper and watch the number of lit segments change. More segments light as the level rises and fewer as it falls.
- Find the thresholds: Note the wiper positions where a new segment lights. Each new segment appears at a distinct threshold.
Getting the parts
If you want to build this project in real life, you can get the parts from hobidevre.com.
hobidevre.com · more build guides
Frequently asked questions
What is this circuit for?
It displays the level read from an adjustment resistor as lit segments on a multi-segment LED bar.
How does the circuit work?
The wiper voltage is read at an analogue input and compared with thresholds; each range lights one more segment. A series resistor protects the bar and the common terminal provides the return path.
What is the expected result?
The number of lit segments follows the wiper position gradually, with the series resistor and common terminal fitted.