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:
BL0032 20x4 liniers LCD display with I2C
Moderator: Benj
-
- Posts: 484
- Joined: Mon Jul 30, 2012 3:39 pm
- Has thanked: 17 times
- Been thanked: 46 times
- Contact:
- 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: BL0032 20x4 liniers LCD display with I2C
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.
I beleive the backpack component uses the MCP23017 IO expander instead.
It looks like that display uses the PCF8574 IO expander to drive it. So you will likely need to use this component instead.
I beleive the backpack component uses the MCP23017 IO expander instead.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 484
- Joined: Mon Jul 30, 2012 3:39 pm
- Has thanked: 17 times
- Been thanked: 46 times
- Contact:
Re: BL0032 20x4 liniers LCD display with I2C
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:
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:
Best Regard
Monie
Monie
- 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: BL0032 20x4 liniers LCD display with I2C
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 484
- Joined: Mon Jul 30, 2012 3:39 pm
- Has thanked: 17 times
- Been thanked: 46 times
- Contact:
Re: BL0032 20x4 liniers LCD display with I2C
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:
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:
Best Regard
Monie
Monie
- 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: BL0032 20x4 liniers LCD display with I2C
Hi Monie,
Try to add a delay of at least 300 msec after the printstring.
Kind regards
Jan
Try to add a delay of at least 300 msec after the printstring.
Kind regards
Jan
-
- Posts: 484
- Joined: Mon Jul 30, 2012 3:39 pm
- Has thanked: 17 times
- Been thanked: 46 times
- Contact:
Re: BL0032 20x4 liniers LCD display with I2C
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
Thank you so much for the suggestion.
Found the error, tried to upload the wrong driver.
Now works BL0032 med LCD display with 4x20
Best Regard
Monie
Monie