-->
Page 1 of 4

ESP8266 + 1.8" TFT

PostPosted: Fri Jun 19, 2015 1:24 pm
by Mario Mikočević
Heya,

can anyone show me how to connect TFT 1.8" LCD with ESP8266 ?
Preferably NodeMCU 0.9dev board markings.

I have one with pins noted - CS, SCK, SDA, A0, RESET.
I'm trying to use this library -> https://github.com/nzmichaelh/Adafruit-ST7735-Library .
According to pinout picture I can gather HSPICS and HSPICLK but have no idea where to connect A0 and/or RESET and
is SDA to HSPIQ or HSPID.

TIA,

--
Mozz

Re: ESP8266 + 1.8" TFT

PostPosted: Sun Jun 21, 2015 12:35 pm
by Mario Mikočević
Heya,

after some reading managed to get it working, so for posterity here is documented pinout map ->

Code: Select all/*
 * ESP8266-12        HY-1.8 SPI
 * GPIO5             Pin 06 (RESET)
 * GPIO2             Pin 07 (A0)
 * GPIO13 (HSPID)    Pin 08 (SDA)
 * GPIO14 (HSPICLK)  Pin 09 (SCK)
 * GPIO15 (HSPICS)   Pin 10 (CS)
  */

#define TFT_PIN_CS   15
#define TFT_PIN_DC   2
#define TFT_PIN_RST  5

Adafruit_ST7735 tft = Adafruit_ST7735(TFT_PIN_CS, TFT_PIN_DC, TFT_PIN_RST);


--
Mozz

Re: ESP8266 + 1.8" TFT

PostPosted: Sun Jun 21, 2015 2:49 pm
by Mikejstb
Hey - that's great!
What sort of things are you doing with the display?

Re: ESP8266 + 1.8" TFT

PostPosted: Tue Jun 23, 2015 3:56 pm
by Mario Mikočević
Heya,

currently it's DS18B20 graph, nothing fancy .. yet ..

Actually I'm going thru my arduino bin and connecting stuff to my latest toy ESP8266 .. :)

--
Mozz