Go Down

Topic: Official TFT Library can be used in other displays aside from official one? (Read 153 times) previous topic - next topic

Osqui

I've seen official TFT module is based in ILI9163 controller (which seems interchangeable with ST7735R), runs at 5V and uses SPI.  Are These the three only fact I should take into account to consider a display "compatible", or there are some other points I'm missing??

Thanks a lot



mainlin

You might try re-wording your question.  What is the "official TFT module" you are referring to?

Osqui

Thanks for your answer. Sorry for my english...I mean this official product, the TFT screen: http://www.arduino.cc/en/Main/GTFT

My question was if it is possible to use official TFT library (http://www.arduino.cc/en/Reference/TFTLibrary) with different (unofficial) screens.

I suppose the only requirements these other 3r-party screens should acomplish are three: be based on ILI9163/ST7735R controller -like official's one-, to run at 5V and to use SPI...but I'm not sure if this is enough.

Thanks.

rowboteer

My question was if it is possible to use official TFT library (http://www.arduino.cc/en/Reference/TFTLibrary) with different (unofficial) screens.

Yes it is. I have a 1.8" 128x160 pixel display that uses the ST7735 driver chip, bought off eBay.

I wired it according to this Instructable as detailed at the end of Step 1, loaded the TFTDispayText demo from the TFT>Arduino library example, then changed the pins defined in the sketch to match my wiring:

Code: [Select]
// pin definition for the Uno
#define cs   9
// dc is same as display pin labelled AO
#define dc   8
#define rst  7


It worked fine.

However there are some "gotchas"... the SD Card examples will not work unless you wire the 4 pins up at the other end of the PCB. And the display logic lines are not "5V logic tolerant" whereas the official Arduino product is, hence the need for the 1K2 resistors in the Instructable.

This Instructable will give you a clue how to wire up the SD Card with a resistor based logic level converter, that Instructable is for a different display module but the principles still apply.

If you are a Newbie I would stick with the official supported Arduino products as that way you will have a lot fewer problems to overcome (and you are more likely to get support).





Osqui


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!

Arduino
via Egeo 16
Torino, 10131
Italy