Reading the datasheet, it shows that a resistor and a capacitor should be used on each output
I think you are looking at the test circuits, these are just to show how the manufacturer (or you) can test the chip. Nothing to do with using it normally.
No resistors or caps required on the outputs.
how do i drive the 2nd TPIC6C595 connected on the SerialOut of the 1st TPIC6C595 ?
Just daisy chain ser out to ser in etc for as many chips as you like.
You're telling me that i have to add a capacitor across "Vcc" and "GND" pins of each TPIC6C595 ?
Yes, standard procedure for just about any chip.
if i use the TPIC6C595 daisy chained, i will not need to buy 2N2222 transistors as i will be able to use my TIP120s
I
still don't understand why you need both a high-current chip
and transistors. Can you answer that question?
- Time = 0 >>> I want to turn ON relay 3
- Time = 1 >>> I want to keep relay 3 ON and turn ON relay 7
- Time = 2 >>> Now i want to turn OFF relay 3
int pin_bits0 = B00000100; // relay 3 on
int pin_bits1 = B00000000;
digitalWrite (latchPin, LOW);
shiftOut(dataPin, clockPin, MSBFIRST, pin_bits1); // send upper 8 bits
shiftOut(dataPin, clockPin, MSBFIRST, pin_bits0); // send lower 8 bits
digitalWrite (latchPin, HIGH);
delay (1000);
int pin_bits0 = B01000100; // relays 3 and 7 on
int pin_bits1 = B00000000;
digitalWrite (latchPin, LOW);
shiftOut(dataPin, clockPin, MSBFIRST, pin_bits1); // send upper 8 bits
shiftOut(dataPin, clockPin, MSBFIRST, pin_bits0); // send lower 8 bits
digitalWrite (latchPin, HIGH);
delay (1000);
int pin_bits0 = B01000100; // relay 3 off, 7 on
int pin_bits1 = B00000000;
digitalWrite (latchPin, LOW);
shiftOut(dataPin, clockPin, MSBFIRST, pin_bits1); // send upper 8 bits
shiftOut(dataPin, clockPin, MSBFIRST, pin_bits0); // send lower 8 bits
digitalWrite (latchPin, HIGH);
______
Rob