ESP Mega Plugin LCD2004 extension for larger LCDs 4x40

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
StephanS
New user
Posts: 1
Joined: 25 Apr 2018, 21:11

ESP Mega Plugin LCD2004 extension for larger LCDs 4x40

#1 Post by StephanS » 25 Apr 2018, 21:20

Hi Everybody,

actual supported are only 4x20 and 2x16 LCDs.
I've got a lot of larger display which i want to use now as status displays.
The LiquidCrystal_I2C Lib within ESPEasy Mega doesn't support a second enable pin, which is needed for this types.

Therefore i have changed the includes Lib to LiquidCrystalNewV2.


Find attached the changes and the the library with the required changes for a backward compatible wiring scheme.

----
Mod for ESPEasy for new support of the following LCDs:
- 4x16
- 4x27 --> 2 Controllers! other wiring required!
- 4x40 --> 2 Controllers! other wiring required!

Used version: ESPEasy_mega-20180422
https://github.com/letscontrolit/ESPEas ... a-20180424

Replaces Lib:
LiquidCrystal_I2C (DFRobot I2C LCD displays
)

New Version:
https://github.com/sumotoy/LiquidCrystalNewV2/


For larger LCDs a second enable pin is needed.
This will be connected to the regular R/W Pin. Connect the R/W of the display direct to GND
I changed the pinout for the LCD to the same scheme as with the old lib.
Therefore no changes for smaller displays needed.

Pinout PCF8574 (as most I2C LCD Adapters):

P0 -> RS
P1 -> old RW --> E2 for larger LCDs
P2 -> E
P3 -> BT (Backlight)
P4 -> D4
P5 -> D5
P6 -> D6
P7 -> D7


BR
Stephan
Attachments
ESPEasy-Changes-LCD4x40.zip
(191.68 KiB) Downloaded 263 times

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 99 guests