If we wanted to be absolutely certain that we were not going to over current the LEDs or the microcontroller I/O ports, we would use resistors to limit the current.Normally for a LED you have to put a resistor to limit the current. But in the above circuit there are no resistors for the 7 segment....
Is that ok? aint I gonna burn something?
You say that your 7segment LEDs are common anode, the 7seg LEDs in the circuit to which you linked are common cathode.
Your LEDs will not work in that circuit.
If we wanted to be absolutely certain that we were not going to over current the LEDs or the microcontroller I/O ports, we would use resistors to limit the current.
However, because the display is multiplexed, each display is only illuminated for part of the time, the average current is lower and we can run the circuit without current limiting resistors.
Some time ago there was a very heated discussion about display drivers like this here on ETO. If I remember correctly, it did not end well!
JimB
One more question though
Instead of putting 8 resistors for each pin of the LED, can I put only one resistor of say 1K in the common pin and the others go directly ( to ..say a microcontroller??)
Wait! I just realized.....
In that example the current is being limited by the transistor, isnt it???! I mean there is a resistor to the base which limits the current to the base therefore the current in the collector emiter will be limited...ergo not needing a resistor!
am I wrong?
Try 220 ohn on each segment and a 470 ohm on the base.. That way you'll see it... The multiplexing will dim the LED's quite a bit and a 1.2k will resist the current a little too much...
Have you considered using 74HC595 drivers??? that way you can give the segments the brightness they deserve..
Are you using the AVR as in the diagram??
Instead of putting 8 resistors for each pin of the LED, can I put only one resistor of say 1K in the common pin and the others go directly ( to ..say a microcontroller??)
That's why I asked what processor... He's using a pic..As I recall, The ATMEGA CMOS drivers hav an internal resistance of about 25 Ohms and the LED has an ESR determined by size or power rating, often in the 15 Ohm range. This combined ESR will current into a 1.6~2.2V Red LED when driven from a 5V supply and dependent on actual wavelength of Red and Vf @ rated current. If you choose LEDs rated at 2V @ x mA then Ohm's Law estimates current at 3V/40 Ohm or 75mA.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?