Hi all!
I'm building up a project where i use an lcd 16 x 2 whit a i2c module .
the problem is that if i connect the lcd directly to arduino it works, but when i plug it on the pcb i made it doesn't.
clarly the circuit on the pcb works, but the lcd doesn't.
when i run the i2c scanner, it reconignze the screen by his addres, but says unkonwn error .
i think it's a current problem (the rest of the circuit absorb 40mA).
Is that right ?
And if it is, how can i power the screen externaly connecting it whit i2c?
Rockandrex:
clarly the circuit on the pcb works, but the lcd doesn't.
I fancy it is all functional, but you are using the wrong code.
Rockandrex:
i think it's a current problem (the rest of the circuit absorb 40mA).
No, it is not a current problem, it is a coding problem.
Use the IDE library manager to install the "HD44780" library and read the instructions, use the example programs.
the problem is that if i connect the lcd directly to arduino it works, but when i plug it on the pcb i made it doesn't.
clarly the circuit on the pcb works, but the lcd doesn't.
clearly, the LCD works and the PCB does not. get out the voltmeter and figure out what went wrong
try reversing the SDA & SDL at the board, and reset.
I ran 4 LCDs ( 3 16X2 & 1 20X4 ) through an UNO, no problem.
it' not a code problem man. The scanner says it has an error.
the pcb works if i don't plug the screen...