6D302 4D SYSTEMS, 6D302 Datasheet - Page 8

OLED DISPLAY 160x128PIXELS 33.6mmx27mm

6D302

Manufacturer Part Number
6D302
Description
OLED DISPLAY 160x128PIXELS 33.6mmx27mm
Manufacturer
4D SYSTEMS
Datasheet

Specifications of 6D302

Screen Size
42.92mm
Resolution
160 X 128
Viewing Area (h X W)
33.6mm X 27mm
Interface Type
Serial, USB
Voltage Rating
5V
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
2.1 Command Protocol
The following are each of the commands with the correct syntax. Please note
that all command examples listed below are in hex (00hex). Due to the high
colour depth of the µOLED, a pixel colour value will not fit into a single byte, a
byte can only hold a maximum value of 255. Therefore the colour is
represented as a 2 byte value, colour
is transmitted first followed by the least significant byte (lsb). This format is
called the big endian. So for a 2 byte colour value of 013F
can be shown as (01
NOTE:
include any separators such as commas ‘,’ or spaces ‘ ‘ or brackets ‘(‘ ‘)’
between the bytes. The examples show these separators purely for legibility;
these must not be included when transmitting data to the
When a command is sent, the
called the
the operation is completed. It will take the
milliseconds to reply back with an ACK, depending on the command and the
operation the
not understand it will reply back with a negative acknowledge called the
(15
If a command that has 5 bytes but only 4 bytes are sent, the command will not be
executed and the
the command. There is no timeout on the
sent. The
For correct operation make sure the command bytes are sent in the correct
sequence.
hex
).
When transmitting the command and data bytes to the
µOLED
ACK
µOLED
(06
µOLED
will reply back with a
hex
hex
has to perform. If the
). This tells the host that the command was understood and
),(3F
will wait until another byte is sent before trying to execute
www.4dsystems.com.au
hex
µOLED
).
(msb:lsb)
will reply back with a single acknowledge byte
NAK
µOLED
µOLED
µOLED
for each invalid command it receives.
. The most significant byte (msb)
when incomplete commands are
anywhere between 1 to several
receives a command that it does
µOLED.
hex
the byte order
µOLED,
do not
NAK
8

Related parts for 6D302