Given that the PiFace is open collector, can anyone suggest how to make these outputs drive my relay board?
Its been a while since I did any electronics


If you want to drive 8 relays off the Pi... Then get a board designed for the Pi that will drive 8 relays! There are far too many ebay boards that are designed for 5v systems (e.g. Arduino) that I've seen people spend more money on making work with the Pi than if they'd just built their own from scratch!nickhills wrote:I would like to add a relay board which has 8x SPDT relays with a +5v trigger.
Given that the PiFace is open collector, can anyone suggest how to make these outputs drive my relay board?
Its been a while since I did any electronics

You're using a £20 interface board to drive a cheap relay board off ebay - rather than use a relay board designed to work directly on the Pi... That's great, but ...nickhills wrote:Hi guys,
I have mine too, and it works perfectly.
Triggers on Low, so can be interfaced directly with the PiFace outputs. - I'm using the additional power supply (remove the jumper, and send 5v on pins 1&3) instead of relying on the Pi-face.
I have a video i can post if anyone wants to see!
Can you put the video to see how you made connections?nickhills wrote:Hi guys,
I have mine too, and it works perfectly.
Triggers on Low, so can be interfaced directly with the PiFace outputs. - I'm using the additional power supply (remove the jumper, and send 5v on pins 1&3) instead of relying on the Pi-face.
I have a video i can post if anyone wants to see!
nickhills wrote:http://www.youtube.com/watch?v=-pIWRPbF3_Q
Hello,nickhills wrote:Right now I have two power supplies, but in the video they were running from the same PSU.
Power was supplied to the +5v and Gnd Connector on the PiFace (i don't use the micro USB at all)
and to pins GND & JDVCC of the jumper header - I removed the jumper completely. (the VCC pin is NOT connected)
On the 10 pin header, I connected VCC to the +5v PiFace output terminal (number 9 - the red striped side of my ribbon cable), and the INx pins to the PiFace outputs.
I do NOT connect GND on the 10 pin header to anything.
The reason for this, is that when the jumper is in place, you can use all 10 header pins to supply VCC and GND and 8 Inputs to the relay board. Since I want to completely isolate the two circuits, I use the separate VCC and GND Pins that the 3 pin header provides.
This means that the PI is optically isolated from both the +5V driving supply from the second PSU, and of course any larger loads you may wish to run though the relays.