
PmodOLED™ Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
1.1 Power Supply
The PmodOLED has two field-effect transistors (FETs) that control the display’s two power supplies. The VDDC
control toggles the power to the logic of the display. The VBATC control toggles the power to the OLED display
itself.
These two pins have pull-up resistors that turn off their respective power supplies when they’re not being driven.
These pins are configured as outputs and driven low to turn on the power supply.
The PmodOLED has a particular power-on/power-off sequence that must be followed to prolong the life of the
display.
Power-on sequence:
1. Apply power to VDD.
2. Send Display Off command.
3. Initialize display to desired operating mode.
4. Clear screen.
5. Apply power to VBAT.
6. Delay 100ms.
7. Send Display On command.
Power-off sequence:
1. Send Display Off command.
2. Power off VBAT.
3. Delay 100ms.
4. Power off VDD.
2 Interfacing with the Pmod
The display has a D/C pin (display or command select) that determines whether bytes sent to the display are
interpreted as commands or as display data. The D/C pin is set high for display buffer access and low for command
access.
The RES pin is used to reset the SSD1306 display controller. The RES pin is driven low for reset and driven high for
normal operation. The low-going reset pulse must be a minimum of 3us (microseconds) in duration for the display
controller to reset correctly.
The UG2832 display is a serial device that is accessed using SPI. It is a write-only device, so it is not possible to read
the display buffer contents or status from the panel. The maximum SPI clock frequency is 10Mhz. The CS (Chip
Select) pin has to be held low for the display to receive data over the SPI interface.
Digilent has libraries for the PmodOLED that provide functions for initializing the display and rendering simple text
and graphics onto the display. These libraries can be used as-is or as a starting point for a more sophisticated
graphics library. They are available on the PmodOLED product page at www.digilentinc.com.