Samsung S6D02A1 driver

Status
Not open for further replies.

sumotoy

Well-known member
Recently I got for very good price some TFT 128x160 that supposely be compatible to the well know ST7735 but unfortunatly absolutely not since they are based on Samsung S6D02A1! Those TFT are cheaper than ST7735 ones and now spreading in Ebay so I adapted the ST7735 library.
A typica image of this tft:
d2.jpg
In europe I finded here:
http://www.ebay.com/itm/370987651121
http://www.ebay.com/itm/141341180758

This one looks pretty similar but different pinout. Seller claims that uses S6D02A1 (but I cannot be sure)
http://www.ebay.com/itm/351097603564

(Note that I absolutely not affiliated to any of those vendors!)
I buyed mine in Ebay from a Taiwan eseller for 5 dollars time ago but cannot find the link.
Anyway, library let you do the same stuff at the same speed of the ST7735 but you can drive blanking pin (optional) separately.
I've included a lot of examples, expecially some Gauge for instrumentation that uses Arm_Math library for speed, can be esily adatped to any other library.
Hope can be useful to someone.
On GitHub https://github.com/sumotoy/TFT_S6D02A1

PS
Also working on the infamous winstar WEH001602A oled 16x2 character that can works as graphic 100x64 mode, selled from Adafruit (with one of the worst library ever seen) but easily to find on ebay.
 
Just updated for a sort of compatibility with SPI transaction. I have a project with the Paul's modified RadioHead library for using with an RF69 but all the latest optimized TFT and OLED libraries from Paul seems broken RF module communication at SPI level, so I add a workaround to mine that worked, not at full speed but works without interfere RF69.
The only raccomandation is put the initializations after any library that uses SPI Transaction and initialize library with the desidered SPI speed (es: tft.init(24000000);) instead of the classic init (es: tft.ini();), this will force library to use SPItransaction and workarounds.
 
Last edited:
This is great news to me. I have been trying to source ST7735 clones inexpensively and bought a bunch from different vendors in the $5.00 range. However, they seemed to be garbage with multiple screens in each batch being very dim. One had different colors, but I just had to init it as a INITR_BLACKTAB instead of INITR_REDTAB.

I wonder if the ones I got were S6D02A1's. Is there a physical way to check that easilly?
 
Sumotoy - thanks!!

Sumotoy: I just wanted to thank you for ALL of you tireless work on the display libraries! From SSD1331 to S6D02A1, OLED & TFT and everything in between. Not only has your software been a great help, but you have helped my skills and understanding of how these displays communicate (or not) with AVR/ARM processors.

Keep up the good work and thanks again.

I look forward to continual updates and forum posts.

Mitch
 
Status
Not open for further replies.
Back
Top