It is very nice that we can use displays in ESPEasy, but there are a few limitations that can be hard to overcome.
For instance the ESPEasy software assumes that all LCD displays have I2C address 0x27 and that all OLED displays have I2C address 0x3C.
OLED's are often switchable between address 0x3C and 0x3D with some sort of jumper.
Usually 20x4 and 16x2 LCD's have an I2C interface board that can be set with (solder)jumpers between 0x20 and 0x27. (ocasionally between 0x38 and 0x3F depending on the type, a PCF8574 or a PCF8574A)
So my wish is to see in the device tab under 'Optional Settings' a choice to fill in the actual I2C address or choose the I2C address. that the scanner has found.
For OLED 3C or 3D and for LCD between 20/27, than it is very easy to use different displays without the need to go into the device plugins and change the address in the source code recompile the code and flash the ESP.
Also a wish of me is to have OLED SSD1306 support for screen rotation. This could also be implemented as a choice between 2 options, 'normal' and 'rotated' in the Optional Settings tab of the OLED device.
I know that both extensions are not so difficult to implement, but I guess Martinus has to fix it so that every ESPEasy user can benefit from it.
Request for extended I2C LCD & OLED support.
Moderators: grovkillen, Stuntteam, TD-er
Re: Request for extended I2C LCD & OLED support.
I'll try to implement this with the next development build.
Re: Request for extended I2C LCD & OLED support.
R54 is available and has the proposed features. Also included are the following commands:
OLEDCMD,On
OLEDCMD,Off
LCDCMD,On
LCDCMD,Off
For the LCD display, it will turn the backlight on or off.
OLEDCMD,On
OLEDCMD,Off
LCDCMD,On
LCDCMD,Off
For the LCD display, it will turn the backlight on or off.
Re: Request for extended I2C LCD & OLED support.
Perfect execution. Thank you, going to test it.Martinus wrote:R54 is available and has the proposed features. Also included are the following commands:
OLEDCMD,On
OLEDCMD,Off
LCDCMD,On
LCDCMD,Off
For the LCD display, it will turn the backlight on or off.
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
Re: Request for extended I2C LCD & OLED support.
So cool!
Thanks
Thanks
Re: Request for extended I2C LCD & OLED support.
Thank you Martinus, very nice feature.
Re: Request for extended I2C LCD & OLED support.
Having tested the new plugin I found a little bug in the LCD part .
I choose a 4x20 LCD and have 4 lines,
line 1 '11111111111111111111' 20x'1'
line 2 '22222222222222222222' 20x'2'
line 3 '33333333333333333333' 20x'3'
line 4 '44444444444444444444' 20x'4'.
The LCD display is stubborn and displays like this:
I choose a 4x20 LCD and have 4 lines,
line 1 '11111111111111111111' 20x'1'
line 2 '22222222222222222222' 20x'2'
line 3 '33333333333333333333' 20x'3'
line 4 '44444444444444444444' 20x'4'.
The LCD display is stubborn and displays like this:
Who is online
Users browsing this forum: Bing [Bot] and 39 guests