I have an LCD 2x16 on hand with I2C converter.
Unfortunately, the I2C Scanner on Easy ESP is showing this address, but with Bblank known devices. It it ok?
The reason I am asking is, I cannot display anything on this LCD, not even a single character.
Just to be precise - this very LCD is working in I2C mode on Arduino Uno fine - I am reconnecting it to Easy ESP and it does not work.
LCD of different size and address 0x3f
Moderators: grovkillen, Stuntteam, TD-er
LCD of different size and address 0x3f
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
Re: LCD of different size and address 0x3f
I will answer myself, because I have only spotted it now - for the benefit of others.
The address and size is defined on LCD tab and it needs to be corrected to read (in my case):
// LCD
LiquidCrystal_I2C lcd(0x3f, 16, 2);
The address and size is defined on LCD tab and it needs to be corrected to read (in my case):
// LCD
LiquidCrystal_I2C lcd(0x3f, 16, 2);
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
Re: LCD of different size and address 0x3f
mkotek wrote:I have an LCD 2x16 on hand with I2C converter.
Unfortunately, the I2C Scanner on Easy ESP is showing this address, but with Bblank known devices. It it ok?
The reason I am asking is, I cannot display anything on this LCD, not even a single character.
Just to be precise - this very LCD is working in I2C mode on Arduino Uno fine - I am reconnecting it to Easy ESP and it does not work.
Hello
you just have to edit the file P012_LCD.hino
this // LCD
line LiquidCrystal_I2C LCD (0x27, 20, 4);
by LCD
line LCD LiquidCrystal_I2C (0x3f, 20, 4);
Re: LCD of different size and address 0x3f
I would say:vmfs1968 wrote: Hello
you just have to edit the file P012_LCD.hino
this // LCD
line LiquidCrystal_I2C LCD (0x27, 20, 4);
by LCD
line LCD LiquidCrystal_I2C (0x3f, 20, 4);
line LCD LiquidCrystal_I2C (0x3f, 16, 2);

Re: LCD of different size and address 0x3f
I guess it is also a good idea to make a modification in the WebServer plugin.
The ' switch (address) case ' (found around line 1103-1137) needs an extra's entry for the 0x3F LCD.
case 0x20:
case 0x27:
case 0x3F:
reply += F("PCF8574, MCP23017, LCD Modules");
break;
So that the device will be actually shown with it's DeviceString.
The ' switch (address) case ' (found around line 1103-1137) needs an extra's entry for the 0x3F LCD.
case 0x20:
case 0x27:
case 0x3F:
reply += F("PCF8574, MCP23017, LCD Modules");
break;
So that the device will be actually shown with it's DeviceString.
Who is online
Users browsing this forum: No registered users and 8 guests