
Originally Posted by
zx_sa Actually, I think the problem is that all the segments are powered through the same current limiting resistor. As more segments are switched on, more current flows through the resistor and therefore there is a larger voltage drop across the resistor. This is why, when displaying an 8, the brightness is very low.
To solve the problem, place a resistor not on the common line, but on each of the 7 lines (8 if your display also has the '.' character) driving each segment.
The better type of 7 segment display, in my opinion at least, is the type with a common ground connection. For these you can easily use a transistor (normal NPN type) to switch on each segment. This ensures that the microcontroller doesn't take too much load, and all your segments are nice and bright - always.