I'm having problems while installing my led stairs, on the breadboard everything worked fine,
soldered everything using the same schematics, made sure not to solder any electrical components as they might burn trough, so al components where snap on.
I'm using 2 shift registers, each using 3 channels on my arduino (since i coulnd't get daisy-chaining to work),
but since i soldered everything the leds do light up but won't receive the right data, as they should go on/off every 3 seconds.
I checked al the solder connections making sure nothing is shortcutting, tried other codes, and as I'm trying now, i'm trying to see if the serial monitor detects any messages i send from the arduino, but i'm not getting anything in. It seems the problem lies here and hope you guys might be able to help me out!
Thanks in advance!
note: I'm new here so please don't be mad if i put this in the wrong section
Here's the code i used:
//Output channels Shift Register Lower
int clockPin = 12; //IC Pin 11, Yellow Jumper
int dataPin = 8; //IC Pin 14, Blue Jumper
int latchPin = 11; //IC Pin 12, Green Jumper
//Output channels Shift Register Upper
int clockPin2 = 6;
int dataPin2 = 3;
int latchPin2 = 5;
int Print = 100;
void setup()
{
//Set al pins to shift registers as output
pinMode(latchPin, OUTPUT);
pinMode(clockPin, OUTPUT);
pinMode(dataPin, OUTPUT);
pinMode(latchPin2, OUTPUT);
pinMode(clockPin2, OUTPUT);
pinMode(dataPin2, OUTPUT);
}
void loop()
{
Serial.println(Print);
delay(10);
//turn off all leds first
digitalWrite(latchPin2, LOW);
shiftOut(dataPin2, clockPin2, MSBFIRST, B00000000);
digitalWrite(latchPin2, HIGH);
delay(10);
digitalWrite(latchPin, LOW);
shiftOut(dataPin, clockPin, MSBFIRST, B00000000);
Serial.println(Print);
digitalWrite(latchPin, HIGH);
delay(3000);
//turn on all leds for 3 seconds
digitalWrite(latchPin, LOW);
shiftOut(dataPin, clockPin, MSBFIRST, B11111111);
digitalWrite(latchPin, HIGH);
delay(10);
digitalWrite(latchPin2, LOW);
shiftOut(dataPin2, clockPin2, MSBFIRST, B11111111);
digitalWrite(latchPin2, HIGH);
delay(3000);
}