ESP8266 ESP-12E nodemcu V1.0 OLED Display SPI mode using U8Glib

Опубликовано: 29 Сентябрь 2024
на канале: Electromania
29,153
58

After several days of struggle...finally managed to get 4 pin SPI OLED display running on ESP8266 ESP-12 nodemcu dev kit V1.0, without Arduino IDE

Final working code available on my blog-
http://theelectromania.blogspot.it/20...

Programming IDE - esplorer available at-
http://esp8266.ru/esplorer/

Graphics library U8glib available at-
https://github.com/nodemcu/nodemcu-fi...

Followed pin out guidelines from-
https://github.com/nodemcu/nodemcu-fi...

I have done following pin connections between ESP8266-12E and SPI OLED display

-- D3 pin of ESP to RES pin of Display

-- D4 pin of ESP to DC pin of Display

-- D5 pin of ESP to SCL pin of Display Hardware SPI CLK = GPIO14

-- D7 pin of ESP to SDA pin of Display Hardware SPI MOSI = GPIO13

Display and ESP8266-E12 nodemcu dev kit purchased from banggood.com

Note- I dont get any royalty from banggood for these projects, I mention this because it makes easy for you all to understand exactly which make electronic device I am using and how to make it work :).

Nodemcu- ESP8266-E12 Dev kit
http://eu.banggood.com/Wholesale-Ware...

Display- 0.96 inch 4 pin SPI OLED display with 64x128 resolution (The link shows I2C but practically they sell SPI OLED)
http://eu.banggood.com/Wholesale-Ware...

Please note, the display arrived with pin markings that are different than those shown on their website.

Have fun... comments for improvement in code and video are most welcomed.

I created this video with the YouTube Video Editor (   / editor  )