Raphael Kit Lesson 1.3.3 for Raspberry Pi (Relay)

This is a tough lesson to wrap my head around.

Can you please provide a pin-out for the relay that comes in the kit? I found a data sheet for it but it doesn’t make sense given the wiring example.

If the two pins that stand alone at one end of the relay (the two on the left in the wiring example you provide) are the “common” pins, it is my understanding that those pins are connected to each other internally in the relay. What is the point of the red jumper wire going from the top common (and cathode end of diode) to the upper positive power rail as the two commons are already getting power from the jumper connecting the bottom common pin to the bottom positive power rail?

Sidenote: the lesson shows a Songel SRS-05VDC-SH relay and what I received in the kit is a Songel SRS-05VDC-SL relay. I don’t know if that makes a difference?

I also couldn’t find a matching video for this lesson (well, I found a Sunfounder one for Arduino but it describes what I think is a common pin as “the armature” and then in the comments someone from SunFounder agrees that the same pin is the common pin). Is that just two names for the same thing?

Thank you for reaching out — and your pin reading is actually spot on, which is exactly where most people get confused!

1. Pin-out: on the relay in the kit (Songle SRS-05VDC series), the two pins standing alone at one end are the common (COM) pins — pin 1 and pin 6. They are directly connected to each other inside the relay (the same node brought out on two pins). The other four pins: the middle pair (2 & 5) is the coil, and the pair at the far end (3 & 4) is normally closed (NC) and normally open (NO).

2. What the red jumper does: you’re right that both pin 1 and pin 6 are wired to +5 V in the diagram, and those two pins are internally connected. The key is that the coil’s pin 2 is separately wired to pin 1, so the current path is +5 V → pin 1 (via the red jumper) → pin 2 → coil → pin 5 → transistor → GND — the red jumper is the coil’s +5 V supply. When GPIO17 goes HIGH the transistor conducts, the coil is energized, and the relay “ticks”. You also noticed the diode’s banded (cathode) end on that same line — correct: with pin 2 tied to pin 1 they are one node, and the diode across pins 2–5 is a flyback (protection) diode that absorbs the reverse voltage spike when the coil switches off, protecting the transistor.

The lesson wires it this way for two reasons. First, built-in redundancy: pins 1 and 6 are the same node, so connecting both to +5 V means that even if one jumper works loose on the breadboard, both the coil and the LED still have a complete power path — the experiment stays stable. Second, tidy routing: pin 2 sits right next to pin 1, so a short jumper completes the coil’s supply, while pin 6 down below conveniently feeds the LED circuit (+5 V → COM → NO → LED → resistor → GND), so each circuit picks up its power nearby. Of course, connecting pin 2 straight to +5 V works just as well — both wirings are fine for this lesson.

3. SRS-05VDC-SH vs SRS-05VDC-SL: they are the same Songle SRS sub-miniature SPDT relay family with a 5 V, ~70 Ω coil; the suffix letters are series/variant designations. For this lesson they are equivalent — keep the same wiring and code, no changes needed.

4. “Armature” vs “common”: two names for the same pin. The armature is the moving part of the relay’s contact system, and the terminal connected to it is the common (pole) pin. Some diagrams label it “armature”, others “common”.

We’ve attached a clear schematic along with this reply — it goes well with the explanation above. Please let us know how the build goes — we’re happy to help if anything else comes up!

If this is the Songle relay upside down (as showing in the Wiring Example) do I have the pin numbers correct? I think a numbered/labeled relay illustration would help with this lesson.

Hello, regarding the relay pin identification, here’s a simple tip:

Pin 1 is usually marked with a feature—in this relay, it’s a circular hole. It has no electrical or structural function; it’s simply there to mark the location of pin 1.

In your wiring diagram, the bottom-left corner is pin 1, and counting counterclockwise from there, the pins are 2, 3, 4, 5, 6.

1 Like

oh, that is great info. thanks.