1.8 TFT SPI 128x160

Posted on
  • 1.8 TFT SPI 128x160
    ST7735R driver
    Will work?If so, how?

  • You could probably start playing with this module http://www.espruino.com/ST7565. If not working out of the box, it should not be too difficult to make it compatible with ST7735 chip.

    In case you need help , this is a ST7735 driver from Adafruit : https://github.com/adafruit/Adafruit-ST7­735-Library

  • This is the actual ST7565 module code: https://github.com/espruino/EspruinoDocs­/blob/master/devices/ST7565.js

    However the ST7735 looks like the code will be more like this: https://github.com/espruino/EspruinoDocs­/blob/master/devices/ILI9163.js

    Basically you won't have enough RAM on the ESP8266 to store a full 128 x 160 x 16 bit image, so you can either draw each pixel as it's needed (easier to implement, but slower). Or store a lower bit depth image in RAM with a color palette. The ILI9163 module offers both options, so you can pick and choose.

    Probably the first one is easier.

    If you do get it working, please can you contribute your code back? It'd be great to have something that everyone could use

  • If can get, then Yes of course

  • Even though it is tempting to use these frugal 8266 boards, it is just not advisable, because their Wifi functionality has priority over everything else and will thus *mess with any other time or space sensitive item... Best is a combination of plain vanilla 8266 doing its destined duty - Wifi / Connectivity - and bother a different 'system' with the rest of the application.

    There is the Espruino-Wifi and similarly the Original and Pico Espruino boards combined with a plain vanilla 8266 over serial, and they all do that just fine. @Gordon integrated them tightly very nicely but let the loosely coupled components do their wok. (Even very successful expressif - the 8266 creator - follows that approach/advice in ther own product developmet/evolution...).

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

1.8 TFT SPI 128x160

Posted by Avatar for Alexander @Alexander

Actions