Controlling 12V Relay with 5v Arduino input/ ground?

Hi, I want to use four 12V relays to control some valves.
I have a separate Power supply so I can connect it to the Left side of the relay

but on the right, where I insert the logical pins from Arduino, Can I just connect both 5v and Ground from Arduino ?

So Relay is trnasmitting 12V to other devices, but effectively is run by Arduino power source?
Is this OK ?

Welcome to the forum

Left and right have no meaning unless it refers to a particular component and even then would be subject to differences depending on how it is being viewed

Do the connections on the relay have any markings on them ?

Thats is the relay at question
relay

In principle; yes. Except the Arduino will not have sufficient current capability to drive the relays. You will need some form of power and a control (eg transistor) to allow this.

Read and check the datasheet.

so its better to power it using 12v, should I connect both Arduino and the relays to the same ground?

Assumign Relay will use 12V and Arduino 5V. though ground is 0V so it should be fine?

you need no additional transistor to switch this module.

Connect 12V to DC+ and DC-
Connect Arduino GND to DC- either at relay or 12V power supply

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.