I was wanting to use my Raspberry Pi 3 to turn on/off devices. I found this board which looks like it would do the job:


Would this work? Also curious how to connect that board to my GPIO port. I think I have an idea, but would like to be sure. There is:


So, would it connect as follows (based on the pinout I found here: http://blog.mcmelectronics.com/post/Raspberry-Pi-3-GPIO-Pin-Layout )

GND --> 9
IN1 --> 29
IN2 --> 31
IN3 --> 33
IN4 --> 35
VOC --> 2

Is this right?

Thanks in advance!

1 Answer 1


You should have no problem with this setup. Just remember it is good practice to have the pi switched off when making the connections and check twice that everything is hooked up correctly before switching on.

  • 2
    Thanks! I was curious about something else. I saw another comment on the Amazon comments for the relay board, and the person used ports 26,24,21,19, which are tagged as "SPI", instead of the "GPIO". Is that correct as well?
    – Jessica 6
    Apr 7, 2016 at 17:16
  • 2
    Yes that is correct. They can be used as normal GPIO pins when setup via Python scripts. Apr 7, 2016 at 17:19

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.