SSD1325 OLED Display

Usage

The ssd1325_spi display platform allows you to use SSD1325 (datasheet, Adafruit) displays with ESPHome. Note that this component is for displays that are connected via the 4-Wire SPI bus.

../../_images/ssd1325-full.jpg

SSD1325 OLED Display

Connect CLK, DIN, CS, DC, and RST to pins on your ESP. For power, connect VCC to 3.3V and GND to GND.

# Example configuration entry
spi:
  clk_pin: D5
  mosi_pin: D7

display:
  - platform: ssd1325_spi
    model: "SSD1325 128x64"
    reset_pin: D0
    cs_pin: D8
    dc_pin: D1
    lambda: |-
      it.print(0, 0, id(font), "Hello World!");

Configuration variables:

  • model (Required): The model of the display. Options are:
    • SSD1325 128x32 (SSD1325 with 128 columns and 32 rows)
    • SSD1325 128x64
    • SSD1325 96x16
    • SSD1325 64x48
  • reset_pin (Pin Schema): The RESET pin.
  • cs_pin (Pin Schema): The CS pin.
  • dc_pin (Pin Schema): The DC pin.
  • lambda (Optional, lambda): The lambda to use for rendering the content on the display. See Display Rendering Engine for more information.
  • update_interval (Optional, Time): The interval to re-draw the screen. Defaults to 5s.
  • pages (Optional, list): Show pages instead of a single lambda. See Display Pages.
  • id (Optional, ID): Manually specify the ID used for code generation.