Shop OBEX P1 Docs P2 Docs Learn Events
Negative (-) is it ok to do this — Parallax Forums

Negative (-) is it ok to do this

computer guycomputer guy Posts: 1,113
edited 2007-04-10 03:53 in General Discussion
Can someone tell me if it is alright to share a negative (-) terminal on 2 devices.
More specifically the power source to the relay (5v) and the propeller (i am using a Proto Board now).
Only the negative (-) terminal.

5v (+)
(+)
(-)
prop (-)
Relay (-)

Thank you smile.gif
1013 x 549 - 97K

Comments

  • Paul BakerPaul Baker Posts: 6,351
    edited 2007-04-10 03:31
    In general it is ok and in fact preferable, however with inductive loads such as a relay you need to be careful since inductive kickback can damage electronics. To be on the safe side you may want to use an optoisolator so that you can control the relay without having an electrical path between the two.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Paul Baker
    Propeller Applications Engineer

    Parallax, Inc.
  • computer guycomputer guy Posts: 1,113
    edited 2007-04-10 03:42
    So replace the transistor with an optoisolator.
    Is this what you are suggesting?

    Thank you smile.gif
  • Mike GreenMike Green Posts: 23,101
    edited 2007-04-10 03:53
    You could use an optoisolator, particularly since your power supplies are already separate, then you don't need a common ground. On the other hand, it is unlikely you would have any significant inductive kickback with a reed relay or other low power relay with the diode across the coil as you have it. If your supply already has a common ground, just leave it and use the transistor rather than an optoisolator. Be sure to put the diode physically close to the relay coil terminals and keep the switching transistor and relay power source relatively close to the relay.
Sign In or Register to comment.