Here’s a probable layout for a non-portable installation.
Straight header pins have been soldered to the bonnet board
and the displays, projecting “up” and “back,”
respectively. Two 11-pin female-to-female ribbon cables then
join everything.
This might be easiest to assemble (and disassemble), and the
straight header pins on the displays make them easy to re-
use in breadboard projects later.
…but that’s not the only option.
This TFT display has right-angle hader pins on the front of the
board (front, back, doesn’t matter as long as the wires
connect in the same order). This makes it very slim, but also a
fair bit taller.
And this OLED has an 11-pin ribbon cable directly soldered to
the board, no header pins at all. Again…front or back, ribbon
could go straight out or can double back across the board…it
all depends on your construction and space needs, as long as
the pin order is followed. This is the most space-efficient, but
requires patience and ace soldering skills, and isn’t easily re-
used in other projects.
If using “rainbow” ribbon cables: these have 10 colors, while the displays use 11 wires…this means the
cables will have the same color wire along both edges. Therefore, DO NOT rely on a visual mnemonic
like “black wire is ground” or “red wire is Vin,” because your cable may have two black wires, or two reds,
or two
anything.
Instead, make sure to manually follow the first wire all the way from the bonnet to the
display, make sure they line up right, then install the remaining wires in order.
If you’re
really
economizing for space, here’s a secret: only 7 wires are really
needed…
it’s just easier and
less error-prone to solder a header at each end and plug all 11 wires straight through. If using the OLED
display, the SC, SD, CD and 3V pins can optionally be skipped. If using TFT, the 3v3 SO, CCS and Lite pins
can be skipped. Make certain the exact same pins are skipped at the bonnet end, don’t mix them up!
To ensure a clean signal from bonnet to displays, aim to keep your wiring short and tidy. Electrical
interference can lead to animation glitches…we’ll explain on the next page how to dial that back if
needed. It’s
possible
to use long ribbon cables (even a couple meters), but it invites problems with
interference or signal reliability.