Comments on: ESP8266 0.96 inch OLED Display with Arduino IDE https://randomnerdtutorials.com/esp8266-0-96-inch-oled-display-with-arduino-ide/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Thu, 20 Feb 2025 19:52:08 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Valery Ramirez https://randomnerdtutorials.com/esp8266-0-96-inch-oled-display-with-arduino-ide/#comment-1009604 Thu, 20 Feb 2025 19:52:08 +0000 http://randomnerdtutorials.com/?p=27773#comment-1009604 Hi all, how are you?.

Thanks for such a good tutorial.

How can I set which pins will be used as data pins for the display?

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-0-96-inch-oled-display-with-arduino-ide/#comment-941290 Wed, 24 Jul 2024 09:35:23 +0000 http://randomnerdtutorials.com/?p=27773#comment-941290 In reply to Phil.

Hi.
Check this I2C tutorial: https://randomnerdtutorials.com/esp32-i2c-communication-arduino-ide/
Regards,
Sara

]]>
By: Phil https://randomnerdtutorials.com/esp8266-0-96-inch-oled-display-with-arduino-ide/#comment-941147 Tue, 23 Jul 2024 23:57:15 +0000 http://randomnerdtutorials.com/?p=27773#comment-941147 Hello, I’m using an aliexpress board, NodeMCU ESP8266 with an attached 0.96 Inch OLED display. Your example states SCL GPIO 5 (D1), SDA GPIO 4 (D2)

For the board I’m using, SDA = PIN 14 // GPIO14 (D5) SCL = PIN 12 GPIO12 (D6), how can I modify the SDA/SCL within the code to reflect SDA = PIN 14 // GPIO14 (D5) SCL = PIN 12 GPIO12 (D6) insead of SCL GPIO 5 (D1), SDA GPIO 4 (D2)?

Thank you

]]>
By: Manfred https://randomnerdtutorials.com/esp8266-0-96-inch-oled-display-with-arduino-ide/#comment-909622 Thu, 25 Apr 2024 09:09:46 +0000 http://randomnerdtutorials.com/?p=27773#comment-909622 Hi Sara,

found this sample very usefull to display some text on a really cheep oled-display. There is only one problem we found: We have to use a german-charset with some special chars like “ö/ä/ü” to display. How can we fix this problem ? Could you help in this way?

Thanks in advance and greetings,
Manfred

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-0-96-inch-oled-display-with-arduino-ide/#comment-871573 Sun, 12 Nov 2023 04:15:49 +0000 http://randomnerdtutorials.com/?p=27773#comment-871573 In reply to Gustavo Rissato.

Obrigada.

]]>
By: Gustavo Rissato https://randomnerdtutorials.com/esp8266-0-96-inch-oled-display-with-arduino-ide/#comment-871203 Fri, 10 Nov 2023 14:26:44 +0000 http://randomnerdtutorials.com/?p=27773#comment-871203 Você é incrivel, parabéns pelo conteúdo… que Deus te abençoe!

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-0-96-inch-oled-display-with-arduino-ide/#comment-718192 Tue, 11 Jan 2022 15:18:40 +0000 http://randomnerdtutorials.com/?p=27773#comment-718192 In reply to Thomas Nosella.

Hi
Create an OLED object like this (before the setup):
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);

Start an I2C communication (replace with the pins you want to use):
Wire.begin(SDA, SCL);

Finally, initialize the OLED:
if(!display.begin(SSD1306_SWITCHCAPVCC, 0x3C, false, false)) {
Serial.println(F(“SSD1306 allocation failed”));
for(;;);
}

I hope this helps.

Regards,
Sara

]]>
By: Thomas Nosella https://randomnerdtutorials.com/esp8266-0-96-inch-oled-display-with-arduino-ide/#comment-718119 Tue, 11 Jan 2022 03:35:03 +0000 http://randomnerdtutorials.com/?p=27773#comment-718119 In reply to Sara Santos.

Hi Sara, i know this has been a LONG time since this thread was active, but can you tell me how id go about declaring the GPIOs? For some reason they arent being properly declared as im using a NODEMCU board.. when i use any other sketch that uses the basic setup of clock and data pins it works.

]]>
By: Sara Santos https://randomnerdtutorials.com/esp8266-0-96-inch-oled-display-with-arduino-ide/#comment-637978 Tue, 29 Jun 2021 16:49:35 +0000 http://randomnerdtutorials.com/?p=27773#comment-637978 In reply to Gilligan.

Great!
Thanks for sharing the solution.
Regards,
Sara

]]>
By: Gilligan https://randomnerdtutorials.com/esp8266-0-96-inch-oled-display-with-arduino-ide/#comment-635316 Thu, 24 Jun 2021 22:07:43 +0000 http://randomnerdtutorials.com/?p=27773#comment-635316 In reply to Stephen Castle.

I assume you solved your problem as I had the same and I saw yours and wished someone answered so now I will in case someone else stumbles on it.

I just had to update my Arduino IDE to the latest stable version and the error went away.

]]>