You are on page 1of 1

Applying +5V to the Test Point 1 node (TP1) and

HDMI MICRO grounding the Test Point 2 (TP2) will supply power to
ETHERNET USB the Raspberry Pi if you do not wish to use the Micro
USB to supply power.
TP1

Please note, there are differences between


Raspberry Pi SD Rev 1.0 boards and Rev 2.0 boards GPIO Pins! (Rev 2.0 shown)
USB Model B CARD Also, there are two widely used number schemes
that depend on which class library (BCM or Wiring Pi)
Rev 2.0 that you intend to use to control the pin outputs.
DNC = Do Not Connect

+3.3V

GPIO 11
GPIO 09
GPIO 10

GPIO 22
GPIO 27
GPIO 17

GPIO 4
GPIO 3
GPIO 2
+3.3V
VIDEO

DNC

DNC

DNC
AUDIO TP2

BCM #’s:
GPIO 7
GPIO 8
GPIO 25
DNC
GPIO 24
GPIO 23
DNC
GPIO 18
GPIO 15
GPIO 14
GND
DNC
+5V
GPIO 14
GPIO 13
GPIO 12

GPIO 3
GPIO 2
GPIO 0

GPIO 7
GPIO 9
GPIO 8
+3.3V
Wiring Pi #’s:
DNC

DNC

DNC
GPIO 11
GPIO 10
GPIO 6
DNC
GPIO 5
GPIO 4
DNC
GPIO 1
GPIO 16
GPIO 15
GND
DNC
+5V
+5V

GND

RELAY
BOARD
INPUT
2.2k Ω
FROM 2N222
GPIO NPN
JUMPER PIN TRANSISITOR

10k Ω
JD-VCC
VCC
GND

VCC
IN8
IN7
IN6
IN5
IN4
IN3
IN2
IN1
GND

Sainsmart 8ch 5-V Relay Board


The relay board is “active low” which means the relays are
switched on when the inputs have a low voltage (0V) applied
to them. Since the GPIO pins output 3.3V when active, this
circuit will effectively short the relay board input to ground
8 7 6 5 4 3 2 1 making it 0V and will activate the relay.

During normal operation, when a relay is active, it’s terminals


A and B are connected. When de-activated, B and C are
A B C A B C A B C A B C A B C A B C A B C A B C connected. A and C are never connected.

You might also like