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.
Ok, i had saw these pins but i'm wondering how does the first TPIC6C595 passes the data to the second one ?
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.
What should be the value for the shift-register to works without troubles ?
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?
Aaaahhhh ... please forgive me with this, i was in my dreams yesterday @ night (too much coding drove me crazy ! haha -> I'm actually working on a dynamic menu tree for KS0108 library)
- 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);
-> You must had make a mistake on the last step ... wouldn't the last (int pin_bits0 = B01000100) be (int pin_bits0 = B01000000) instead ?
(if i'm wrong ... then i will REALLY need some reading about how the process of enabling/disabling outputs works ...)
Thanks to you for all your time spent on my questions !