2. Soldering the headers
Before using your click
™
board, make sure
to solder 1x8 male headers to both left
and right side of the board. Two 1x8 male
headers are included with the board in
the package.
1
OLED W
click
1. Introduction
™
2
3
4. Essential features
OLED displays are made from a thin film of
organic compound that emits light when
exposed to a current. Small monochrome
displays like these are ideal for displaying
text or icons. They are bright, have a wide
viewing angle and low power consumption.
The display on OLED W click
™
is 19.3 x 7.8mm
with a 96 x 39px resolution. The SSD1306
controller has built-in functionalities like
contrast control, normal or inverse image
display, vertical and horizontal scrolling
functions and many more.
Turn the board upside down so that
the bottom side is facing you upwards.
Place shorter pins of the header into the
appropriate soldering pads.
Turn the board upward again. Make sure
to align the headers so that they are
perpendicular to the board, then solder
the pins carefully.
OLED W click
™
lets you add a small but bright
and crisp display to your design. It carries
a white monochrome passive matrix OLED
display and a
SSD1306
IC to control it. OLED
W click
™
can communicate with the target
board either through SPI or I
2
C interfaces.
mikroBUS
™
lines used for SPI are CS, SCK,
and MOSI (SDI); I
2
C output uses SCL and SDA
lines; also, both modes use PWM (A/C) and
RST lines. You select between SPI and I
2
C
outputs by resoldering three jumpers. OLED
W click
™
uses a 3.3V power supply.
3. Plugging the board in
Once you have soldered the headers your
board is ready to be placed into the desired
mikroBUS
™
socket. Make sure to align the
cut in the lower-right part of the board with
the markings on the silkscreen at the
mikroBUS
™
socket. If all the pins
are aligned correctly, push the
board all the way into the socket.
click
www.mikroe.com
OLED W click Manual v100
™
BOARD
0 100000 027073
5. OLED W click
™
board schematic
6. Interface selection
MI9639BO-W
VDDB
C9
4.7uF
IN OUT
GND
EN ADJ
AP7331-ADJ
5
4
R3
160K
R5
20K
R4
0R
To switch from SPI to I
2
C output on OLED W
click, resolder all three onboard jumpers (J1,
J2
and
J3)
to the I
2
C position.
VCC-3.3V
VCC-5V
1
2
3
U1
NC
C2P
C2N
C1P
C1N
VDDB
VSS
VDD
BS1
BS2
CS#
RES#
D/C#
R/W#
E/RD#
D0
D1
D2
D3
D4
D5
D6
D7
IREF
VCOMH
VCC
VLSS
NC
1
28
R1
2K2
LD1
C8
2.2uF
7. Code examples
Once you have done all the necessary
preparations, it’s time to get your click
™
board
up and running. We have provided examples
for mikroC
™
, mikroBasic
™
and mikroPascal
™
compilers on our
Libstock
website. Just
download them and you are ready to start.
D/C
1
D0
D1
SDA
CS
RES
D/C
BS1
C1
1uF
C2
I2C
SPI
J1
VCC-3.3V
BS1
VCC-3.3V
C6
2.2uF
C7
4.7uF
R2
390K
RES
CS
SCK
SDI
AN
RST
CS
SCK
MISO
MOSI
+3.3V
GND
PWM
INT
TX
RX
SCL
SDA
+5V
GND
VCC-5V
VCC-3.3V
VCC-3.3V
VDDB
1uF
C3
1uF
C5
R6
4K7
R7
4K7
SCL
SDA
.com
8. Support
MikroElektronika offers
free tech support
(www.mikroe.com/support)
until the end
of the product’s lifetime, so if something
goes wrong, we’re ready and willing to help!
I2C
SPI
J2
SCL
D0
SCK
MIKROBUS DEVICE CONN.
VCC-3.3V
1uF
I2C
SPI
J3
SDA
D1
SDI
MikroElektronika assumes no responsibility or liability for any errors or inaccuracies that may appear in the present document.
Specification and information contained in the present schematic are subject to change at any time without notice. Copyright © 2014 MikroElektronika. All rights reserved.