8-Digit 7-Segment LED Display Module - Arduino Forum Home » Arduino 74hc595 7 Segment 8 Digit » 8-Digit 7-Segment LED Display Module - Arduino Forum Maybe your like Arduino 74hc595 7 Segment 8 Digit Library Arduino 74hc595 7-segment Library Arduino 7-segment Anzeige I2c Arduino 7 Segment Display I2c Arduino 7 Segment Display Pin 8-Digit 7-Segment LED Display Module Other Hardware LEDs and Multiplexing system March 11, 2014, 2:29am 1 I've been sent this display and I'm having some issues getting it to work. http://www.icstation.com/product_info.php?products_id=2428#.Ux5gPfmwLYg With the code below I'm able to write the various digits to the display and control the decimal points. However it appears that what ever the last digit is that I write to the display fills all of the LEDs. So if I write 98765432 then 2 is displayed in all of the LEDs. This thing has no documentation so I'm just trying to figure it out. It uses two 595 shift registers. Any ideas? #define SER 11 //DATA #define RCL 12 // LATCH #define CLK 8 // CLOCK // 7 segment display with segment/bit encoding of .gfedcba // AA // FF BB // GG // EE CC // DD . // Binary mapping for digits 0 to 9 with decimal point turned off. // a bit value of 0 turns the segment on, a value of 1 turns it off. byte numbers[10] = { B11000000, B11111001, B10100100, B10110000, B10011001, B10010010, B10000010, B11111000, B10000000, B10010000 }; byte space = B11111111; // space, all segements off byte decimal = B10000000; // decimal point on bit // Positions byte positions[8]={1, 2, 4, 8, 16, 32, 64, 128}; void setup() { //set pins to output so you can control the shift register pinMode(RCL, OUTPUT); pinMode(CLK, OUTPUT); pinMode(SER, OUTPUT); } void loop() { digitWrite(9, 0, true); digitWrite(8, 1, true); digitWrite(7, 2, true); digitWrite(6, 3, true); digitWrite(5, 4, false); digitWrite(4, 5, true); digitWrite(3, 6, true); digitWrite(2, 7, true); } void digitWrite(int value, int pos, boolean decimalOn) { // turn off the output so the pins don't light up // while you're shifting bits: digitalWrite(RCL, LOW); shiftOut(SER, CLK, MSBFIRST, positions[pos]); //shiftOut(SER, CLK, MSBFIRST, pos); if(decimalOn) shiftOut(SER, CLK, MSBFIRST, numbers[value] ^ decimal); else shiftOut(SER, CLK, MSBFIRST, numbers[value]); // turn on the output so the LEDs can light up: digitalWrite(RCL, HIGH); } polymorph March 11, 2014, 2:51am 2 Please post the whole part number. That board uses the 74HC595 8 bit shift register. It only has 8 outputs. There are two on the board, no info I can see on their website, so I'd guess that one addresses the segments, the other individual digits. Cascaded, undoubtedly. So you must multiplex by sending the number -and- which digit it is, then the same for the next digit, and so on. http://forum.arduino.cc/index.php?topic=139543.0 This seller has a schematic and sample Arduino code: http://www.robotshop.com/en/serial-8-characters-7-segment-led-display.html system March 11, 2014, 10:22pm 3 Yeah that is what the code is doing, unfortunately it doesn't work. Each write causes all 8 LEDs to display the exact same value. It appears it makes no difference if I send in a position value or not. Unless I try to send the position value after the character value in which case if freaks out. Hmmm.... Related topics Topic Replies Views Activity Another 7 Segment Display driven by Shiftregister Displays 5 892 May 6, 2021 8 digit 7 segment. LedControl() Help LEDs and Multiplexing 10 4707 May 6, 2021 Shift Register + 7 Segment Display LEDs and Multiplexing 12 4552 May 6, 2021 8 digit 7 segment display countdown timer LEDs and Multiplexing 2 1823 May 6, 2021 Single digit 7 segment display using shift register LEDs and Multiplexing 5 2876 July 9, 2021 Tag » Arduino 74hc595 7 Segment 8 Digit ShiftDisplay - Arduino Reference Seven-segment Display With A 74HC595 Shift Register - Arduino Cloud Controlling 7 Segment Display Using Arduino And 74HC595 How To Use 74HC595 Shift Registers To Control Mulitple 7 Segment ... Brainwagon/clock8 - GitHub Dikkedimi/robotdyn-74HC595-7-segment-8-digit - GitHub How To Use 74HC595 Shift Register With Arduino. Building Custom ... Driving An 8 Digit, 7 Segment Display Based Upon The 74HC595… ShiftDisplay | Arduino Library For Driving 7-segment Displays Using ... Diymore 0.56 Inch 8 Bit Digital Tube Module Red Display 8-digit 7 ... 0.36 Inch 0.56 Inch 8-digit Digital Display Tube Module 74hc595 7 ... Control 7-Segment Display With 74HC595 Shift Register - MathWorks Arduino 4-Digit 7 Segment Display 74HC595 Module