Skip to content
master
Switch branches/tags
Go to file
Code
This branch is 18 commits ahead of mikeseeh:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

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.

About

Adafruit SSD1351 1.5" Color OLED library for Particle Photon

Resources

License

Packages

No packages published