I'm making a electronic combinational lock using D-flip-flop IC 4013 and transistor 2N3904..... I made the circuit on general purpose board.... the circuit is working but the problem is that i'm getting very low current for K1 load (Plz see the circuit diagram attached).... I'm able to glow a LED attached to K1 load, but i'm not able to operate a 6V RELAY.... I want to use a RELAY bcoz i want to operate a electromagnetic striker or something like that to make a lock mechanism which will operate on fairly high voltage & current....
The logic is shifting a zero from left to right. It looks to me like the transistor should be a 2N3906, or other PNP.
As Eric said, the required base resistor is dependent on the relay. It should be about 15 times the resistance of the relay coil.
The LED may be overstressed with the full relay current passing through it. It should probably have a resistor in parallel with it.
I think the 2N3904 is trying to be an emitter-follower but its emitter and collector are connected backwards. So the poor CD4013 is driving the relay and LED through the 18k resistor in series with the base-collector diode of the transistor. Less than 1mA.
I think the 2N3904 is trying to be an emitter-follower but its emitter and collector are connected backwards. So the poor CD4013 is driving the relay and LED through the 18k resistor in series with the base-collector diode of the transistor. Less than 1mA.
Could be, but the logic calls for a PNP. If he wants to use an NPN emitter follower, he needs to tie the leftmost D input to Vcc instead of GND, and tie all the "illegal" parallel switches to the Set input, instead of Reset, as he now has it.
I don't understand why one would want the LED and the relay coil in series in the first place as the currents through both may not be compatible for good operation of both. Why not just put the LED with a current-limiting resistor in parallel with the coil? Or hang it off either the Q or Q-not output of the last chip so that the transistor does't have to deal with the LED current at all.
If you need it to be more secure, you might want to diode isolate each of the reset switch inputs to prevent someone with a DMM from just sweeping the contacts to find your switch pattern, if they're able to get access to the contacts.
Might want to check out the LS7220 digital lock IC is an alternative to the circuit if you just need to make this for the function as opposed to the project experience, it has a few extra amenities like status save. http://www.datasheetcatalog.com/datasheets_pdf/L/S/7/2/LS7220.shtml
The touch pad would be a neat idea but it'd probably be more important to diode isolate your resets. Otherwise a DMM would reveal all the reset inputs by a quick continuity check, and then all it would take is to touch all the remaining inputs-
Might also add some clamps to protect the inputs from ESD if there's going to be direct contact with a charged up finger-