7 segment led question on PDB
Redd Dawg
Posts: 26
So I'm working on experiment 10,·"A DIGITAL CLOCK",·in StampWorks and am concerned about the current draw when it's running.· Can't find the forward votage and forward current ratings for the 7 segment LED's in the manual or Parallax site.· I know there is a 470 infront of·each segment, but not sure if that's enough?· Looking at other LED specs, it looks like the draw would be more than 25mA per digit on the common cathode when all segments are lit.· Should I worry, or go for it.· ·I know only one digit is on at a time, but...· As a newbie, just trying to be cautious and to learn a bit more.· Thanks for your help in advance.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Comments
5v - 2.1v = 2.9v "left over" from forward voltage of LED
2.9v / 470ohms = .00617amps (ohm's law)
So that's a little over 6 ma.
Say the LEDs have a greater forward voltage:
5v - 3v = 2v
2v / 470ohms = .00425 amps (4.25ma)
Or say they have lower forward voltage, which could give you bigger current draw:
5v - 1.7v = 3.3v
3.3v / 470ohms = .00702 amps (7ma)
So across a range of possible foward voltages, you are certainly not going to overpower your Stamp even with 7 segments + DP lit (presuming you are using an outboard regulator).
Here is a handy calculator that lets you figure resistances and current draws for various LED configurations, forward voltages, etc:
ledcalc.com/
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A Stamp pin is rated to continuously sink 25 mA, so in this case it all works out.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔