Go Down

Topic: LCD SPI (Read 2279 times) previous topic - next topic


Hi everyone!

I'm trying to use my LCD with SPI inteface on my arduino UNO.
I have use this library: http://arduino.cc/playground/Main/LiquidCrystal.
And the code is the helloworld_spi example.

It doesn't work, I only can see this: (attach file)

My LCD is: http://dx.com/p/arduino-iic-i2c-twi-spi-serial-lcd-1602-module-electronic-building-block-136922

Anybody knows what hapend??



The tutorial uses a shift register to drive a standard LCD, your LCD appears to have a serial backpack and therefore can connect directly to the Arduino's SPI or I2C ports. As such the two are not directly compatible.

How are you connecting the two?

Rob Gray aka the GRAYnomad www.robgray.com


Hi, hanks for replying,

The LCD has 2 interface (I2C and SPI) and you can select one or other with a swich. I'm using SPI and I've connected this interface to arduino's SPI (pins 10 (SS), 11 (MOSI), and 13 (SCK))

Is it right??



That all sounds about right, maybe your wiring is no good. Do you have a schematic? Any documentation for that LCD?

Rob Gray aka the GRAYnomad www.robgray.com

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131