cmos babe
Full Member level 4

can someone help me understand the operation of the transistors in this circuit in some details? :grin:
https://www.melabs.com/images/ledfig6.gif
https://www.melabs.com/images/ledfig6.gif
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Regnum said:of course a 10mA aren't enough !
In a multiplexed system, the average current of each led is the ratio betweeen the driving current and the number of digits you're scanning. In this case, you have four digits, so the average current is simply a quarter.
Consider the worst driving case, which is when all the LEds are on (the digit is displaying "8."), so supose you want your display to look as driven by 10 mA, so these transistors must to be able to deal with:
10mA x 4 x 8 = 320mA (!)
Regards
XNOX_Rambo said:Let's say that we source the current to one digit from pin RA0 and sink it through
pins RB0-RB7. As you say 8 x 10mA = 80 mA will flow from pin RA0 - but the
datasheet for the 16F84 states that the maximum output current sourced or
sunk by any (one) I/O pin is 25mA. So the RBx pins are (each) well within limits, but
the RA0 pin is way out of the limits. See? :wink:
/Rambo
XNOX_Rambo said:Let's say that we source the current to one digit from pin RA0 and sink it through
pins RB0-RB7. As you say 8 x 10mA = 80 mA will flow from pin RA0 - but the
datasheet for the 16F84 states that the maximum output current sourced or
sunk by any (one) I/O pin is 25mA. So the RBx pins are (each) well within limits, but
the RA0 pin is way out of the limits. See? :wink:
/Rambo
XNOX_Rambo said:We don't.
Your entire display will only need 80mA (if all segments of a digit are lit) thanks to
the multiplexing - regardless of how many digits you have or how fast you scan the
digits. Only ONE digit is active at any time.
There, I hope this is the bottom line!
But you are of course welcome to ask more questions.
/Rambo
Stop drinking beer before posting... I didn't describe anything about such a non-multiplexed thing. Any N-digits multiplexed display segment needs N times the current what drives the same segment in a non-multiplexed display, if you wanna get a similar brightness.XNOX_Rambo said:We don't.
Regnum was describing what happens if we don't use multiplexing.
The topics in this forum often go out of control because people are so eager to
explain things to the fullest...
Yeah, that's the point!irfansyah said:Maybe regnum was trying to say, that in a multiplexed LED display, the brightness of the LEDs will decrease. In order to compensate this, a larger supply current to the LEDs would be necessary, and the simple calculation would then be the nominal current (10mA for each segment) multiplied by the number of multiplexed device. ..