Arduino + 16 x 2 LCD + LCM1602 I2C Adaptor

For general Flowcode discussion that does not belong in the other sections.
oadramos
Posts: 15
http://meble-kuchenne.info.pl
Joined: Wed Oct 27, 2021 5:35 pm
Has thanked: 4 times

Arduino + 16 x 2 LCD + LCM1602 I2C Adaptor

Post by oadramos »

Hi

I wonder if you can help... i tried to search but nothing came up... possibly my error

I have Arduino + 16 x 2 LCD + LCM1602 I2C Adaptor

I can get it to work with the Arduino Compiler and displays on the LCD screen

New at flowcode so i thought i would give it a try... cant get it to work.

Which component must i choose pls...

PS. Onboard LED i can get to flash on and off. So at least that is positive.

BenR
Matrix Staff
Posts: 1954
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 700 times

Re: Arduino + 16 x 2 LCD + LCM1602 I2C Adaptor

Post by BenR »

Hello,

Please can you post your project file so we can see what your doing there.

It could be that the Arduino code is enabling internal pull up resistors if no external pull up resistors are fitted on the hardware. We should be able to help with this but again I would need to see your project file to know more.

medelec35
Matrix Staff
Posts: 2088
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 645 times
Been thanked: 703 times

Re: Arduino + 16 x 2 LCD + LCM1602 I2C Adaptor

Post by medelec35 »

Hi.
It could the the address thats wrong?
The backpack is known to use two different IC's.
If you have a look at the IC on the board.
If PCF8457 and A0, A1 & A2 pads have solder shorts on them then the address is 32 = 0x20
If PCF8457A or If PCF8457AT and A0, A1 & A2 have no solder shorts on them then the address is 63 = 0x3F
What IC do you have and do any of the address pads have solder blobs or 0R resistors on them?
Martin

oadramos
Posts: 15
Joined: Wed Oct 27, 2021 5:35 pm
Has thanked: 4 times

Re: Arduino + 16 x 2 LCD + LCM1602 I2C Adaptor

Post by oadramos »

How do i export it?

oadramos
Posts: 15
Joined: Wed Oct 27, 2021 5:35 pm
Has thanked: 4 times

Re: Arduino + 16 x 2 LCD + LCM1602 I2C Adaptor

Post by oadramos »

Image
Attachments
Main.PNG
Main.PNG (28.09 KiB) Viewed 7889 times

BenR
Matrix Staff
Posts: 1954
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 700 times

Re: Arduino + 16 x 2 LCD + LCM1602 I2C Adaptor

Post by BenR »

Hello,

Ideally we need you to post your .fcfx file via the attachments tab underneath the post text entry window. The screen shot is good but doesn't provide all the information we need to be able to help, e.g. pin connections, MCU type etc.

Have you looked into Medelec's reply at all?

oadramos
Posts: 15
Joined: Wed Oct 27, 2021 5:35 pm
Has thanked: 4 times

Re: Arduino + 16 x 2 LCD + LCM1602 I2C Adaptor

Post by oadramos »

BenR wrote:
Fri Oct 29, 2021 4:50 pm
Hello,

Ideally we need you to post your .fcfx file via the attachments tab underneath the post text entry window. The screen shot is good but doesn't provide all the information we need to be able to help, e.g. pin connections, MCU type etc.

Have you looked into Medelec's reply at all?
see attached please
Attachments
Flowcode2.fcfx
(9.9 KiB) Downloaded 681 times

oadramos
Posts: 15
Joined: Wed Oct 27, 2021 5:35 pm
Has thanked: 4 times

Re: Arduino + 16 x 2 LCD + LCM1602 I2C Adaptor

Post by oadramos »

oadramos wrote:
Fri Oct 29, 2021 4:58 pm
BenR wrote:
Fri Oct 29, 2021 4:50 pm
Hello,

Ideally we need you to post your .fcfx file via the attachments tab underneath the post text entry window. The screen shot is good but doesn't provide all the information we need to be able to help, e.g. pin connections, MCU type etc.

Have you looked into Medelec's reply at all?
see attached please
Yes as busy checking it out. Responded. Thank you.

medelec35
Matrix Staff
Posts: 2088
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 645 times
Been thanked: 703 times

Re: Arduino + 16 x 2 LCD + LCM1602 I2C Adaptor

Post by medelec35 »

Hi
Sorry, I accdently deleted your post.
But I did read it.
I was trying to delete my duplicated post.
As you are using the PCF8457AT and A0, A1 & A2 have no solder shorts on them then the address is 63
You have it as the defaut 32.
You will need to change the address within component properties.
Martin

oadramos
Posts: 15
Joined: Wed Oct 27, 2021 5:35 pm
Has thanked: 4 times

Re: Arduino + 16 x 2 LCD + LCM1602 I2C Adaptor

Post by oadramos »

medelec35 wrote:
Fri Oct 29, 2021 5:53 pm
Hi
Sorry, I accdently deleted your post.
But I did read it.
I was trying to delete my duplicated post.
As you are using the PCF8457AT and A0, A1 & A2 have no solder shorts on them then the address is 63
You have it as the defaut 32.
You will need to change the address within component properties.
fixed it now. i was trying both addresses that "as suggested" previously....then saved at wrong place. see attached please.
Attachments
Flowcode2.fcfx
(9.9 KiB) Downloaded 752 times

Post Reply