background image

For Raspberry Pi® - Getting started 

 
Have complete control of your electronic environment and all your 

devices. Relay+ gives you the control over as many circuits as you need. It couldn’t be easier to 
take advantage of the Raspberry Pi® with Relay+ to control your projects over the Internet. 

Product highlights 

Typical applications: 

● Robotics 
● Motor control 
● Home automation 

Features: 

● 4 onboard relays 
● 4 indicator LEDs 
● One command install of easy to program software libaries 
● Easy connection with screw terminals 
● PiFace EXTRA expansion port compatible with: 

○ PiFace™ Relay EXTRA - for more relay 
○ PiFace™ Motor EXTRA - for H-bridge motor control 

● Provides protection to your Raspberry Pi® from damage 
● Raspberry Pi® HAT footprint 
● Onboard EEPROM ready for HAT ID 
● 3 address jumpers to allow stacking of up to 8 boards 
● Jumper to select standalone, or connection to Raspberry Pi®’s power supply 
● Easy to add switches/inputs with GPIOs 

Technical specifications: 

● 4 changeover relays, 20V 1A switching max 
● PiFace EXTRA expansion port with 4 outputs and 4 GPIOs 
● Additional 4 GPIOs with switchable pullups 
● Operating Temp -40° to 70° 

 
PiFace™ Relay+ is a highly expandable interface board for Raspberry Pi® with easy to connect 
screw terminals. A range of pick and mix EXTRA boards allow you to further expand the 
capabilities. If you need more connectivity, up to eight PiFace™ Relay+ boards can be stacked 
on a single Raspberry Pi®. As PiFace™ Relay+ is HAT compatible, the stack fits perfectly on the 
Raspberry Pi® A+ and B+ models. 

 

Before using PiFace™ Relay+ or any PiFace™ EXTRA board always read the instructions 
and follow precautions carefully. 

 

Summary of Contents for Relay+

Page 1: ... footprint Onboard EEPROM ready for HAT ID 3 address jumpers to allow stacking of up to 8 boards Jumper to select standalone or connection to Raspberry Pi s power supply Easy to add switches inputs with GPIOs Technical specifications 4 changeover relays 20V 1A switching max PiFace EXTRA expansion port with 4 outputs and 4 GPIOs Additional 4 GPIOs with switchable pullups Operating Temp 40 to 70 PiF...

Page 2: ...ram Mounting PiFace Relay on the Raspberry Pi To stop the PiFace Relay board from wobbling use the plastic spacer provided Fit it in the mounting hole that is circled in the diagram above When attaching a PiFace EXTRA board use the plastic spacer provided with it in the board s only mounting hole also circled above When fitting the PiFace Relay on the Raspberry Pi ensure any spacers are properly l...

Page 3: ...Tour of hardware ...

Page 4: ...contact NC and CO contacts will be electrically connected until the relay is activated at which point CO changes over to connect to NO Max switching values 1A 20V LED indication Each relay is paired with a red LED next to it to provide visual indication of operation GPIO I O port PiFace Relay has 4 general purpose input output GPIO pins These are made available through 0 1 pin headers in a 2 by 6 ...

Page 5: ...wer supply taken from the Raspberry Pi s 5V power rail Check the power jumper section for more information Jumper settings Address jumpers PiFace Relay has three address jumpers JP1 3 to individually identify each board when stacked With three jumpers you can address up to eight boards By default a single board should have the address 000 This address is set by connecting pins 1 and 2 each of JP1 ...

Page 6: ...ed the Raspberry Pi and Relay boards will share a single power supply Disconnected they will each need to be powered separately Never have separate power supplies for both the Raspberry Pi and Relay when the jumper is connected EEPROM jumper The EEPROM on Relay allows the device to be detected and for automatic software configuration in accordance with the Raspberry Pi s HAT specification The Rasp...

Page 7: ...pifacerelayplus examples blink py This test will toggle one of the relays on and off you should hear it click and see the corresponding LED flash Writing an example Python program This example will walk you through how to write a Python program for PiFace Relay to turn a relay on and off To write your program open a Terminal window on your Raspberry Pi and type nano relayonof f py to create the pr...

Page 8: ...PiFace Relay and PiFace EXTRA boards are powered by a suitably rated power supply that complies with the relevant regulations and standards applicable to the country of intended use Compliance information This PiFace board complies with the relevant provision of the RoHS Directive for the European Union In common with all Electronic and Electrical Equipment this PiFace board should not be disposed...

Page 9: ...interference received including interference that may cause undesired operation For more information or ideas and projects visit http www piface org uk PiFace is designed in the UK by OpenLX SP Ltd Registered Office 145 157 St John Street London EC1V 4PW PiFace is distributed by Premier Farnell UK 150 Armley Road Leeds LS12 2QQ UK Manufactured in the UK Documentation Revision 1 0 November 2014 PiF...

Reviews: