ESP 8266 to ILI9488

Hello,
So i have a UNO R3 + WiFi ATmega328P+ESP8266.
Board Layout
The board has two chips, an ATmega328p chip, and an ESP8266 WIFI module. Both chips can communicate with each other and you as a user can communicate/read/write to one over USB depending on how you set the dip switches.

Dip Switches
Communication mode is set using the dip switches as follows:
ATmega <-> ESP8266 1100000
USB <-> ATmega 0011000
USB <-> ESP8266 0000111 (Update firmware or sketch)
USB <-> ESP8266 0000110
All independent 0000000

And I wanted to connect the ESP8266 in the board with a 3.5inch SPI Module ILI9488 Touch Screen LCD (320*480) as i want to make an interactive display i can connect to an app on my phone i created using the wifi module.

The issue I'm facing is, the ESP module in my board has only 12 header pins and only 5 of them are GPIO pins as seen in the image below.

Now there are 2 problems im facing.
1st - I need a minimum of 6 GPIO pins to connect the LCD to operate it without the touch screen : CS, RST, DC/RS, SDI(MOSI), SCK, SDO(MISO). And 7 GPIO pins if im using the touch screen.

This is a reference image for using the lcd without touch. (PLEASE IGNORE THE NODEMCU 8266 BOARD IN THE IMAGE AS IM USING A DIFFERENT BOARD.)

Question 1 - Do i need to buy a separate ESP8266 board or is there any way to extend the GPIO pins in my board. Or could i use some pins from the UNO header pins and some pins from the ESP?

NOTE - The ESP 8266 header pins in my board do not even have a VIN port / another 3.3v.
A 3.3v output is important as the LCD works on 3.3v.

Question 2- If I use a Arduino UNO board for the lcd connection which has 5V, would i need to use a Logic Level Converter?

I apologize for my naive questions but this is completely new for me.
Thanks.

Go for an LCD using I2C that only needs 2 pins.

That board is mainly designed to use the UNO as the primary processor, and the ESP8266 as a peripheral to allow WiFi access. Since your display does not have the level shifters for use with a 5V processor, the easiest route would be to buy a board based on the ESP8266 or ESP32.

having to program two microcontrollers and the resultant communications can make the overall task complexity an order of magnitude greater
consider moving the project to a ESP32 which has plenty of Flash/SRM, IO facilities and onboard WiFi, Bluetooth Classic and BLE

Zero'th are the ESP8266 pins available on the board suitable for connecting to the LCD?

Answer: No. You need the ESP's SPI pins, which are GPIO12 (MOSI), GPIO13 (MISO), GPIO14 (CLK). Only one of these 3 is available (GPIO12).

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.