

The OLED Estufa, based on the SSD1306 driver, is a compact and energy-efficient display module manufactured in China. It features a monochrome OLED screen that provides high contrast and sharp visuals, making it ideal for displaying text, graphics, and simple animations. The OLED Estufa is widely used in embedded systems, IoT devices, and DIY electronics projects due to its low power consumption and compatibility with popular microcontrollers like Arduino and Raspberry Pi.








The OLED Estufa is powered by the SSD1306 driver and comes with the following technical specifications:
| Parameter | Value |
|---|---|
| Display Type | Monochrome OLED |
| Resolution | 128 x 64 pixels |
| Driver IC | SSD1306 |
| Interface | I2C (default) or SPI |
| Operating Voltage | 3.3V to 5V |
| Current Consumption | ~20mA (typical) |
| Viewing Angle | >160° |
| Operating Temperature | -40°C to +85°C |
| Dimensions | 27mm x 27mm x 4mm |
The OLED Estufa module typically uses a 4-pin I2C interface. Below is the pinout:
| Pin | Name | Description |
|---|---|---|
| 1 | GND | Ground connection |
| 2 | VCC | Power supply (3.3V or 5V) |
| 3 | SCL | Serial Clock Line for I2C communication |
| 4 | SDA | Serial Data Line for I2C communication |
For SPI communication, additional pins (CS, DC, and RES) may be present, depending on the module variant.
VCC pin to a 3.3V or 5V power source and the GND pin to ground.SCL and SDA pins to the corresponding I2C pins on your microcontroller. For Arduino UNO:SCL connects to A5.SDA connects to A4.0x3C.SCL and SDA lines if not already present on the module.#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
// Define OLED display width and height
#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64
// Create an SSD1306 display object
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);
void setup() {
// Initialize serial communication for debugging
Serial.begin(9600);
// Initialize the OLED display
if (!display.begin(SSD1306_I2C_ADDRESS, 0x3C)) {
Serial.println(F("SSD1306 allocation failed"));
for (;;); // Halt execution if initialization fails
}
// Clear the display buffer
display.clearDisplay();
// Display a welcome message
display.setTextSize(1); // Set text size to 1
display.setTextColor(SSD1306_WHITE); // Set text color to white
display.setCursor(0, 0); // Set cursor to top-left corner
display.println(F("Hello, OLED Estufa!"));
display.display(); // Render the text on the screen
delay(2000); // Wait for 2 seconds
}
void loop() {
// Example: Display a counter
static int counter = 0;
// Clear the display buffer
display.clearDisplay();
// Display the counter value
display.setCursor(0, 0);
display.print(F("Counter: "));
display.println(counter);
// Render the updated content
display.display();
// Increment the counter and wait
counter++;
delay(1000);
}
Display Not Turning On
No Output on the Screen
0x3C) and ensure the display.begin() function is called in the setup.Flickering or Unstable Display
SCL and SDA lines.Partial or Distorted Display
Can I use the OLED Estufa with a 3.3V microcontroller? Yes, the module is compatible with both 3.3V and 5V systems.
What is the maximum I2C speed supported? The SSD1306 driver supports I2C speeds up to 400kHz.
Can I use this module with Raspberry Pi?
Yes, the OLED Estufa is fully compatible with Raspberry Pi. Use the smbus library in Python for I2C communication.
How do I change the I2C address? Some modules have solder pads or jumpers to change the I2C address. Refer to the module's datasheet for details.