OLED Display 0.96 (SSD1315)

From
Revision as of 22:01, 30 August 2025 by Ows wiki (talk | contribs) (Code Hello World!)
Jump to: navigation, search

Grove - OLED Display 0.96 (SSD1315) inches (Seeed-Studio)

Caractéristiques

Dot Matrix 128×64 Monochrome(white)
3.3V/5V compatible

Communication

I2C : Adresse 0x3C

If your board is ATmega328, such as Seeeduino V4.2 and Arduino UNO, you need to change to soft I2C when using the U8G2 library.This is not required if you are using a SAMD development board.

Images

OLED-Display-0-96-SSD1315.png

Tableau

Seeed-Studio
Seeeduino Sensor

5V

Red

GND

Black

SDA

White

SCL

Yellow

Grove - OLED Display 0.96 inches -

Drivers

SSD1315 chip

Voltage

3.3 ~ 5.5V

Liens externes

www.seeedstudio.com/Grove-OLED-Display-0-96-SSD1315-p-4294.html shop

wiki.seeedstudio.com/Grove-OLED-Display-0.96-SSD1315 wiki

Code Hello World !

#include <Arduino.h>
#include <U8x8lib.h>
#include <Wire.h>

U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8(/* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE);   // OLEDs without Reset of the Display

void setup(void) {
  u8x8.begin();
  u8x8.setFlipMode(1);   // set number from 1 to 3, the screen word will rotary 180
}

void loop(void) {
  u8x8.setFont(u8x8_font_chroma48medium8_r);
  u8x8.setCursor(0, 0);
  u8x8.print("Hello World!");
}