{"product_id":"112-mono-oled-128x128-whiteblack-breakout-spi","title":"1.12\" Mono OLED (128x128, white\/black) Breakout – SPI","description":"\u003cp\u003eA crisp, bright 1.12\" OLED that's ideal for adding a small display to your project. This 128x128 pixel, monochrome white\/black display is ideal for graphing, readouts, and displaying basic icons. Now available in SPI or I2C flavours!\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eThis 1.12\" OLED breakout is now available in SPI or I2C versions. If you have SPI available on your microcontroller, we'd recommend the SPI version, as you can drive it much, much faster, for buttery-smooth animations.\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eOLEDs have the advantage of being extremely bright and readable, with great contrast. Because this one is small, it's great for fitting into projects where space is at a premium, and it's Raspberry Pi\u003cspan\u003e \u003c\/span\u003e\u003cem\u003eand\u003c\/em\u003e\u003cspan\u003e \u003c\/span\u003eArduino-compatible!\u003c\/p\u003e\n\u003cp\u003eIt's compatible with our fancy Breakout Garden, where using breakouts is as easy just popping it into one of the slots and starting to grow your project, create, and code.\u003c\/p\u003e\n\u003cp\u003e\u003cspan\u003eCheck out our full range of Breakout's and Breakout Garden's \u003c\/span\u003ehere\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003eFeatures\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e1.12\" white\/black OLED display (128x128 pixels)\u003c\/li\u003e\n\u003cli\u003eUses the\u003cspan\u003e \u003c\/span\u003eSH1107 driver chip\n\u003c\/li\u003e\n\u003cli\u003e20x20mm active area\u003c\/li\u003e\n\u003cli\u003eSPI interface\u003c\/li\u003e\n\u003cli\u003e3.3V or 5V compatible\u003c\/li\u003e\n\u003cli\u003eReverse polarity protection\u003c\/li\u003e\n\u003cli\u003eCompatible with all models of Raspberry Pi, and Arduino\u003c\/li\u003e\n\u003cli\u003ePython library\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eKit includes\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e1.12\" OLED display breakout\u003c\/li\u003e\n\u003cli\u003e1x7 (SPI) male header\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eWith the SPI version, pop it into either one of the SPI sockets on Breakout Garden, or connect it with wires to the following pins on your Pi (\u003cstrong\u003enote that it's BCM pin numbering\u003c\/strong\u003e):\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e3-5V to any 5V or 3V pin\u003c\/li\u003e\n\u003cli\u003eCS to BCM 7\u003c\/li\u003e\n\u003cli\u003eSCK to BCM 11\u003c\/li\u003e\n\u003cli\u003eMOSI to BCM 10\u003c\/li\u003e\n\u003cli\u003eDC to BCM 9\u003c\/li\u003e\n\u003cli\u003eGND to any ground pin\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003e\u003cstrong\u003eSoftware\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cp\u003eWe recommend the\u003cspan\u003e \u003c\/span\u003eLuma Python library\u003cspan\u003e \u003c\/span\u003efor driving this OLED display. You can find full documentation for the Luma library\u003cspan\u003e \u003c\/span\u003ehere.\u003c\/p\u003e\n\u003cp\u003eTo get up and running you should:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eInstall the latest library directly from GitHub:\u003cspan\u003e \u003c\/span\u003e\u003ccode\u003esudo pip install git+git:\/\/github.com\/rm-hull\/luma.oled.git#egg=luma.oled\u003c\/code\u003e\n\u003c\/li\u003e\n\u003cli\u003eGrab the examples repository:\u003cspan\u003e \u003c\/span\u003e\u003ccode\u003egit clone https:\/\/github.com\/rm-hull\/luma.examples\u003c\/code\u003e\n\u003c\/li\u003e\n\u003cli\u003e\n\u003ccode\u003e\u003c\/code\u003eYou can run an example like so:\u003cspan\u003e \u003c\/span\u003e\u003ccode\u003epython3 bounce.py --display sh1106 --height 128 --rotate 2 --interface spi --gpio-data-command 9\u003c\/code\u003e\u003cspan\u003e \u003c\/span\u003e(add\u003cspan\u003e \u003c\/span\u003e\u003ccode\u003e--spi-device 0\u003c\/code\u003e\u003cspan\u003e \u003c\/span\u003efor the back slot, or\u003cspan\u003e \u003c\/span\u003e\u003ccode\u003e--spi-device 1\u003c\/code\u003e\u003cspan\u003e \u003c\/span\u003efor the front slot)\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eThe software does not support Raspbian Wheezy.\u003c\/strong\u003e\u003c\/p\u003e\n\u003ch2\u003e\u003cstrong\u003eNotes\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eDimensions: 28x42x5.5mm.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Pimoroni","offers":[{"title":"Default Title","offer_id":52217423757600,"sku":"npa1787257937179","price":12.01,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0946\/3231\/3120\/files\/112-mono-oled-128x128-whiteblack-breakout-spi_1.jpg?v=1787257942","url":"https:\/\/www.elmwoodbasket.shop\/products\/112-mono-oled-128x128-whiteblack-breakout-spi","provider":"My Store","version":"1.0","type":"link"}