Go Down

Topic: Flickering of a 4 digit 7 segment display with a port expander or shift register (Read 151 times) previous topic - next topic

Oximore

Hello,

For a project I want to use a 4 digit 7 segment display.
I use SevSeg library to use my display.
Connected directly on atmega pins all is good.

But as I ran low on pin I wanted to extend my number of pin.

First I used 2 shift register (SN74HC595).
I writed a little library to use "new pin" as virtual pin and keep SevSeg library usage.
But is cause some flinkering. And the display wasn't nice looking.

Then I tested with a port expander (MCP23017).
I writed an other wrapping of these "new" pins.
And the flinkering is still there.

Do you think it is an hardware issue or more software side ?
Is it atmega, expander or library fault ?

Any suggestions, ideas, experience to share ?

Regards,
Benjamin

AWOL

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.

Oximore

At least you precise that "[You] speak for myself, not Arduino."

And I'm quite sure I connected the ground because it blink !

AWOL

At least you precise that "[You] speak for myself, not Arduino."

And I'm quite sure I connected the ground because it blink !
You get five minutes between posts, and you wasted it on that?

Try thinking about what my "yes" means, and what you should do about it?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.
I speak for myself, not Arduino.

Go Up