The Relay is : Blue PCB Type DC 24V SPDT 5 Pin Mini Power Relay SRD-24VDC-SL-C
There are FOUR pins
Ground
Vcc IN+ IN-
How do I program such relay ?
Do I have to provide extra components to make sure that Arduino UNO can handle it
Wiring tip will be greatly appreciated ( I mean how to wire it to talk to Arduino)
Hi, I think you have a PCB mounted relay, the Gnd, Vcc,+IN and -IN, sound like the relay PCBs you can get on abay and elsewere.
A picture of the relay would help. The other end of the PCB would have three terminals for Com,NO and NC.
I think you haven't given us the whole story.
So to prevent confusion a picture or a better complete description would help, if we do not have accurate info, we cannot give you accurate and correct advice.
We are here to help.
We are all stabbing in the darks here.
Can you provide a link to where you obtained the relay in your picture as it is impossible to see the details in it such as what the jumper is for ?
As I mentioned earlier in the post . I saw a sample connection using the two IN+ and IN- connected to a sensor.
That of course will not help me CONTROLLING the relay using Arduino......Hence my post