Install RPi relay board

From xPL
Revision as of 16:29, 30 March 2017 by Fcorthay (Talk | contribs)

Jump to: navigation, search

The Waveshare RPi Relay Board houses 3 relays controlled by Raspberry Pi General-Purpose Input/Outputs (GPIOs).

They can be controlled by:

WiringPi

Ckeck the download link.

Install the library:

su
cd /tmp/
wget http://www.waveshare.com/w/upload/f/f3/WiringPi.tar.gz
tar -xvzf WiringPi.tar.gz
cd wiringPi/
chmod 777 build
./build

Check the installation:

gpio -v