Skip to main content
Bs.1
Associate III
March 23, 2021
Question

4 digit seven segment display with stm32

  • March 23, 2021
  • 3 replies
  • 3747 views

Hi,

I am trying to interface the 4 digit seven segment display with STM32f3xx by using 74HC595.

I am using SPI between uC & 74HC595. If any one having reference for the same then it will be great for me to solve the display switching issue.

My data is display properly but unable to handle display switching .

Thanks in advanced.

This topic has been closed for replies.

3 replies

Andrew Neil
Super User
March 23, 2021

How would this differ from driving a 4-digit 7-segment display from any other microcontroller?

"I am using SPI between uC & 74HC595"

Show a schematic - how is it all wired together?

"My data is display properly but unable to handle display switching"

What, exactly, do you mean by that?

What have you tried? Where are you stuck?

Again, the concept is independent of what microcontroller you use - so there are plenty of examples to look at online ...

https://www.google.com/search?q=74hc595+7+segment+4+digit

From the first hit:

0693W000008xfE0QAI.png https://simple-circuit.com/arduino-7-segment-74hc595-shift-register/

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Bs.1
Bs.1Author
Associate III
March 25, 2021

I am using such 4 display modules connected in daisy chain.

i.e. clock, latch & digit enables pins for all four displays are connected together & data line is connected from one 74hc595 output to datain of 2nd 74hc595 and likewise....

Andrew Neil
Super User
March 25, 2021

Please post a schematic - trying to describe electronic systems in text is really ineffective. Especially in a non-native language.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.