Hi Guys -
I've tested my understanding using the ShiftOut tutorial, and made the circuit using LEDs - but now need to step it up to power 12 number 12V solenoids. I've put in diodes (IN5404) to stop the current reversing when the solenoid is discharging, and also transistors (TIP-122) to step up from the low current / voltage of the Ardunio circuit to the solenoid circuit.
A couple of questions I have relate to:
_If a resistor is needed between the output pin of the 595 to the gate pin of the transistor (and if so, what size); and
_If a capacitor is needed across the latch pin (and if so, what size).
The solenoids will only be on one at a time - details as follows:
Rated Voltage: 12V
Operation Voltage: 10.8V - 13.2V
Rated Current: 0.58A
DC Resistance: 20.57 Ohm.
Any suggestions on what I've missed / how to improve efficiency greatly appreciated.
_If a capacitor is needed across the latch pin (and if so, what size).
No that was a mistake in the original tutorial. There should be a 0.1 ceramic capacitor on the 5V and ground of each shift chip.
You don't need a seriese resistor for FETs as you have drawn but your text says you are using a TIP122 that is not a FET and you will need a 1K seriese resistor.
Change from TIP122 to some more modern as IRF 540 or similar. Your drawing are OK.
1N5404 are overkill, the peak current from the solenoid are max 0,58 A and 1N400X are a better choice.
Have you already attached the 5404 so let it be.
No.
Not only is that vastly overpriced, it is not a logic level FET, it takes 10V to fully turn it on. You want a FET that takes only 5V. The gate threshold voltage is where it just starts to turn on not when it is fully on. For that see the gate voltage in the Ron or drain source resistance line of the spec.
My bad, I said TPIC6C595 when I meant TPIC6A595, which is the data sheet I linked to.
So the peak current is 1.1A for a single output, not 500mA, but as GM says, that is for <100us. Your solenoid will probably hit its peak current for a moment but probably still too long.
I did a bit of digging on the TPIC6A595 based on your link and decided that I'd go with the logic N-Channel MOSFET's - still keeping the transistors and diodes - on the thought that the 74HC595 is well canvassed in Arduino forums when I come to programme the code!
Thanks all again - will come back and post photos once I've built the other 11 of these!! (first video on the left):
ewen:
the 74HC595 is well canvassed in Arduino forums when I come to programme the code!
Actually the code for TPIC6A595 would be identical (it is a high power version of same chip). Shame your solenoids are so current-hungry - would have saved some complexity for you.