Note in the diagram is the same on the pi board, pins are arranged in 2 columns of 20 pins each.
These instructions will reference the left column or the right column of pins.
The red wire is connected to the 5v pin (right column, 1
st
(top) pin in the diagram). The black
wire is connected to the ground pin (right column, 3
rd
pin down marked ground).
OLED Display
For the OLED, this is a standard serial display SDD1306 4-pin. The 4 wires are pre-connected to
the back of the OLED and can be any colour we choose that is available to us when your case is
assembled so colour does not matter. What is important is the connection of the appropriate
pins from the OLED to the pi header.
If you look inside the case at the rear of the OLED it will look like either one of the photos below
but will have the cable fitted.
THIS IS REALLY IMPORTANT
–
based on the suppliers we used, the wiring
sequence can be different
–
type 1 or type 2. Look at the OLED to establish which type it is.
Note that it’s the position of the VCC and GND are different for pins 3 and 4!
Type 1:
Look at the back of the OLED as above, the pins are (from left to right in order):
1.
SDA (seral data)
2.
SCL (serial clock)
3.
VCC (3.3v)
4.
GND (ground)