RST D7 Reset Reset
Active-low screen
reset.
CS A2 —
SPI chip select
(active-low)
—
Setting the Jumpers
With the board flipped over, you’ll notice there are six jumpers. The majority
of these jumpers are used to switch between SPI and I C mode. As the
board ships, these jumpers are set to configure the display in SPI mode.
Here’s an overview of each jumper, moving from left-to-right, top-to-bottom
in the picture above:
• VD/VB -- This jumper shorts the digital power supply (VDD) to the
battery power supply (VBAT). Because both of these supplies can be
powered at 3.3V, an easy one-supply solution is to short them
together and provide them a single supply. If you need to power the
digital supply at something lower, like 1.8V, you may need to cut this
jumper and provide two supplies.
• D1/D2 -- This jumper can be used to short D1 to D2. If you want to
use SPI, leave this jumper open. If you're using I C, short the jumper.
By default this jumper is open.
• D/C -- This jumper can be used to short D/C to either 3.3V (1) or 0V
(0). In I C mode, the D/C pin sets the 7-bit address of the display. In
SPI mode this jumper should be left open, as the D/C pin needs to be
toggled to determine if an incoming byte is data or command.
• BS2 and BS1 -- These pins on the OLED determine which interface
you're using to control the OLED. With the two signals, there are four
possible combinations:
BS2BS1Interface
00 SPI
01 IC
1 0 8-bit Parallel (6800)
1 1 8-bit Parallel (8080)
By default, both of these jumpers are set to 0, which puts the display
in SPI mode. If you want to change it to I C mode, clear the BS1
jumper and set it to 1.
That brief overview should cover the 99% use case. Consult the schematic
and the notes therein if you have any questions about jumpers or pins.
Using the OLED Shield
When attaching your Photon to the top of the OLED shield, make sure the
beveled end of your Photon (next to A0 and D0) matches up with the
beveled lines on the top of the OLED shield (the end with the Open Source
Hardware Logo). The pin labels on the Photon should match those on the
OLED shield as well. You can stack many of our Photon shields together,
which is why the OLED screen juts out to the side. So, you can end up with
something like this:
2
2
2
2
2
Page 3 of 1