KS0108 display + PZEM-004T!

For general Flowcode discussion that does not belong in the other sections.
Post Reply
jgu1
Posts: 811
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 691 times
Been thanked: 183 times

Flowcode v10 KS0108 display + PZEM-004T!

Post by jgu1 »

Hi

I try to create a procect with an Arduino an a KS0108 display. The display show some strange sign. I have checked the wiring many time and change the display but same result The sign is moving so something happend.

Am I doing something wrong please?

Br Jorgen
Attachments
IMG_0414.jpg
IMG_0414.jpg (128.55 KiB) Viewed 2617 times
PZEM DCAC.fcfx
(22.59 KiB) Downloaded 98 times

medelec35
Matrix Staff
Posts: 2080
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 642 times
Been thanked: 697 times

Re: KS0108 display + PZEM-004T!

Post by medelec35 »

Hello.
I have checked your project on a Uno and the KS0108 is working as expected.
KS0108 Display.png
KS0108 Display.png (102.68 KiB) Viewed 2508 times
Since it works on the Uno, there is no reason for it no to work on the nano.
The issue you see with the display is either a wrong data connection or Open/Short.
With the power removed it's worth checking each pin of the display is connected to the correct pin of the nano using a DMM
Martin

medelec35
Matrix Staff
Posts: 2080
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 642 times
Been thanked: 697 times

Re: KS0108 display + PZEM-004T!

Post by medelec35 »

If you run a full database update and make sure uart cal is updated, the PZEM component wrapper will look a lot better.
Martin

jgu1
Posts: 811
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 691 times
Been thanked: 183 times

Re: KS0108 display + PZEM-004T!

Post by jgu1 »

Hi Martin!

Many thank´s for wiring up and testing my program :D At least I am glad it work by you, then I know I do something wrong.

It is strange, because I have checked all connection several time and also a new display. I test with a LCD display it work and your PZEM component also, perfect.

I am always full update with FC.

I will check again, if I not manage I will test on an Uno.

You hear, thank´s :)

jgu1
Posts: 811
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 691 times
Been thanked: 183 times

Re: KS0108 display + PZEM-004T!

Post by jgu1 »

Hi Martin!

You were right Martin. Two of these cheap jumper wire have bad connection, after replacing them, the display works perfectly.

Once again, thank you very much for your help :D

Br Jørgen

medelec35
Matrix Staff
Posts: 2080
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 642 times
Been thanked: 697 times

Re: KS0108 display + PZEM-004T!

Post by medelec35 »

Hi Jorgen.
I'm glad you managed to resolve the issue, well done.
I have had O/C jumper wires before, So I feel the pain.
Thanks for keeping us updated.
Martin

Post Reply