So I have this Wired Up:
And when trying to display something, the characters don't come out right. For instance, here I try to display HELO:
// 5 |_4_| 7
// 3 |___| 1 .0
As you can see LED 12, LED 34, and LED 31 are not supposed to be lit.
To get more insight, I displayed only one letter at a time and checked the results:
I keep getting these random artifacts chacters. Would anyone have any insight as to what is causing this and how to stop it?
I am using this code to test the setup before I write my program: http://arduino.cc/en/Tutorial/ShftOut12
My modifications are:
• setting the baudrate is set to 38400, as anything lower will cause flickering, due to the way I am testing this.
• Changing the pin out variables names to something I understand better
#define DATASER 11 //BIT3 //SER DS Serial data input //White Wire from 595 Pin 14 to: Arduino Pin 11 PB3
#define CLOCKSHCP 12 //BIT4 //_RCLK Shift register clock pin //Blue Wire from 595 Pin 11 Brown to: Arduino Pin 12 PB4
#define LATCHSTCP 8 //BIT0 //_SRCLK SS Storage register clock pin //Red Wire from 595 Pin 12 to: Arduino Pin8 PB0
To display the letters, I copy and paste this into the serial monitor, many times over and over, to create a long string of numbers.
// H = 1315141711
// E = 2625242322
// L = 353332
// O = 414243454647
// HELO = 131517112625242322353332414243454647