Skip to content

uOLED-160G2

Description

The uOLED-160G2 is an impressive OLED display module in the 4D Systems micro OLED graphics display range. Combining a resolution of 1.7" 160x128 pixels with 65K True to Life colours, this display module is perfect for animations, slideshows and other multimedia presentations. It is the ideal size for attractive embedded display applications.

This module brings to life a breathtaking 1.7" Passive Matrix OLED (PMOLED) screen, which is the biggest uOLED module available in its range. Driving the module and its peripherals is the GOLDELOX processor, a very capable chip that provides impressive graphics power, programmed with 4D Systems Workshop IDE Software.

4D Systems Workshop enables graphic solutions to be constructed rapidly and with ease due to its design being solely for 4D graphics controllers.

The uOLED-160G2 has a modest but comprehensive range of features suited for an application requiring a bright eye-catching display, an analog input, Dallas 1-wire sensor capability, audio generation, or simply digital I/O. This is truly an impressive little module.

uOLED-160G2

Features

  • Low-cost 1.7" OLED display graphics user interface solution.
  • 160 x 128 resolution, RGB 65K true to life colours, PMOLED Screen. -= No backlighting with nearly 180° viewing angle.
  • Easy 10 pin interface to any host device: 3.3Vout, IO2, GND, IO1, RESET, GND, RX, TX, +5V, 5V OUT
  • Powered by the 4D-Labs GOLDELOX processor (also available as a separate OEM IC).
  • 10KB of flash memory for user code storage and 510 bytes of RAM for user variables (255 x 16bit vars).
  • Asynchronous hardware serial UART port with auto-baud, TTL interface, with 300 to 600K baud
  • 2 x General Purpose I/O pins.
  • IO1 supports:
    • Digital I/O
    • A/D Converter with 8/0 bit resolution
    • Complex sound generation
    • Dedicated RTTTL tune engine
    • Multi-Switch Joystick, Buttons
    • Dallas 1-Wire
  • IO2 supports:
    • Digital I/O
    • Complex sound generation
    • Dedicated RTTTL tune engine
    • Dallas 1-Wire
  • Onboard micro-SD memory card adaptor for multimedia storage and data logging purposes. HC memory card support is also available for cards larger than 4GB.
  • Built-in extensive 4DGL graphics and system library functions
  • Display full colour images, animations, icons and video clips (no audio support for video).
  • Supports all available Windows fonts and characters (imported as external fonts).
  • 4.0V to 5.5V range operation (single supply), nominal 5.0V.
  • Module dimensions: 52.1 x 36.0 x 13.8 mm (including mounting tabs and header pins)
  • Weight ~ 13g.
  • Display Viewing Area: 33.6 x 27.0 mm
  • RoHS Compliant.

Pin Configuration and Summary

Pin Configuration

Interface/Programming Header

Pin Symbol I/O Description
1 +5V P Main Voltage Supply +ve input pin. Reverse polarity protected. The range is 4.0V to 5.5V, nominal 5.0V.
2 5V OUT P 5V OUT provides approximately 4.7 V through a protection diode.
3 TX O Asynchronous Serial Transmit pin. Output data is at TTL voltage levels. Connect this pin to the external device Serial Receive (Rx) signal. This pin is tolerant up to 5.0V levels.
4 IO2 I/O General purpose IO2 pin. See the General Purpose I/O section for more detail.
5 RX I Asynchronous Serial Receive pin. Connect this pin to the external device Serial Transmit (Tx) signal. This is to 5.0V levels.
6 IO1 I/O General purpose IO1 pin. See the General Purpose I/O section for more detail.
7 GND P Supply Ground.
8 GND P Supply Ground.
9 RESET I Master Reset signal. Internally pulled up to 3.3V via a 4.7K resistor. An active Low pulse greater than 2.0μs will reset the module. If the module needs to be reset externally, only use open collector-type circuits. This pin is not driven low by any internal conditions. The host should control this pin via one of its port pins using an open collector/drain arrangement.
10 3.3V P Regulated 3.3 Volts output, maximum available current 50mA to power external circuitry.

Note

I = Input, O = Output, P = Power

Hardware Interface - Pins

The uOLED-160G2 provides both a hardware and software interface. This section describes in detail the hardware interface pins of the device.

Serial Ports - COM0 UART

The uOLED-160G2 has a dedicated hardware UART that can communicate with external serial devices.

The primary features are:

  • Full-Duplex 8-bit data transmission and reception through the TX and RX pins.
  • Data format: 8 bits, No Parity, 1 Stop bit.
  • Auto Baud feature.
  • Baud rates from 300 baud up to 600K baud.

The Serial port is also the primary interface for downloading compiled 4DGL application code and future PmmC/Firmware updates for the onboard GOLDELOX processor. Refer to the PmmC/Firmware Programming section for more details.

TX pin 3 (Serial Transmit):

Asynchronous Serial port Transmit pin, TX. The serial output data is at TTL voltage levels. Connect this pin to the external serial device Rx signal.

Rx pin 5 (Serial Receive):

Asynchronous Serial port Receive pin, RX. Connect this pin to an external serial device Transmit TX signal.

General Purpose I/O

There are 2 GPIO pins available, IO1 and IO2. Each GPIO has a multitude of high-level functions associated with it and these can be selected within the 4DGL user application code.

Refer to the GOLDELOX Internal Functions Manual for a complete set of built-in 4DGL library functions.

IO1 pin 6 (General Purpose IO1):

General purpose IO1 pin. The following table lists the available GPIO functions and features.

IO2 pin 4 (General Purpose IO2):

General purpose IO2 pin. The following tables list the available GPIO functions and features.

Note

Digital GPIO pins are 5.0V tolerant

GPIO Functions and Features

Function IO1 IO2
Digital Input Yes Yes
Digital Output Yes Yes
A/D Converter 8/10 bits Yes
Joystick - 5 position multi-switch Yes
Dallas 1-Wire support Yes Yes
Sound Generation, RTTL Tune Yes Yes
Input/Output:

Both IO1 and IO2 pins can be programmed to be Inputs or Outputs. The diagram below shows a LED connected to IO1 (programmed as an output) and a button connected to IO2 (programmed as an input).

LED connected to IO1 and button connected to IO2

Joystick - Multi Switch:

Multiple buttons or a multi-switch Joystick can be connected to the IO1 pin on the uOLED-160G2 module. Up to five buttons or a 5-position multi-switch joystick connects to a junction of a resistor ladder network that forms a voltage divider. The A/D converter of the IO1 pin internally reads the analogue value and decodes it accordingly. This feature is supported by dedicated 4DGL library functions. The following diagrams indicate how to connect up to five individual buttons or a multi-switch joystick to the IO1 pin.

How to connect five individual buttons to the IO1 pin

How to connect a multi-switch joystick to the IO1 pin

Unused buttons do not need resistors to be connected to the circuit.

The table below lists the buttons and corresponding resistor values.

GPIO Functions and Features

Number of Buttons Button Number Resistor Value
1 SW1 22K
2 SW2 10K
3 SW3 4.7K
4 SW4 2.2K
5 SW5 1.2K

Analogue to Digital Converter:

The IO1 pin can be programmed as an A/D input. The option is available to select 8-bit or 10-bit resolution. The diagram below is a circuit of a Light Dependent Resistor (LDR) connected to IO1 to measure and record changes in ambient light.

Circuit of a Light Dependent Resistor (LDR) connected to IO1

Dallas 1-Wire:

The Dallas 1-Wire protocol is a form of serial communication designed to operate over a single data line plus ground reference. Multiple 1 Wire devices can be attached to the same shared data line to network many devices. One wire device support is available on both the IO1 and the IO2 pins on the uOLED-160G2 module.

The following diagram depicts a typical 1-Wire temperature sensor interface.

A typical 1-Wire temperature sensor interface

Sound Output:

The uOLED-160G2 module is capable of generating complex sounds and RTTL tunes from its IO1 and IO2 pins. A simple speaker circuit as shown below can be used.

Sound Output

System Pins

+5V (Module Voltage Input):

Pin 1:

Module supply voltage input pin. This pin must be connected to a regulated supply voltage in the range of 4.0 Volts to 5.5 Volts DC. The nominal operating voltage is 5.0 Volts.

5V Out(~4.7V):

Pin 2:

External circuitry that requires approximately a 5V supply can be powered up via this pin. The maximum available current is 50 mA

GND (Module Ground):

Pins 7, 8:

Device ground pins. These pins must be connected to the ground

RESET (Module Master Reset):

Pin 9:

Module Master Reset pin. An active low pulse of greater than 2 microseconds will reset the module. Internally pulled up to 3.3V via a 4.7K resistor. Only use open collector-type circuits to reset the device if an external reset is required.

3.3 Vout (3.3V Regulated Output):

Pin 10:

External circuitry that requires a regulated 3.3 V supply can be powered up via this pin. The maximum available current is 50mA.

Module Features

The uOLED-160G2 module is designed to accommodate most applications. Some of the main features of the module are listed below.

Display - 1.7" PMOLED

The uOLED-160G2 is equipped with a full-colour PMOLED screen. Some of the features of the screen are:

  • Screen Size: 1.7" diagonal
  • 160 x 128 Resolution PMOLED display
  • Screen Dimensions: 40.0 x 33.5 mm.
  • Viewing Area: 33.6 x 27 mm
  • 65K true-to-life colours
  • Brightness: 100 cd/m2
  • Contrast Ratio: 5000:1
  • Viewing Angle: > 160 degrees
  • No Backlighting

Note

The Displays used are the highest-rated 'Grade A' Displays, which allow for 0-4 defective pixels. A defective pixel could be solid Black (Dead), White, Red, Green or Blue

GOLDELOX Processor

The module is designed around the GOLDELOX Graphics Processor from 4D-Labs

GOLDELOX Processor

The GOLDELOX is a custom-embedded graphics processor designed to interface with many popular OLED and LCD panels. Powerful graphics, text, images, animation and countless more features are built right inside the chip. It offers a simple plug-and-play interface to many 8-bit 80-Series colour LCD and OLED displays.

The chip is designed to work with minimal design effort and all of the data and control signals are provided by the chip to interface directly with the display. Simply choose your display and interface it to the GOLDELOX on your application board. This offers enormous advantages to the designer in development time and cost saving and takes away all of the burdens of low-level design.

Refer to the GOLDELOX Processor datasheet for more information.

SD/SDHC Memory Cards

SD/SDHC Memory Cards

The module supports micro-SD memory cards via the onboard micro-SD connector. The memory card is used for all multimedia file retrieval such as images, animations and movie clips. The memory card can also be used as general-purpose storage for data logging applications. Support is available for off-the-shelf micro-SD and high-capacity HC memory cards (4GB and above).

Note

A microSD card capable of SPI is a requirement for all 4D Systems' display modules powered by GOLDELOX, PICASO or DIABLO-16 Processors. If a non-SPI compatible card is used, it will simply fail to mount, or may cause intermittent issues resulting in lockups and crashing of the application. Please refer to the 4D Systems website for microSD cards offered by 4D Systems.

uOLED-160G2

OLED Screen Precautions

  • Avoid having a White Background. The more pixels that are lit up, the more the display module will consume current. A full white screen will have the highest power consumption.
  • Avoid displaying objects or text on White Backgrounds. This will cause a smearing effect which is inherent to all PMOLED displays. Instead, try a shaded mixed colour as the background or better still a black background. Ideally have mixed coloured objects/text/icons on a black background.
  • Avoid having to display the same image/object on the screen for lengthy periods. This will cause a burn-in which is a common problem with all types of display technologies. Blank the screen after a while or dim it very low by adjusting the contrast. Better still; implement a screen saver feature.
  • The display can be easily scratched. The soft polarisation film on the glass surface may be damaged if rubbed by hard objects. Handle with care to avoid scratching the display.
  • Moisture and water can damage the display. Moisture on the surface of a powered display will cause the electrodes to corrode. Wipe off any moisture gently or let the display dry before usage.
  • Dirt from fingerprint oil and fat can easily stain the surface of the display. Gently wipe off any stains with a soft lint-free cloth.
  • The performance of the display will degrade under high temperatures and humidity. Avoid such conditions when storing.
  • Displays are susceptible to mechanical shock and any force exerted on the module may result in deformed zebra strips and cracks.
  • Always use the mounting holes on the module's printed circuit board to mount the display.

Hardware Tools

The following hardware tools are required for full control of the uOLED-160G2 module.

4D Programming Cable/Adaptor

The 4D Programming Cable and uUSB-PA5-II Programming Adaptor are essential hardware tools to program, customise and test the GOLDELOX Processor.

The 4D programming interfaces are used to program a new Firmware/PmmC, Display Driver and for downloading compiled 4DGL code into the processor. They even serve as an interface for communicating serial data to the PC.

The 4D Programming Cable and uUSB-PA5-II Programming Adaptor are available from the 4D Systems website. Using a non-4D programming interface could damage your processor, and void your Warranty.

Programming Language

The heart of the uOLED-160G2 module is the GOLDELOX graphics processor from 4D Labs. The GOLDELOX belongs to a family of processors powered by a highly optimised softcore virtual engine, EVE (Extensible Virtual Engine).

EVE is a proprietary, high-performance virtual machine with an extensive byte-code instruction set optimised to execute compiled 4DGL programs. 4DGL (4D Graphics Language) was specifically developed from the ground up for the EVE engine core. It is a high-level language that is easy to learn and simple to understand yet powerful enough to tackle many embedded graphics applications.

4DGL is a graphics-oriented language allowing rapid application development, and the syntax structure was designed using elements of popular languages such as C, Basic, Pascal and others.

Programmers familiar with these languages will feel right at home with 4DGL. It includes many familiar instructions such as IF..ELSE..ENDIF, WHILE..WEND, REPEAT..UNTIL, GOSUB..ENDSUB, GOTO, PRINT as well as some specialised instructions SERIN, SEROUT, GFX_LINE, GFX_CIRCLE and many more.

For detailed information about the 4DGL language, please refer to the following documents:

To assist with the development of 4DGL applications, the Workshop4 IDE combines a full-featured editor, a compiler, a linker and a downloader into a single PC-based application. It's all you need to code, test and run your applications.

4DGL is available to be written in two of the four environments offered by the Workshop4 IDE, Designer and ViSi. The other two environments, Serial and ViSi-Genie do not directly use 4DGL by the User (Except in Workshop4 Pro, for ViSi-Genie), however, it is present in the background. Serial is an application that runs, and that is written in 4DGL. ViSi-Genie automatically generates 4DGL itself based on what is configured in the GUI.

Workshop4 IDE

Workshop4 is a comprehensive software IDE that provides an integrated software development platform for all of the 4D family of processors and modules. The IDE combines the Editor, Compiler, Linker and Downloader to develop complete 4DGL application code. All user application code is developed within the Workshop4 IDE.

Workshop4 IDE Interface

The Workshop4 IDE supports multiple development environments for the user, to cater to different user requirements and skill levels.

  • The Designer environment enables the user to write 4DGL code in its natural form to program the range of 4D Systems' intelligent displays.
  • A visual programming experience, suitably called ViSi, enables drag-and-drop type placement of objects to assist with 4DGL code generation and allows the user to visualise how the display will look while being developed.
  • An advanced environment called ViSi-Genie doesn't require any 4DGL coding at all, it is all done automatically for you. Simply lay the display out with the objects you want, set the events to drive them and the code is written for you automatically. This can be extended with additional features when a Workshop4 PRO license is purchased from the 4D Systems website. Extended Advanced features for Visi-Genie are available in the PRO version of WS4. Further details are explained under the Visi Genie section of the Workshop4 documentation.
  • A Serial environment (aka SPE 'Serial Platform Environment') is also provided to transform the display module into a slave serial module, allowing the user to control the display from any host microcontroller or device with a serial port using predefined serial commands.

For more information regarding these environments, refer to the Workshop4 manuals.

The Workshop4 IDE is available from the 4D Systems website.

PmmC/Firmware Programming

The GOLDELOX processor on the uOLED-160G2 module can be reprogrammed with the latest PmmC configuration for updates and future-proofing. The chip-level configuration is available as a PmmC (Personality-module-micro-Code) file and the programming must be performed over the serial interface. The chip-resident internal 4DGL functions are part of the GOLDELOX PmmC configuration file so please check regularly for the latest updates and enhancements.

The PmmC file is programmed into the device with the aid of Workshop4, the 4D Systems IDE software. To provide a link between the PC and the ICSP interface, a specific 4D Programming Cable is required and is available from 4D Systems.

Using a non4-D programming interface could damage your display, and void your Warranty.

Display Module Part Numbers

The following is a breakdown of the part numbers and what they mean.

Example: uOLED-160G2

uOLED - microOLED Display Family

160 - Display size (1.7")

G - GOLDELOX Processor

2 - Generation 2

Starter Kit

4D Systems highly recommends all first-time buyers of 4D Systems' displays, to purchase the Starter Kit when purchasing their first 4D Systems display solution.

The Starter Kit provides all the hardware that is required to get the User up and running.

Not all development environments and features will be needed by every User. However, purchasing the display solution in a Starter Kit allows you to take full advantage of all of the features of the 4D Systems Display Solution and try out each of the 4D Woskshop4 Environments before settling with the preferred feature set.

The Designer environment can use every feature of the display, however, depending on the user requirements, a micro-SD (uSD) card may not be required. The uSD card is used when displaying images/video/sound, along with data logging to uSD, and a programming cable or adaptor is required for downloading compiled code and PmmC/Firmware updates.

The ViSi environment is the same as Designer in terms of feature utilisation, but is image based so requires a uSD card, along with a programming cable.

The Serial environment does not require either a uSD or Programming cable to be used once the module has been configured as a Serial device, however, can use both depending on the user's requirements. The uSD card can be used for such things as storage and display of multimedia files, data logging, and the Programming cable for PmmC/Firmware updates, or changing to one of the other three programming environments.

Starter Kits typically include:

  • uOLED-160G2 Display Module
  • uUSB-PA5-II Programming Adaptor
  • 4GB micro-SD Card
  • 5-way Male to Male adaptor (for converting the Female-Female cable to be Male-Female)
  • 150mm 5-way Female-Female jumper cable, for quick connection to another device or breadboard
  • Quick Start Guide

Please refer to the 4D Systems website for the current components included in the Starter Kit.

Simply select the Starter Kit option when purchasing the chosen display module on the 4D Systems shopping cart, or from your local distributor.

Mechanical Details

Mechanical Details

Schematic Diagram

Revision 5.0

Schematic Diagram - REV 5.0

Revision 7.1

Schematic Diagram - REV 7.1

Specifications

Absolute Maximum Ratings

Operating ambient temperature -35°C to +75°C
Storage temperature -40°C to +80°C
Voltage on any digital input pin with respect to GND -0.3V to 6.0V
Voltage on SWITCH pin with respect to GND -0.3V to 6.0V
Voltage on VCC with respect to GND -0.3V to 6.0V
Maximum current out of GND pin 300mA
Maximum current into VCC pin 250mA
Maximum current sunk/sourced by any pin 4mA
Total power dissipation 1.0W

Note

Stresses above those listed here may cause permanent damage to the device. This is a stress rating only and functional operation of the device at those or any other conditions above those indicated in the recommended operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability.

Recommended Operating Conditions

Parameter Conditions Min Typ Max Units
Supply Voltage (VCC) 4.0 5.0 5.5 V
Operating Temperature -30 -- +70 °C
Input Low Voltage (VIL) RX Pin GND -- 0.8 V
Input High Voltage (VIH) RX Pin 2.0 3.3 5.0 V
Reset Pulse External Open Collector 2.0 -- -- µs
Operational Delay Power-Up or External Reset until the module has been able to communicate or until the application has started -- 3000 -- ms

Global Characteristics based on Operating Conditions

Parameter Conditions Min Typ Max Units
Supply Current (ICC) VCC = 5.0V, very dependent on operating conditions, uSD usage, screen display colour (ie White) 14 60 200 mA
Low Power Current (ICC) VCC = 5.0V, Contrast = 0 300 500 -- µA
Output Low Voltage (VOL) TX, IO1, IO2, IOL = 3.4mA -- -- 0.4 V
Output High Voltage (VOH) TX, IO1, IO2, IOL = -2.0mA 2.4 -- 3.3 V
A/D Converter Resolution IO1 Pin -- 8 10 bits
Capacitive Loading All pins -- -- 50 pF
Flash Memory Endurance PmmC/4DGL Programming -- 1000 -- E/W

Optical Characteristics

Parameter Conditions Min Typ Max Units
Luminance (L) VCC = 5.0V 70 100 -- cd/m2
Viewing Angle (VA) VCC = 5.0V 160 -- -- degree
Contrast Ratio (CR) VCC = 5.0V 2000:1 5000:1 -- --
Operational Lifetime (LT) 50% checker board pattern. 90 cd/m2. The end of lifetime is 50% initial intensity. 10000 15000 -- hours
Storage Lifetime (ST) Ta = 25°C, 50% RH 20000 -- -- hours

Ordering Informaton

Order Code: uOLED-160G2
Package: 65mm x 50mm x 30mm
Packaging: Module sealed in antistatic foam padded 4D Systems Box

Revision History

Hardware Revision

Revision Number Date Description
4.0 24/09/2012 Initial Release for 160-G2 version
5.0 26/11/2012 R16 not mounted, previously a 1M2 pull-down resistor for SD card chip select
7.0 04/05/2015 - 3.3 V Regulator changed from 150mA version to 250 mA version, giving higher current output capability to Users.
- R16 mounted as 10K pull-up resistor, previously not mounted on Revision 3.0 hardware.
7.0 17/05/2018 Component change
7.1 19/09/2019 MInor adjustment:
Added R17 parallel to R4 to modify display oscillation frequency based on the OLED display model

Datasheet Revision

Revision Number Date Description
1.3 15/09/2014 Initial Public Release Version
1.4 17/07/2015 - Addition of Schematic Diagram Rev 7.0
- Addition of Hardware Revision History
1.5 06/03/2019 Cosmetic changes to uOLED Datasheet
1.6 06/01/2023 Modified datasheet for web-based documentation
1.7 25/04/2024 Updated formatting for resource centre redesign
Added 7.1 hardware revision