So straight to the problem

I need to connect My RPi's GPIO to a (or some) relay(s) that consume around 30 - 60 Amps to fire up and RPi GPIO only give around 16 mA/Pin(Accroding to this).

My question is,what is the safest and best way to connect the GPIO to a relay with 60A of input ?


P.S. : I dont know (almost) anything about electricity and english is not my native language.So i'm sorry if there are any mistakes around here

  • 2
    You must be mistaken. A relays control circuit taking 30 Amps sound terribly wrong.
    – Ghanima
    Commented Sep 18, 2014 at 6:30
  • 30 Amps consumption for a relay? Please review that.
    – Kangkan
    Commented Sep 18, 2014 at 7:24
  • Yeah i kinda choked on my tea when i read this, check your power consumption, because anything higher than even .5ma pull i use and external plugpack.
    – Pariah
    Commented Sep 19, 2014 at 2:45
  • Reviewed,and @Pariah sorry for your tea Commented Sep 19, 2014 at 4:18
  • By any chance what is the application for? Because there is no way a raspberry pi will ever output more than 15-50mA on any one pin at any given time, in saying that look up a digitally controlled relay, H-bridge or a irf640-Irfz44 (mosfet) for controlling a switch of any sort.
    – Pariah
    Commented Sep 19, 2014 at 4:24

1 Answer 1


Add a transistor to your rpi and the relay to the transistor. This should work.

In case you don't know as much as me - watch this: https://www.youtube.com/watch?v=-td7YT-Pums then you do.

If you could supply some numbers of the parts you are using, we can throw together a drawing for you. But right now it would just be a search in the dark.

  • A diagram and a little more detail would improve your answer and help others who may not know as much as you do. Commented Sep 18, 2014 at 8:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.