Forum >LCD Display TWI/I2C + leonardo board
LCD Display TWI/I2C + leonardo board

Hello,
i've tried the 1602 module with the SCL,SDA,AREF,GND from the board (after the pin N°13)...
It's impossible to have a good init.
i've tried the custom char and helloword sketch and i've just have as result a white bar (fist line)...
i've tried with a sketch of mine that work on a different board and an other 1602 I2C module.
It seems :
- custom characters does'n't init correctly (alien draw)
- all the code use in the init() function does not work...
in my sketch, i use regular lcd.print() and it work (except customs chars)...
I was thinking it was about the lcd module and test it with different boards and work fine.
The problem seems to come from the Leonardo board.
i testes with 9v power source and nothing better...
i'll try on the analogic pin as usual ...
Am i the only one to have these prob?
i've tried the 1602 module with the SCL,SDA,AREF,GND from the board (after the pin N°13)...
It's impossible to have a good init.
i've tried the custom char and helloword sketch and i've just have as result a white bar (fist line)...
i've tried with a sketch of mine that work on a different board and an other 1602 I2C module.
It seems :
- custom characters does'n't init correctly (alien draw)
- all the code use in the init() function does not work...
in my sketch, i use regular lcd.print() and it work (except customs chars)...
I was thinking it was about the lcd module and test it with different boards and work fine.
The problem seems to come from the Leonardo board.
i testes with 9v power source and nothing better...
i'll try on the analogic pin as usual ...
Am i the only one to have these prob?
2012-12-21 22:09:16 have to rewire... and test again. (have a second leonardo) :o
i'll do during christmas vacation
I'm agree, it's strange, it does work only on the leonardo.
mrbbp
i'll do during christmas vacation
I'm agree, it's strange, it does work only on the leonardo.

2012-12-21 19:51:39 @mrbbp
:o It's really strange because we just try to drive the module with our Leonardo with Xbee R3. It works properly.
I guess the software should be fine considering that you can drive it with the lilypad. And the I2C library is based on Arduino wire library. So the compatibility of the software for the Leonardo should be ok!
Would you like to post a hardware connection picture?
Lauren
:o It's really strange because we just try to drive the module with our Leonardo with Xbee R3. It works properly.
I guess the software should be fine considering that you can drive it with the lilypad. And the I2C library is based on Arduino wire library. So the compatibility of the software for the Leonardo should be ok!
Would you like to post a hardware connection picture?

2012-12-21 10:39:51 Am I alone with this strange pb?
Does anyone have tried the module with a LEonardo?
regards
éric
mrbbp
Does anyone have tried the module with a LEonardo?
regards
éric

2012-10-30 23:47:55 I made with both: SDA & SCL labeled on the board and pin D2 & D3...
same problem
i've used a lilypad with the lcd and sketch works fine.
seems to come from Leonardo ! :-\
mrbbp
same problem
i've used a lilypad with the lcd and sketch works fine.
seems to come from Leonardo ! :-\

2012-10-30 17:05:29 Hi,
Have you tried to connect the SDA and SCL pins of the LCD directly to the Leonardo's SDA and SCL pins. The Leonardo provides these extra pins and they are labeled as such. Let me know your results. I will try testing one of our LCDs with a Leo
Hector
Have you tried to connect the SDA and SCL pins of the LCD directly to the Leonardo's SDA and SCL pins. The Leonardo provides these extra pins and they are labeled as such. Let me know your results. I will try testing one of our LCDs with a Leo

2012-10-30 09:37:04 On Leonardo, and 32u4 , pin mapping for sda and scl are different.
use digital pin 2 and 3.
The lcd does not respond correctly.
i've read a similar pb with and other i2C backpack
[url=http://electronics.stackexchange.com/questions/36571/lcd-not-work-with-leonardo]http://electronics.stackexchange.com/questions/36571/lcd-not-work-with-leonardo[/url]
but no constructive answers.
mrbbp
use digital pin 2 and 3.
The lcd does not respond correctly.
i've read a similar pb with and other i2C backpack
[url=http://electronics.stackexchange.com/questions/36571/lcd-not-work-with-leonardo]http://electronics.stackexchange.com/questions/36571/lcd-not-work-with-leonardo[/url]
but no constructive answers.
