pinout.vvzero.com/draft/overlay/pioled.md

48 lines
1.3 KiB
Markdown
Raw Normal View History

2017-06-18 17:42:47 +08:00
<!--
---
name: PiOLED
class: board
type: Display
formfactor: Custom
manufacturer: Adafruit
description: A small 128x32 display for your Pi
url: https://learn.adafruit.com/adafruit-pioled-128x32-mini-oled-for-raspberry-pi
github: https://github.com/adafruit/Adafruit_Python_SSD1306
buy: https://www.adafruit.com/product/3527
image: '91pioled.png'
pincount: 6
eeprom: no
power:
'1':
ground:
'6':
pin:
'3':
mode: i2c
'5':
mode: i2c
i2c:
'0x3c':
name: Display Driver
device: ssd1306
-->
# PiOLED
2017-06-18 17:44:16 +08:00
* PiOLED is a small 128x32 in a small formfactor board designed to sit on top of just the first six pins of the Pis Header
* It uses I2c which therefore means there are plenty of spare pins for buttons LEDs and sensors.
* The OLED display has a very high contrast ratio leading to clear and crisp text and images.
* As the display produces its own light this also means the PiOLED is super low power.
* The SSD1306 chipset is easily controlled using a simple python library.
* The display is about 1”diagonal and allows for 30FPS updates rates allowing for simple animations
To Install:
2017-06-18 17:42:47 +08:00
```bash
2017-06-18 17:44:16 +08:00
sudo apt-get install python-imaging python-smbus
sudo apt-get install git
git clone https://github.com/adafruit/Adafruit_Python_SSD1306.git
cd Adafruit_Python_SSD1306
sudo python setup.py install
```