{"product_id":"pololu-1-3-graphical-oled-display-128x64","title":"Pololu 1.3\" Graphical OLED Display 128x64","description":"\u003cp\u003eThis monochrome white OLED display features a standard SH1106 SPI interface and a 128×64-pixel resolution. With 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 \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\"\u003eSH1106 interface\u003c\/a\u003e.\u003c\/p\u003e \u003cp\u003eThe 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 \u003cp\u003e\u003cem\u003eNote: This product is a replacement for the functionally identical \u003ca href=\"\/products\/graphical-oled-display-128x64-1-3-white-spi\"\u003eGraphical OLED Display: 128x64, 1.3\", White, SPI\u003c\/a\u003e.\u003c\/em\u003e\u003c\/p\u003e \u003ch2\u003eSpecifications\u003c\/h2\u003e \u003cul\u003e \u003cli\u003ePixel colour: white\u003c\/li\u003e \u003cli\u003eResolution: 128×64 pixels\u003c\/li\u003e \u003cli\u003ePixel pitch: 0.23 mm (110 DPI)\u003c\/li\u003e \u003cli\u003eActive display area: 1.3″ diagonal (29.4 mm × 14.7 mm)\u003c\/li\u003e \u003cli\u003eDimensions: 35.4 mm × 33.5 mm\u003c\/li\u003e \u003cli\u003eSupply voltage: 3.1V to 5.5V on VCC \u003cstrong\u003e(NOTE: the logic pins are not 5V tolerant)\u003c\/strong\u003e\n\u003c\/li\u003e \u003cli\u003eSupply current: 40 mA typical with all pixels on (current draw depends on how much of the display is lit)\u003c\/li\u003e \u003cli\u003eFour mounting holes intended for M3 or #4 screws\u003c\/li\u003e \u003cli\u003eWeight: 5.5g\u003c\/li\u003e \u003c\/ul\u003e \u003ch2\u003ePinout\u003c\/h2\u003e \u003ctable width=\"406\"\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd width=\"107\"\u003e\u003cstrong\u003ePin\u003c\/strong\u003e\u003c\/td\u003e \u003ctd width=\"299\"\u003e\u003cstrong\u003eDescription\u003c\/strong\u003e\u003c\/td\u003e \u003c\/tr\u003e \u003ctr\u003e \u003ctd\u003eGND\u003c\/td\u003e \u003ctd\u003eGround (0 V)\u003c\/td\u003e \u003c\/tr\u003e \u003ctr\u003e \u003ctd\u003eVCC\u003c\/td\u003e \u003ctd\u003e3.1 V to 5.5 V supply voltage\u003c\/td\u003e \u003c\/tr\u003e \u003ctr\u003e \u003ctd\u003eCLK\u003c\/td\u003e \u003ctd\u003eSPI clock (3.3V logic only)\u003c\/td\u003e \u003c\/tr\u003e \u003ctr\u003e \u003ctd\u003eMOS\u003c\/td\u003e \u003ctd\u003eSPI data (3.3V logic only)\u003c\/td\u003e \u003c\/tr\u003e \u003ctr\u003e \u003ctd\u003eRES\u003c\/td\u003e \u003ctd\u003eReset (3.3V logic only)\u003c\/td\u003e \u003c\/tr\u003e \u003ctr\u003e \u003ctd\u003eDC\u003c\/td\u003e \u003ctd\u003eData\/command select (3.3V logic only)\u003c\/td\u003e \u003c\/tr\u003e \u003ctr\u003e \u003ctd\u003eCS\u003c\/td\u003e \u003ctd\u003eSPI chip select (3.3V logic only)\u003c\/td\u003e \u003c\/tr\u003e \u003c\/tbody\u003e \u003c\/table\u003e \u003ch2\u003eUsing the display\u003c\/h2\u003e \u003cp\u003eThis display module has seven pins on a row of 0.1″-pitch through holes, which work with \u003ca href=\"\/products\/break-away-0-1-36-pin-strip-male-header-black-10-pack\"\u003estandard 0.1″ (2.54 mm) male headers\u003c\/a\u003e and 0.1″ female headers (available separately). It also has four mounting holes designed for use with #4 or M3 screws.\u003c\/p\u003e \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.1V to 5.5V. The rest of the pins are not 5V tolerant, so \u003cstrong\u003e\u003ca href=\"\/products\/pololu-logic-level-shifter-4-channel-bidirectional\"\u003elevel shifters\u003c\/a\u003e or voltage dividers are required when interfacing with 5V systems.\u003c\/strong\u003e\u003c\/p\u003e \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\"\u003eSH1106 datasheet\u003c\/a\u003e.\u003c\/p\u003e \u003cp\u003eSample code and libraries are widely available for interfacing the SH1106 with a variety of microcontrollers. One library that we recommend is \u003ca href=\"https:\/\/github.com\/olikraus\/u8g2\"\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 \u003cstrong\u003eU8G2_SH1106_128X64_NONAME_1_4W_SW_SPI\u003c\/strong\u003e to control the display with a one-page buffer and software SPI; see the U8g2 documentation for other options.\u003c\/p\u003e \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 \u003ch2\u003eResources\u003c\/h2\u003e \u003cul\u003e \u003cli\u003e\u003ca href=\"https:\/\/github.com\/pololu\/pololu-oled-arduino\"\u003ePololu OLED library for Arduino\u003c\/a\u003e\u003c\/li\u003e \u003cli\u003e\u003ca href=\"https:\/\/github.com\/olikraus\/u8g2\"\u003eU8g2 graphics library\u003c\/a\u003e\u003c\/li\u003e \u003cli\u003e\u003ca href=\"https:\/\/www.pololu.com\/file\/0J1814\/graphical-oled-display-128x64-1.3-white-spi-dimensions.pdf\"\u003eDimension diagram\u003c\/a\u003e\u003c\/li\u003e \u003cli\u003e\u003ca href=\"https:\/\/www.pololu.com\/file\/0J1815\/graphical-oled-display-128x64-1.3-white-spi.step\"\u003e3D Model\u003c\/a\u003e\u003c\/li\u003e \u003cli\u003e\u003ca href=\"https:\/\/www.pololu.com\/file\/0J1813\/SH1106.pdf\"\u003eSH1106 Datasheet\u003c\/a\u003e\u003c\/li\u003e \u003c\/ul\u003e \u003ch2\u003ePackage Contents\u003c\/h2\u003e \u003cul\u003e \u003cli\u003e1x 1.3\" Graphical OLED Display\u003c\/li\u003e \u003c\/ul\u003e","brand":"Pololu","offers":[{"title":"Default Title","offer_id":50847310741777,"sku":"POL-3761","price":13.0,"currency_code":"USD","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0901\/6285\/6209\/files\/pololu-1-3-graphical-oled-display-128x64-pololu-pol-3761-42451367788739.jpg?v=1735210653","url":"https:\/\/abcd3032.myshopify.com\/products\/pololu-1-3-graphical-oled-display-128x64","provider":"Tayyab Zak","version":"1.0","type":"link"}