Page 1 of 1

Shift Register 74HC595

Posted: Wed Jan 29, 2020 8:36 pm
by jgu1
Hi Benj!

As promised.
Sorry,I think something is wrong. I create a little testprogram with a counter start from 0 and count up to 9999

1. In panel, and properties I choose from 1 up to 6 I no change in the amount of 7digit in panel, maybe it should be?
2. I have 4 x 7seg. digit. In simulation, if I choose 4 x 7 digit I only see two digit. Have to change it to 6 x7 before I see 4 x7.
3. No matter what order I set the componentmacro for ones, tens, hundred and thausen, in simulation it start always counting from right to left (ok)but in real world the counter start with the lowest significant value from left.
4. You see in the start of my program I use the "segment" and set it to 99 is an square in the top, ok in simulation but the segment in the middle (G) is missing in real world.
5. You see in the testmacro "Value" seemed to work ok in realworld, but opposite in simulation.

Maybe I am doing something wrong, in that case, I apologize :lol: but compared with the TM1637 its behavior is a weird :wink:

Br Jorgen

Re: Shift Register 74HC595

Posted: Fri Jan 31, 2020 1:00 pm
by Benj
Hi Jorgen,

I beleive I have now fixed the problems that you and Martin have reported. The one missing is the missing G segment on hardware. Can you test the DP segment and see if the G and DP are reversed on your hardware.

If they are then I might have to create some kind of a mapping function to allow the segments to be laid out in a different order on the shift register.

I am currently assuming the connections are like this, which on existing hardware might not be the case.

QA = SegmentA
QB = SegmentB
QC = SegmentC
QD = SegmentD
QE = SegmentE
QF = SegmentF
QG = SegmentG
QH = SegmentDP

Re: Shift Register 74HC595

Posted: Fri Jan 31, 2020 6:44 pm
by jgu1
Hi Ben!

Yes I see now that changing the amount of 7 segment on panel work, also in "real world". :D

The DP has no influence on segment G. but the position of DP is not correct according number in componentmacro.

THe other thing I mentioned is still the same.

Ben, Monday I will send you a display, I think it will be easyer for troubleshooting when you have one for testing. And keep it.

I assume the adresses is:

Ben Rowland
Matrix Technology
The Factory
33 Gibbet Street
Halifax
West Yorkshire
HX1 5BA
United Kingdom

Hope this is ok.

Br Jorgen.

Re: Shift Register 74HC595

Posted: Fri Jan 31, 2020 11:47 pm
by Benj
Ooh excellent, thanks Jorgen much appreciated :D

Yes that address is correct thanks.

Re: Shift Register 74HC595

Posted: Wed Feb 05, 2020 2:48 pm
by jgu1
Hi Ben!

Send a display to this monday. Please let me know when you receeive it. :D

Br jorgen

Re: Shift Register 74HC595

Posted: Sun Feb 09, 2020 7:58 pm
by jgu1
Hi Again Ben!

I'm surprised you haven't received the display yet. So far the UK is not from Denmark :lol:. If you did not receive it this week, I will send you a new one the end of this week, and this time it will be track and trace included.

Br jorgen.

Re: Shift Register 74HC595

Posted: Mon Feb 10, 2020 11:30 am
by Benj
Thanks Jorgen,

No sign of it yet but things can get held up in customs I suppose, especially now :roll:

Re: Shift Register 74HC595

Posted: Mon Feb 10, 2020 11:38 am
by jgu1
Oh yaeh, forgot that, make a Brixin again :lol:

Jorgen

Re: Shift Register 74HC595

Posted: Wed Feb 12, 2020 8:53 pm
by Benj
Hi Jorgen,

It arrived today, many thanks I'll have a go at firing it up tomorrow.

Re: Shift Register 74HC595

Posted: Wed Feb 12, 2020 9:00 pm
by jgu1
Very nice Ben, Thank you.

Br Jorgen

Re: Shift Register 74HC595

Posted: Wed Feb 19, 2020 12:04 am
by Benj
Got somewhere with this now and seems to be better reflecting the sim now. I'll do some more testing using your example.
20200218_225943.jpg
20200218_225943.jpg (50.41 KiB) Viewed 7994 times
I'll get the latest component uploaded for you tomorrow. Many thanks for sending in the hardware.

Also gave me a chance to test out my new digital output SCADA slave injector, seems to be working well :D

Re: Shift Register 74HC595

Posted: Wed Feb 19, 2020 6:47 am
by jgu1
Wow, Ben, look good. It`s me who thank`s. Look forward to test it later today. Nice you can use the display for other purpose too. :D

You hear.

Br Jorgen.

Re: Shift Register 74HC595

Posted: Wed Feb 19, 2020 11:20 am
by Benj
Thanks Jorgen, Should be there for you now.

Re: Shift Register 74HC595

Posted: Wed Feb 19, 2020 8:14 pm
by jgu1
Hi Ben!

I have now test the update component thank´s. I create a new testprogram. The component macro Digit and Digits work perfect :D

But not the "Show segment". It work fine in simulation but not in real world :(

Try to look in simulation INIT and Show_Temp macro in simulation, perfect, but in mine display, it look like some timing not is correct.

Br Jorgen

Re: Shift Register 74HC595

Posted: Fri Feb 21, 2020 11:40 am
by jgu1
Hi Ben

I dare to ask you. Kindly :wink: I know you are a busy guy, and No press, maybe you already work on it. But Do you mean that the component work As it should or is it my display not working correct, because my display is Strange when i use the “ show segment”. In simulation ok, But not in Real World.

Thank’s in advance. :D

Jorgen

Re: Shift Register 74HC595

Posted: Fri Feb 21, 2020 12:29 pm
by Benj
Hi Jorgen,

Just investigating for you now, that's a nice example to show the problem :D

Edit: should be all fixed for you now, thanks for the nudge :D

Re: Shift Register 74HC595

Posted: Fri Feb 21, 2020 2:42 pm
by jgu1
Ben, Flowcode and you are amazing, :lol:

Just testet, work perfect, so nice, thank you :D

Have a nice weekend

Br Jorgen...………...