OLED demo

  1. What this example do?
  2. How I must configure my ORbit16™ to work with this example?
  3. Where I can learn more about this?
  4. Download this example!

What this example do?

In this example we’ll learn how to use the OLED library. This library is used for interfacing the ORbit16™ with UG-2864 OLED display, based upon SSD1306 controller. Library and demo are the same for PIC24F and PIC32MX. Library works with both C30 and C32 compilers. Demo has 2 different projects: for PIC24FJ64GB002 and for PIC32MX250F128B. Main is the same, the selection of the compiler is made using #if defined (__C30__) and #if defined (__C32__).

Here is a video of the demo:

How I must configure my ORbit16™ to work with this example?

Connections are made by reading the oled.h file. In particular you must connect the display IOs as showed here (left: display IO, right: ORbit16™ IO):

  1. 3V3 to 3.3V
  2. GND to GND
  3. CS to GND (Chip select)
  4. RS to RA0 (Register Select, AKA Data/Command)
  5. RES to RA1 (Reset)
  6. D0/SCLK to RB0 (Serial Clock)
  7. D1/SDIN to RB1 (Serial Data In, AKA MOSI)

Where I can learn more about this?

Please read the documents you’ll find in the OLED library page.

Download this example!

OLED Demo (234 downloads)

Note: This example is made with the version 1.0 of the OLED library. Please refer to OLED library page for the latest version of the library.