Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By rickpbush
#13296 Hi all, I am new here so firstly hello ESP8266 community :)

I have found my way here as a result of tinkering with the ESP8266 v7. I was really hoping to get an LCD working using the micro alone and after some research found a video of someone doing exactly that. https://www.youtube.com/watch?v=-v8q2nEihvc

After some more research I found a tutorial for setting up an Eclipse environment to write firmware for the ESP8266 in C/C++http://www.esp8266.com/viewtopic.php?f=9&t=820

I successfully installed the tool chain, wired up blinky and it worked, great :)

I then headed over to this github repo https://github.com/Sermus/ESP8266_Adafruit_ILI9341 and grabbed a copy of his firmware that draws a cube on the screen.

I have wired it all up (correctly I think) and flashed the firmware but all I get is a white screen. I am a bit stuck and wondered if anyone could give me a hand working out why.

Alas I have no oscilloscope and even if I did I doubt I could fathom out what the SPI was supposed to be saying to the screen anyway as my ability to comprehend data sheets is fairly limited, otherwise, this is where I would start trying to debug it.

I did however notice in the readMe on github, the guy says to connect ILI9341(MISO) -> ESP8266(GPIO12(HSPIQ(MISO)))

I find this difficult to understand as I'd have thought it should have been ESP8266(MOSI) -> ILI9341(MOSI) seing as it's Master Out Slave In, slave being the screen?

Anyway, I guess something as cool as this must have been tried by others here and so I wonder if anyone could shine some light on it as I've been at it for days to no avail.

Thanks guys, regards, Rick.
User avatar
By djrm
#14525 This works for me with ESP8266_ILI9341 cube demo from the SDK examples
Using a 2.8 TFT SPI 240x320 module
n.b. (SDO)MISO is unconnected

(SDI)MOSI to IO 3
CLK to IO 14
CS to IO 4
DC to IO 2
Reset to IO 0
gnd to gnd
Vcc to 3v3
LED to 3v3

hth David