I just got a batch of 20x4 HD44780 LCDs in and I noticed that this has very different circuitry compared to my older 20x4 LCDs.
This one has a V1.3 marking on it, most of mine have V1.1.
Most interestingly, it looks like the design might’ve considered integrating an I2C GPIO expander on the board itself ( no backpack).
U7 ties to the SCL and SDA lines, but I’ve no idea what chip it was spec’d to use.
The U6 circuitry (I’m assuming this is for V0) is also different from my 1.1 boards. This has VR1, maybe for onboard contrast control?
Does anyone know where one could find a schematic for these? They’re a fairly generic part so I feel like something should be out there.
Alright, so I got some time to hit it with the meter.
Based off of the datasheet for the PCF8574, it seems like the IC would at least fit in the same spot, its GPIOs would go to the LCD's IO. PWR and GND are in the correct spots.
Going off the schematic of the I2C backpack from Amazon seller "HiLetgo", the pinout from U7 to the LCD is identical.
Pin 7 of the PCF8574 goes to the bottom pad of Q1 and R10. I'm assuming that its the gate, or base control pin for Q1. Q1 probably controls the backlight. It very much seems like they just copied the circuitry from the I2C backpack onto the back of the LCD.
V0 contrast, goes to the top pin of VR1 and R6. Interestingly VR1 isn't just a potentiometer with references to ground and VCC. The left pin of VR1 goes to pin 5 of U6 and the other side of R6.
I can't quite think of what U6 is. 555 timer? Pins 2 and 3 of U6 go to C4.
I don't see any ICS on the board that would hint that they've populated it yet. Wiring it up for I2C would probably just give the board power and thats it. I'll look into populating the board by getting an I2C backpack to donate its IC.
The hd44780 library hd44780_I2Cexp i/o class can auto detect 6 of the most common pin mappings, and also supports a manual configuration.
So if that area is for a PCF8574 to add a on board "backpack" and you want to use it,
then you should be able to use the hd44780 library to talk to the PCF8574 to control the LCD.