Go Down

Topic: LCD SPI (Read 1 time) previous topic - next topic

sanxano

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??

Regards.

Graynomad

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
Rob Gray aka the GRAYnomad www.robgray.com

sanxano

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??

Regards

Graynomad

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

______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Go Up