ST7735 1.8″ TFT Dispay: SPI vs General connection

Intro

I got a ST7735 based lcd from ebay and decided to play with it a bit.

Setup

  • Arduino UNO
  • 1.8″ TFT LCD from ebay
  • Some jumper cables

Code

All the guidelines for connecting the LCD to the Arduino can be found here: http://www.ladyada.net/products/18tftbreakout/, but there is one thing to note. In the tutorial there is a pin called “dc” (Data/Command) (thanks to sza2) (I am not sure what that stands for) , but on my LCD it’s named  “RS” (register select). So, to make it work, just ignore the difference in naming.

Display driver library: https://github.com/adafruit/Adafruit-ST7735-Library

And the required graphics library: https://github.com/adafruit/Adafruit-GFX-Library

I am using the demo-sketches from the AdafruitST7735\examples\:

  • graphicstest
  • graphicstest_highspeed

Comparison itself

In the video you can see the communication protocol speed comparison.

Conclusion

SPI is the way to go 🙂

Advertisements

About Vaidas Sirtautas

http://vsshs.com

Posted on July 21, 2012, in Electronics, Projects and tagged , , , , , . Bookmark the permalink. 6 Comments.

  1. DC: Data/Command

  2. hi i have a question, i tried to use hardware spi in a arduino uno board for a nokia 5110 lcd. when i used software spi it workd perfectly. but it doesn’t display properly in the hw spi setup. the pixels are all steched out.the crystal in the uno is 8 MHz and can’t get it to view perfectly for any clock devider setting. is there any sollution? thankyou!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: