Hi Guys, new to Arduino but I’ve built an LED Strip Light Scoreboard (4 Digit/7 Segments per digit).
Each 7 Segment Digit is connected to a 74HC595 shift register, in total will have 4 shift registers which are daisy chained and connected to an Arduino Nano.
Having some struggles programming the shift registers, I’ve managed to get a test code on which is cycling through each segment individually (which is great)… but now I need to be able to program each of the numbers using both an IR Remote and also “UP/DOWN” buttons for each side of the scoring.
I’ve been looking at a few projects people have done previously but their coding is not using a Arduino Nano and not really using shift registers how they can be used (daisychained).
I’ve uploaded the current sketch I am working with…
Would really appreciate any help that you guys can provide to get this all working
Hey Robin, those sketches look similar to what I used to test the registers were daisychained properly to beging with… But I can’t work out how to progress to then make these work with the scoreboard numbering and I need someone to assist
No magic needed, just a little knowledge of how segment displays work.
First the display is made up of seven discrete LED bars, and a decimal point. Usually either the anode or cathode of these is commoned to reduce the number of connections required. The data “clocked” to the shift register is the bits required to turn on/off the individual segments.
In the sample code, the array led_BCD holds that bitmap for the hex digits from 0 to 9 and abcdef.
So instead of sending out say 2, you send out the info in led_BCD, and the decimal point as required.
The example uses a common anode display, so if you are using common cathode display, you may need to invert the data in the array.