4x1 LCD I2C

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

4x1 LCD I2C

Post by Jan Lichtenbelt »

I wanted a very small LCD. I found a 4x1 LCD with uses I2C http://www.hexpertsystems.com/LCD/. It uses the Philips PCF8576C driver.

But the first test met flowcode 7 does show the expected results, see picture.
Can someone helps me?
- Can that be due to the fact that the Flowcode minimum setting for this LCD is 1x5 instead of 1x4?
- Or does it means that I cannot use the standard LCD-I2C macros and that I have to program it with I2C commands myself?

With kin regards

Jan Lichtenbelt
I2C.jpg
I2C.jpg (58.73 KiB) Viewed 4795 times
LCD_I2C_V1.fcfx
(8.91 KiB) Downloaded 241 times

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: 4x1 LCD I2C

Post by Jan Lichtenbelt »

In the mean while I found this is not a standard LCD protocol. So I stop the use of this LCD

Regards

Jan

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: 4x1 LCD I2C

Post by Benj »

Hi Jan,

Looks like a nice little display but maybe limited to 7-seg style numeric output. Might not be too much work to make a component if you feel it would be worthwhile.

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: 4x1 LCD I2C

Post by Jan Lichtenbelt »

Hi Ben,

Thanks for your offer. But I will first try an other LCD.

Regards

Jan

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: 4x1 LCD I2C

Post by Jan Lichtenbelt »

Is the I2C slave address (bit0-bit6) or (bit1-bit7) in case of the LCD macro's?

Kind regards

Jan

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: 4x1 LCD I2C

Post by Jan Lichtenbelt »

OK, the slave address in Flowcode is 7 bits from 0 to 127 (without the R/W).

I use the LCD from Midas Components MCCOG2105B. The slave address is 0x3E, but I do not see any action on the LCD.

Does someone has any suggestion to get this LCD working?

With kind regards

Jan Lichtenbelt
LCD_I2C_V1.fcfx
(9.03 KiB) Downloaded 257 times
LCD MCCOG21605B6W-SPTLYI.pdf
datasheet LCD
(1.27 MiB) Downloaded 256 times

Post Reply