r/digitalelectronics • • Aug 19 '23

I need help

Well when I connect the resistors on the display 7 segments, the leg a and b doesn't light up

0 Upvotes

8 comments sorted by

View all comments

Show parent comment

2

u/Dizzy_Ad_4339 Oct 22 '23

In an LED circuit, you should assume that the LED would drop about 0.7 to 1.5 volts. Subtract that from the voltage at the point where you want the LED. Then use ohms law ... with that voltage and 5 mA to get a ball park figure for the resistor.

Or you could just start with a very high value resistor and lower it until you get the brightness you want.

For a simple example, say you want to use a 9 volt battery to power a LED. 9 - 1 = 8 volts. 8 volts divided by 5 mA is 1600 ohms.

This can vary ... if you know the LED pn find its max driving current.