Go Down

Topic: Not able to get output on lcd screen (Read 139 times) previous topic - next topic

occicat

I have found my old Arduino Duemilanove board and a sainsmart 2004 LCD board and 2 line display. I have found my old working code that used to function just fine but I am not quite sure where to connect the SDA and SCL wires on the Duemilanove to get some data on the screen.

Does anyone recall what pins to use, digital or analog?

Paul__B


lesept

A force d'essayer on finit par réussir... Donc, plus ça rate, plus on a de chances que ça marche (proverbe Sharduinok).

floresta

I2C: pins 4 (SDA) et 5 (SCL).

The terms SDA and SCL do not appear on your diagram.  If they did they would be next to the pins labeled analog 4 and analog 5 as mentioned by Paul.

Don

occicat

lesept and floresta, thank you, its been some time and I'm re-learning everything again. Now that I know I have things hooked up correctly I can take that out of the equation as to why I'm not getting any output on the screen except solid blocks. And I won't bother asking any more questions Paul__B until I have scoured the internet for days if not years and have read every single book on the subject before asking a question on a message board.

Paul__B

Actually, I meant look up "A4 A5 SDA SCL" which leads you as first link to the Arduino Wire Library reference.

It isn't difficult.  But actually, had you searched on "Duemilanove SDA SCL" before asking, yes, you would have found the information the moment you clicked.

lesept

#6
Nov 22, 2018, 11:00 am Last Edit: Nov 22, 2018, 11:02 am by lesept
The terms SDA and SCL do not appear on your diagram.  If they did they would be next to the pins labeled analog 4 and analog 5 as mentioned by Paul.
You are right, this one is better (except for the numberings in the blue boxes - noone's perfect :( ):

But SDA and SCL point to the correct pins on the board view
A force d'essayer on finit par réussir... Donc, plus ça rate, plus on a de chances que ça marche (proverbe Sharduinok).

Go Up