Okdo TS2160 20x4 LCD not working. Need help figuring out if wiring is wrong

Hi, so I have an okdo lcd board, the same as this on (https://uk.rs-online.com/web/p/display-development-tools/2576785?gb=s). However as I am quite unfamiliar with Arduino wiring for LCDs, I am having issues doing more than just supplying power to the LCD. So as seen on the website the black board on the back has 'slots' for the SDA and SCL, which I have inserted the male end of a jumper cable into, and then put the other end onto the SDA/SCL pin on the Arduino respectively. Ive also tried using A4/A5 respectively and it hasnt made a difference. Ive had a go with the hd44780 library but it doesnt detect the LCD.

Would I need more electrical parts than just jumper cables? If so, which would these be. I haven't tried soldering the jumper cables in. There also are 2 or 3 'slots' for the SDA/SCL connections, so I am not sure which of these are right. As you can see there is an I2C adapter of some sort on the edge of the board but I also dont know what wiring can fit for these as it wont fit female jumper cables

Did you insert them in the 'slots' in the red block below? Just sticking them in will result in bad contacts; you'll need to solder.

You also need power (Vcc) and ground (GND).

You may need pullup resistors for the I2C bus, I don't see any in the picture, although they could be on the back size of the board.

Yes I have. Also, should either of the slots in that red box for SDA and for SCL? The left slot for SDA there has a 'wire line' (not sure what the wording is) that leads to the PCF8574T part, and the right slot on SCL has a 'wire line' going to the same PCF part. Is soldering it in supposed to guarantee that wiring is correct? Ive heard of pullup resistors for these but not sure if I need them or theyre built in.

I did have the 5V and GND plugged in and Im assuming those couldnt be an issue if the LCD lights up

Run the I2CexpDiag sketch included in the hd44780 library hd44780_I2Cexp i/o class.
It will report any connection issues that it can detect.
This includes detecting pullups.

If you have soldered the connections,
Can you post the output from I2CexpDiag?

--- bill

Haven't soldered yet, but will get around to that soon. Should either of the SCL/SDA slots in the red box on the picture in this thread be suitable? Not sure where exactly I should solder my wires to as theres atleast two each for the SCL/SDA

I've managed to get it to work. Put two resistors on the SDA and SCL bits sort of like this diagram using a breadboard too.

Then plugged in 5V and GND to the Arduino as well and everything worked. Didnt need to solder anything, atleast just to check wiring and code.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.