Page 1 of 1
BL0032 20x4 liniers LCD display with I2C
Posted: Tue Sep 10, 2019 2:48 pm
by Monie Jacobsen
Hello everyone
User: BL0032 - 16-Bit dsPIC
How do I get 20x4 liniers LCD display (HD44780) Module with I2C to work with BL0032?
Please see here:
https://nettigo.eu/products/lcd-4x20-i2c-blue
Attach test code:
Re: BL0032 20x4 liniers LCD display with I2C
Posted: Tue Sep 10, 2019 3:35 pm
by Benj
Hi Monie,
It looks like that display uses the PCF8574 IO expander to drive it. So you will likely need to use this component instead.

- Display.jpg (52.21 KiB) Viewed 4772 times
I beleive the backpack component uses the MCP23017 IO expander instead.
Re: BL0032 20x4 liniers LCD display with I2C
Posted: Wed Sep 11, 2019 1:05 pm
by Monie Jacobsen
Hi Benj
Have tried PCF8574 IO expander to drive
Also tried MCP23017 IO expander instead
But can not get LCD I2C (Backpack) to work.
Do you have a suggestion?
Attachment file:
Re: BL0032 20x4 liniers LCD display with I2C
Posted: Wed Sep 11, 2019 3:08 pm
by Benj
Hi Monie,
Have you tried the component I highlighted in the screenshot - LCD I2C (LCM1602)?
This has the PCF8574 code built into it. If this isn't working then do you have any example code to work from that I can compare with the component.
Re: BL0032 20x4 liniers LCD display with I2C
Posted: Wed Sep 11, 2019 7:12 pm
by Monie Jacobsen
Hi Benj
I've been trying as you suggested, but without the hassle of anything on display.
User LCD I2C (LCM1602)...
Please refer to the codes below
!
Do you want to help with a code example like writing for display whole to LCD 20x4

Display connect to PORTF / C. Or do you have another suggestion?
See attachment:
Re: BL0032 20x4 liniers LCD display with I2C
Posted: Sat Sep 14, 2019 7:23 pm
by Jan Lichtenbelt
Hi Monie,
Try to add a delay of at least 300 msec after the printstring.
Kind regards
Jan
Re: BL0032 20x4 liniers LCD display with I2C
Posted: Sun Sep 15, 2019 6:54 am
by Monie Jacobsen
Hi Jan Lichtenbelt
Thank you so much for the suggestion.
Found the error, tried to upload the wrong driver.
Now works BL0032 med LCD display with 4x20