2

This is a newbie on using the GPIO on the Raspberry Pi. I also did some search and reading about using the GPIO, but I am confused

What I'm going to do is to attach an 8 relay to the RPI.

This is the relay i have.

There is a link on the site for more info but it only relates to the relay.

I went for this relay after seeing this video on youtube .

Do I need some sort of buffer in-between the RPI and the relay board or can I use pin 2 and 6 on a Raspberry pi V2 to power the relay board or both?

newbie
  • 21
  • 1

2 Answers2

1

From the terrible schematic, it appears the signals are passed into opto-isolators and then onto ULN2803's to drive the relays.

The RPi will most likely not be able to drive the opto-isolators effectively. You could use an MCP23017 to drive the opto-isolators. This has the advantage of only using 2 GPIO's to controll the 16 outputs

Here is an example of how to use the MCP23017 with the RPi

John La Rooy
  • 12,005
  • 9
  • 48
  • 77
1

No, your stock Raspberry PI will not be able to operate this relay board.

The Raspberry PI uses 3.3v for its GPIO pins. The relay board that you have selected needs more voltage to switch the relay. From the link you have provided it looks like these relays require 5v to operate. You will need a lever shifter to be able to use these relays with the Raspberry PI