Adafruit SSD1351 1.5" Color OLED library for Particle Photon
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 15 commits ahead of mikeseeh:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples/OLED_test
src
.gitignore
LICENSE
README.md
library.properties

README.md

Adafruit SSD1351 1.5" Color OLED library for Particle Photon

Connect an Adafruit SSD1351 1.5" Color OLED breakout board to a Particle Photon.

Particle Photon with OLED Display

Limitations

MicroSD Card is not currently supported

Should be possible, but I haven't yet gotten it working. See https://community.particle.io/t/particle-photon-oled-screen-and-sd-card-demo/18145 and https://github.com/mikeseeh/photon-demo-oled-sdcard for examples where folks have succeeded.

Requires modification for other screen sizes

With a small change, this library could be adjusted to work with 1.27 inch OLED, and possibly the 0.96 inch OLED breakout boards.

Wiring

For hardware SPI (considerably faster), connect the pins as follows:

Photon  -> OLED
----------------------
3V3     -> 3Vo (3V)
GND     -> GND (G)

D6      -> DC
D5      -> RESET (R)

A5      -> MOSI (SI)
A3      -> SCK (CL)

A2      -> OLEDCS (OC)

DC and RESET may be set to any pin, but the example defaults to D5 & D6.

Any combination of pins may be used for software SPI, but the display will update more slowly.

API documentation

See https://learn.adafruit.com/adafruit-gfx-graphics-library/

Credits

This is based on a collection of work from other tallented developers, 99.9% of the credit goes to them.