I bought a Songle SRD 5v relay for my project. I know how to wire in electrical terms, but not how to attach it physically. It has 3 prongs spaced so as to plug into a project breadboard, but that positions it vertically. That's not only awkward, but also the prongs don't fully engage so it easy to knock it loose.
How is this supposed to be done? I know there must be mating connectors but can't find a source because I don't know what they are called.
You mean you are trying to use it with a "solderless breadboard"?
Yes, the pins are too short.
It is intended to be soldered into a PCB; given that the pins are on a 1/10" grid, you can use stripboard or "protoboard".
But for use with an Arduino, you cannot use the relay without a transistor to switch it. And it makes little sense to assmble it yourself. Just get one of these ready-built modules:
eBay example only.
Paul, I though that's what I was buying. It's the same Songle as in your photo mounted on a little PCB. No transistors. It works fine electronically in my project. Guess I wasted my money though.
jag_man653:
It's the same Songle as in your photo mounted on a little PCB. No transistors.
Every Songle relay that is mounted on a breakout board has a transistor.
Look again. Spot the transistor.
It has three legs, and is smaller than an ant.
Why are you fixated on breadboard fitting? You can lash it up for preliminary test by soldering to stripboard and using strip headers to plug it in if you must.
Bear in mind though that breadboards are only for the first proof of concept lashups and not for any more permanent use.
It has 3 prongs spaced so as to plug into a project breadboard, but that positions it vertically.
That made me wonder what sort of module it is. The modules shown don't seem to have prongs that can plug into a breadboard or am I misunderstanding something?
groundFungus:
That made me wonder what sort of module it is. The modules shown don't seem to have prongs that can plug into a breadboard or am I misunderstanding something?
I think he is referring to a plain PCB mount relay, rather than a module.