Pages: [1]   Go Down
Author Topic: LCD SPI  (Read 1220 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.


* 17092012214.jpg (35.3 KB, 448x336 - viewed 73 times.)
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 127
Posts: 8517
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 127
Posts: 8517
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Pages: [1]   Go Up
Jump to: