0

I am kind of dipping my toe in this lake. Not a hardware/electronics person, more of a software guy (programmer). I am not able to easily find information about the 12V 4 Channel Relay (duinotech).

I thought this kind of relay would be so common that it would be very well documented. I am looking for a pinout and explanation of each pin. Here is an image of the component: enter image description here

where would one plug the hot wire (main) and what are the other 2 why are there 2 GND pins and why is there a jumper connecting the COM to one of the GND pins.

Please point me in the direction that makes it easier for me to get this information.

Thanks


Edit:

Here is an image of the relay module that I actually have (notice how the relays themselves blue have different text on them from the previous image. Can someone explain how come this does not mention a 30VDC rating and has a duplicate line? enter image description here

3m3sd1
  • 9
  • 3

3 Answers3

1

These modules really are not suitable for the Pi and require additional components. I agree that the "documentation" is inadequate, and you would need to check the circuitry.

See Can you use a 5V Relay Module with the Pi? - you have additional considerations due to the need for a 12V supply.

Your comment "where would one plug the hot wire (main) and what are the other 2" implies that you may be using these to control mains 240V power. This really should be done by someone with suitable training and knowledge of the safety practices.

The reason there are 2 Gnd connections (they is only 1 Gnd with 2 pins) is that one (COM) is for the input circuitry, the other for the 12V relay power supply. They CAN be joined (by the COM Gnd jumper), but this makes any opto-isolation illusory!

Controlling mains powered devices

Safe operation on mains powered devices requires more that a relay that is capable of switching mains voltage.

Modules need to be mounted in a way that complies with electrical isolation requirements for mains powered devices. This requires that are mounted in a suitable enclosure with isolation between the mains and control circuitry. This needs to meet double insulation standards OR the enclosure needs correct earthing. In addition they would only comply with additional mechanical anchoring for mains wiring.

Milliways
  • 62,573
  • 32
  • 113
  • 225
1

I think you could use something like this to convert your 3.3v Raspberry pi signals to the 12v signal required for that relay. But I think it would be better to just get a relay that is directly compatible with a Raspberry pi like this. God bless!

Michael
  • 21
  • 2