3

I am working with relays and I noticed that connecting the trigger pin to ground (or a digital pin set to LOW) is not the same as having the trigger connected to anything. For the digital output pins, how is LOW different than no connection? Is there actually a current flowing into the LOW pin, or is there a tiny current flowing into the relay?

Is Ground and LOW the same voltage?

Hoytman
  • 747
  • 5
  • 13
  • 27

2 Answers2

3

(Edit for clarification: I've assumed in this answer that you're asking about the difference between connecting the relay to ground/LOW vs. connecting the relay to nothing at all. I've also assumed by the word "trigger" that your relay has some kind of digital actuation built-in, such as a transistor, or that it's simply a Solid State Relay.)

If something is unconnected, it is described as 'floating'. This means there could be random voltage spikes in it caused by nearby electromagnetic fields, making it appear to be switching on/off.

Connecting something to ground or LOW can stop this from happening by drawing away any induced currents.

Peter Bloomfield
  • 10,982
  • 9
  • 48
  • 87
0

Ground and LOW are very, very close in voltage. They are the same when no current is being sunk into the output (LOW sinks current from higher voltages, HIGH sources current to lower voltages), but the voltage rises as the current does (the output has a resistance of about 25ohm).

Ignacio Vazquez-Abrams
  • 17,733
  • 1
  • 28
  • 32