Voltage used up by a transistor and shift registers

Thread Starter

yash02

Joined Nov 19, 2014
12
i am on a project 8x8x8 LED cube and I am stuck on the value of register i should use.

Talking about single layer
I am using 2N5296 transistor for common cathode and 8 shift registers for controlling 64 anodes.The LED I have used are from robocaze.com which are 3mm Blue LED undiffused.

Now the problem arises between shift register and anodes of LED I need to connect resistor and I want to calculate its value.But I dont know that what amount of voltage and current are used up by the transistor and the shift register (74HC595).

If someone can help me figuring it out then I will be very thankful to him.

Datasheet Links :-

Transistor 2N5296

Shift Register 74HC595

Thanks in advance

-YASH LOTAN
 

Thread Starter

yash02

Joined Nov 19, 2014
12
LED can tolerate a max of 35mA. I wish to run 64 LED array at 20mA i.e., 20mA * 64 = 1.28A which is the current I want from each transistor.
 

Alec_t

Joined Sep 17, 2013
14,335
between shift register and anodes of LED I need to connect resistor and I want to calculate its value
Provided one shift register will be driving only one LED at a time, value = (Vdd-Vf-Vsat)/0.02 Ohms, where Vdd is the shift register supply voltage, Vf is the nominal forward voltage of the blue LED and Vsat is the saturation voltage of the 2N5296.
 

Thread Starter

yash02

Joined Nov 19, 2014
12
Provided one shift register will be driving only one LED at a time, value = (Vdd-Vf-Vsat)/0.02 Ohms, where Vdd is the shift register supply voltage, Vf is the nominal forward voltage of the blue LED and Vsat is the saturation voltage of the 2N5296.
The saturation voltage is max 1V so much I should take to calculate resistor value?
 

Thread Starter

yash02

Joined Nov 19, 2014
12


I want to know the value of R1.
Q1 is 2N5296 Shift register output is 5V and 40mA(i.e. from arduino mega 2560 digital pin)
 

ScottWang

Joined Aug 23, 2012
7,409
Your linking of 2N5296 is wrong, here is a correct datasheet.

I still can't see the whole picture only can guess, the output of register can't offering enough current for 8 leds, I_led = 20mA * 8 = 160mA, for the saturation current of Q1 that the hFE should be count as 1/10, and b of Q1 should providing Ib = 160mA/10mA=16mA.
Calculating the values of R1:
Assuming that the output voltage of register is 5V and labeled it as Vq.
I_R1 = (Vq - Vbe)/16mA
I_R1 = (5V - 0.7V)/16mA
I_R1 = 4.3V/16mA
I_R1 = 268.75Ω = 269Ω

269Ω is for the full duty cycle, but the leds display is using scan, so you can using the values less more than that.
 
Top