I'm using a I2C lcd 16x2 with a PCF8574 I2C adapter. i've soldered the adapter correctly and used jumper wires to connect it to my Arduino Uno. the software sees the lcd and turns it on, but it isn't showing any text just white cubes on the top row. I've tried adjusting the potentiometer on the back, still the same. change the address from 0x27 to 0x3F, still nothing.
i'm new to this forum so it would be helpful if someone could guide me to this
there are other components that i was tinkering with a tilt sensor module, led, and a buzzer. but those things worked with this code, my only problem was that the LCD wasn't showing any texts whatsoever, just these white cubes. i removed the other components cause ive tried troubleshooting the lcd alone
Those solder joints are really terrible.
Whoever did them (you?) didn't know that you need to heat both the pad (circuit board contact) and the pin, then after a few moments apply the solder making sure it properly covers both the base and the pin.
Just follow this:
I would recommend installing and using the hd44780 library and the hd44780_I2Cexp i/o class.
It has support for this h/w. It will auto locate the i2c address and will auto detect the pin mappings between the PCF8574 pins, and the backlight activation level.
It also includes a diagnostic sketch tool to test the i2c signals, and the LCD hardware if it doesn’t “just work”.
It can be installed using the IDE GUI using the IDE library manager.
It comes with lots of examples and extensive documentation.
Here is a link to the github page: https://github.com/duinoWitchery/hd44780
You will need to use the hd44780_I2Cexp i/o class.
I would highly recommend that you read the main wiki and then the wiki page for the hd44780_I2Cexp i/o class before attempting to use the library as this library supports multiple h/w interfaces (i/o classes) so you have to pick and use the correct one for you hardware (hd44780_I2Cexp in you case).
The wiki explains the layout of the library and where to find the examples including the diagnostic sketch.
If the hd44780_I2Cexp i/o class doesn’t “just work” then post the output from the diagnostic sketch and I can walk you through some things to look at to try to get it up and working.