I have a quick question on how to read a datasheet.
Here is a link to the datasheet in question.
http://www.lumex.com/specs/LDQ-M512RI.pdfAnyway, I'm trying to determine how much current these LEDs want.
The datasheet says 25mA constant current. But does that mean per digit, per LED, or total (for all 4 digits)? I'm not sure how to test how much current a particular LED wants. I mean, I guess I could stick 5V with a pot in series across the LED, then measure brightness, but that's a PITA. Or, I could assume normal green LED specs. My current thinking is that the 25mA is PER LED. Which means I should choose resistors for my PNPs to provide 200 mA per digit. Hm, that'd be .8A total running through that little display, seems excessive. My revised thinking says that it's 25 mA per digit.
Next question. If I choose appropriate resistors for PNPs to provide 25mA per digit, what happens when I only light one segment? All 25mA are going to run through that one LED. That can't be good for it. Although in the terms of a green LED, 25mA isn't much.
Next to final question. When building a circuit for said display, when using PNPs that connect to the common anode pins, do I need a resistor on the collector of the transistor? I think no, because the collector current is proportional to the base current. Therefore the collector current can be controlled by the base current.
Final question (unless I think of more): Using a microcontroller to control this, I would also want to use NPNs between the actual segments and the micro, correct? I mean, the micro can sink that much current, it isn't much (considering only one digit is lit at a time with multiplexing, assuming my assumptions are correct above of only 25mA per digit, then the micro would only sink well... 25 mA at a time with some error). BUT, I don't think that's the right way to build the circuit, or is it ok to get away with?
Just for the record, I'm just learning this stuff, so I probably got a lot of the above wrong. I chose PNPs to "source" the current because that's what the internet told me. (And my electronic's books didn't say anything about the difference between the two other than that the biases are reversed for PNPs as compared to NPNs. And if I stated THAT incorrectly, the "diodes" are pointing the other way is the way I think of it. I know that most circuits (unless you're using matched transistors or something similar) can be built with either PNPs or NPNs, but there is a correct way to do things. I should stop typing now.