Page 1 of 1
ESP32 OLED display via SPI
Posted: Mon May 24, 2021 6:44 am
by AzaleaMB
Hello i was hoping someone could help me with connecting a ESP32 Wrover to an 1.5" 128 x 128 OLED just to display temps ect.
Im not sure if i need to use SPI Master or just use the SSD1351(SPI) component or both.
In the component properties of the gLCD_SSD1351_SPI1 which is what im thinking it need im not sure how to configure the connections and also it appears flowcode has a labeling issue on the reset connection as when you hover over it, it says Instruction/Command pin connections not "reset".
Could some one please help me with the code needed just to print a string to the OLED display
Re: ESP32 OLED display via SPI
Posted: Tue May 25, 2021 9:41 am
by Benj
Hello,
Please can you post your program so far and I'll have a quick look for you.
Also thanks for the info regarding the tooltip on the reset pin.
Re: ESP32 OLED display via SPI
Posted: Wed May 26, 2021 2:19 am
by AzaleaMB
Thank you for your reply,
Please see the attached program, its extremely basic as i just want to establish communication to the display at this stage.
Re: ESP32 OLED display via SPI
Posted: Fri May 28, 2021 1:05 pm
by Benj
Hello,
Pins GPIO34 to 39 are input only and so are not capable of digital output. Can you reconnect the display to other Pins, e.g. on PORTA or PORTB 0 to 1.
Re: ESP32 OLED display via SPI
Posted: Sat May 29, 2021 10:49 am
by AzaleaMB
Thank you I will try your suggestion and see if it works.
I appreciate your help.
Re: ESP32 OLED display via SPI
Posted: Mon May 31, 2021 2:24 am
by AzaleaMB
Thank you very much.
That worked, I can now communicate with the display you help is very much appreciated thank you again.

Re: ESP32 OLED display via SPI
Posted: Wed Jun 23, 2021 1:00 pm
by rexkit
Hi guys, can anyone educate me on SPI 4 Wire & 8080 SPI for talking to OLED Displays?
I ordered 4 @ 256 x 64 OLED Displays ( Link Here ) from China, and asked for 4 Wire SPI as this is how the Tutorial i was following is configured, but the displays have arrived configured for 8080 Parallel, so i am trying to decide if i should re-solder the board, send them back (painful) or try to use them how they are configured.
I am using a ESP32 and the OLED controller is a SSD1322.
This is what i am working on copying:
https://www.youtube.com/watch?v=RnVeXkrrnPI
Im not educated enough to know if how the displays are configured at the moment is suitable for the project, if it is slower than 4 Wire SPI, etc.
Any advice would be greatly appreciated.
Thanks