Jump to content

I m having an issue trying to get my relay to work this is what I m using


G+_Donald Kloss
 Share

Recommended Posts

  • Replies 57
  • Created
  • Last Reply

Top Posters In This Topic

Don Hatcher Well, you're right and wrong again. As I mentioned (and so has Michael Hagberg), the relay in question is not just a standalone relay, it is a relay module with other components on the board, some of which do the work of the transistor that you're thinking of.

I've been saying that I don't have a 12 v relay module here to test out, but last night I found I do have a 12 v standalone relay

(Porter and Brumfield item T7C5D-12), and I also have an Arduino Uno in my parts box that I didn't know I had.

I hooked up the Arduino to a computer and loaded up the Blink example, which worked fine. Then I disconnected the computer and hooked the Uno directly to a 12 v power supply ( Pos to "VIn" and Neg to GND). The UNO again worked as expected, without having to convert down the power (the Uno has circuitry onboard to do that)

Then I connected the output pin of the Uno (Pin 13) to the coil section of the 12v relay, and the other coil pin back to the power supply Negative. The relay did not click.

Earlier today I had gone shopping and picked up a NTE brand reed relay (R56-7D.5-12) which I knew from past experiments the Arduino could drive.

I hooked the reed relay coil connections between Pin 13 and GND, and the contact connections in-line with 12v supply and the standalone relays coil. Powering up the Arduino caused the standalone relay to click when the onboard LED on the Uno lit up.

I then connected a separate power source and light to the output connectors of the standalone relay, and the light turned on and off in sync with the UNO.

So, yes, you're right that when using a standalone relay one needs to use something in between it and the Arduino, because the Arduino does not provide enough current to energize the relay. But in the case of a relay module, nothing extra is needed.

Today's experiment also proves my assertion that an UNO can be powered directly from the same 12 v source that energizes the relay, without stepping it down to 5 v.

Link to comment
Share on other sites

 Share


×
×
  • Create New...