{"product_id":"graphical-oled-display-128x64-1-3-white-spi","title":"Graphical OLED Display: 128x64, 1.3\", White, SPI","description":"\u003cp\u003eThis monochrome white OLED display features a standard SH1106 SPI interface and a 128×64-pixel resolution.\u003c\/p\u003e\n\u003cp\u003eWith an active area measuring 1.3″ diagonally, it makes a great compact graphical display for applications where simple LED indicators and text output are not enough.\u003c\/p\u003e\n\u003cp\u003eThis small module consists of a 128×64 white OLED (organic light-emitting diode) display and all the electronics needed to control it over SPI using a standard \u003ca href=\"https:\/\/www.pololu.com\/file\/0J1813\/SH1106.pdf\" target=\"_blank\"\u003eSH1106 interface\u003c\/a\u003e. The LEDs can be individually turned on or off to show monochrome graphics and text. Despite its compact size, the OLED display has good contrast because each pixel lights up individually, and since there is no backlight, unlit pixels can be very dark.\u003c\/p\u003e\n\u003ch2\u003eSpecifications\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003ePixel color: white\u003c\/li\u003e\n\u003cli\u003eResolution: 128×64 pixels\u003c\/li\u003e\n\u003cli\u003ePixel pitch: 0.23 mm (110 DPI)\u003c\/li\u003e\n\u003cli\u003eActive display area: 1.3″ diagonal (1.16″ × 0.58″ or 29.4 mm × 14.7 mm)\u003c\/li\u003e\n\u003cli\u003eDimensions: 1.4″ × 1.32″ (35.4 mm × 33.5 mm); see the \u003ca href=\"https:\/\/www.pololu.com\/file\/0J1814\/graphical-oled-display-128x64-1.3-white-spi-dimensions.pdf\" target=\"_blank\"\u003edimension diagram\u003c\/a\u003e for more details\u003c\/li\u003e\n\u003cli\u003eSupply voltage: 3.1 V to 5.5 V on VCC (\u003cstrong\u003eNOTE:\u003c\/strong\u003e the logic pins are \u003cstrong\u003enot\u003c\/strong\u003e 5V tolerant)\u003c\/li\u003e\n\u003cli\u003eSupply current: 40 mA typical with all pixels on (current draw depends on how much of the display is lit)\u003c\/li\u003e\n\u003cli\u003eFour mounting holes intended for M3 or #4 screws\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003ePinout\u003c\/h2\u003e\n\u003ctable\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003ePin\u003c\/th\u003e\n\u003cth\u003eDescription\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eGND\u003c\/td\u003e\n\u003ctd\u003eGround (0 V)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eVCC\u003c\/td\u003e\n\u003ctd\u003e3.1 V to 5.5 V supply voltage\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCLK\u003c\/td\u003e\n\u003ctd\u003eSPI clock (3.3V logic only)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eMOS\u003c\/td\u003e\n\u003ctd\u003eSPI data (3.3V logic only)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eRES\u003c\/td\u003e\n\u003ctd\u003eReset (3.3V logic only)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eDC\u003c\/td\u003e\n\u003ctd\u003eData\/command select (3.3V logic only)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCS\u003c\/td\u003e\n\u003ctd\u003eSPI chip select (3.3V logic only)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003ch2\u003eUsing the display\u003c\/h2\u003e\n\u003cp\u003eThis display module has seven pins on a row of 0.1″-pitch through holes, which work with standard 0.1″ (2.54 mm) male headers and 0.1″ female headers (available separately). It also has four mounting holes designed for use with #4 or M3 screws.\u003c\/p\u003e\n\u003cp\u003eThe module is powered through its GND and VCC pins, and it includes an on-board regulator that lets it work with VCC supply voltages from 3.1 V to 5.5 V. The rest of the pins are not 5V tolerant, so level shifters or voltage dividers are required when interfacing with 5 V systems.\u003c\/p\u003e\n\u003cp\u003eThe driver\/controller IC on this OLED screen is an SH1106 configured to operate in “4-wire SPI” mode. Four control inputs—CLK, MOS, DC, and CS—are used in normal operation, and a fifth pin, RES, can be used to reset the display. For more information, see the \u003ca href=\"https:\/\/www.pololu.com\/file\/0J1813\/SH1106.pdf\" target=\"_blank\"\u003eSH1106 datasheet\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003eSample code and libraries are widely available for interfacing the SH1106 with a variety of microcontrollers. One library that Pololu recommend is \u003ca href=\"https:\/\/github.com\/olikraus\/u8g2\" target=\"_blank\"\u003eU8g2\u003c\/a\u003e, which works with Arduino and has also been ported to other platforms. As an example, you can use the U8g2 constructor \u003ccode\u003eU8G2_SH1106_128X64_NONAME_1_4W_SW_SPI\u003c\/code\u003e to control the display with a one-page buffer and software SPI; see the U8g2 documentation for other options.\u003c\/p\u003e\n\u003cp\u003eThe SH1106 is similar to and electrically compatible with the common SSD1306 controller, but differences in the two chips’ command sets mean that code written for one will generally require changes to work with the other.\u003c\/p\u003e\n\u003ch2\u003eSpecifications\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eDisplay resolution: 128×64\u003c\/li\u003e\n\u003cli\u003eDisplay color: white\u003c\/li\u003e\n\u003cli\u003eMinimum operating voltage: 3.1 V\u003c\/li\u003e\n\u003cli\u003eMaximum operating voltage: 5.5 V\u003c\/li\u003e\n\u003cli\u003eLogic voltage: 3.3 V\u003c\/li\u003e\n\u003cli\u003eSupply current: 40 mA1\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eResources\u003c\/h2\u003e\n\u003cp\u003e\u003cstrong\u003eFile downloads\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/www.pololu.com\/file\/0J1813\/SH1106.pdf\" target=\"_blank\"\u003eSH1106 datasheet\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/www.pololu.com\/file\/0J1814\/graphical-oled-display-128x64-1.3-white-spi-dimensions.pdf\" target=\"_blank\"\u003eDimension diagram of the Graphical OLED Display: 128×64, 1.3\", White, SPI\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/www.pololu.com\/file\/0J1815\/graphical-oled-display-128x64-1.3-white-spi.step\" target=\"_blank\"\u003e3D model of the Graphical OLED Display: 128×64, 1.3\", White, SPI\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eRecommended links\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/github.com\/olikraus\/u8g2\" target=\"_blank\"\u003eU8g2 graphics library\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Pololu","offers":[{"title":"Default Title","offer_id":39567825633363,"sku":"POL-3760","price":13.95,"currency_code":"EUR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/0J11288.1200.jpg?v=1638549582","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/graphical-oled-display-128x64-1-3-white-spi","provider":"Pimoroni Ltd","version":"1.0","type":"link"}