Hi,
I am looking to replicate the design below on 8x 7-segment displays, and for this purpose, I will need 2x 74HC595 via the SPI interface.
Can someone please let me know, through an example, how I can multiplex those 8 digits on an Arduino Nano 328?
Is it possible to do it only via SPI, or will I need a common anode/cathode for each digit?
Thank you,
Andreas
2x 74HC595 via SPI interface, driving 8x 7-segment display
-
andeug
- Posts: 54
- http://meble-kuchenne.info.pl
- Joined: Thu Jan 07, 2021 1:42 pm
- Location: Stockholm (SE)
- Has thanked: 16 times
- Been thanked: 2 times
2x 74HC595 via SPI interface, driving 8x 7-segment display
FC11 Professional + ARD + ARM license + Matrix TSL E-blocks2 boards
Mikroe Click boards + Click Shield for ST Nucleo-32 + Clicker 4 for ST STM32F407VG
Mikroe Click boards + Click Shield for ST Nucleo-32 + Clicker 4 for ST STM32F407VG
-
mnfisher
- Valued Contributor
- Posts: 1831
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 153 times
- Been thanked: 867 times
Re: 2x 74HC595 via SPI interface, driving 8x 7-segment display
The 74HC595 devices are daisy-chained - so writing values will 'push' the data to the second chip... So you just need to write sufficient data for both devices before latching the data. I haven't used this - but the MAX7219 works in a very similar manner.
Martin
Martin