Problems with i2c (and an LCD display)

Nicola's picture

So, i just wasted an evening trying to make an LCD with i2c work with my picaxe.

I connected the SCL and SDA of the board to the other end on the LCD. (of course not crossing them :P)  BTW on the picaxe the pins are: Digital input 3 = SCL; Digital input 4 = SDA, am i right ?

If so, other question is: do i need the two pullup resistors ? i've read somewhere that they're already there on the board. But if so, the pin should be high most of the time, shouldn't it ? testing with my voltmeter reads 0V. 

PS i have the picaxe 28x1. 

jka's picture

I haven't done anything with

I haven't done anything with i2c yet, but take a look at http://www.rev-ed.co.uk/docs/axe110_i2c.pdf. It seems like you need the resistors.
Nicola's picture

Yes, i've read it.. But i'm

Yes, i've read it.. But i'm using a board AXE033 which connect to the LCD, and should have the resistor. This one:

http://www.rev-ed.co.uk/docs/axe033.pdf

When i start it, the first line gets completely black and the second line stays clear.. no text :(

robologist's picture

Simple checks

There are always little things that I've missed with a new device. Have you checked jumper J1 for I2C use? How about the contrast adjustment, turning it a bit with the device powered? Think it said something about displaaying a time message when the 2 CLK contacts are shorted.

Sort of sounds like a contrast adjustment is needed. 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.