User Manual

Website
English: Waveshare website
Chinese: 官方中文站点
Onboard Interfaces
RPi
RPi Relay Board
Raspberry Pi Expansion Board, Power Relay
Primary Attribute
Category: Expansions, Raspberry Pi
Brand: Waveshare
RPi Relay Board
From Waveshare Wiki
Contents
1 Introduction
2 Interface description
3 Sample programs
3.1 Development environment
3.2 Operations and results
3.2.1 Shell program
3.2.2 Bcm2835 program
3.2.3 wiringPi program
3.2.4 Python program
3.2.5 Webiopi program
4 Resources
5 Support
Introduction
Raspberry Pi Expansion Board, Power Relay
Interface description
Correspondence between relay channel and RPi Pin
Channel No. RPi Pin No. wiringPi BCM Descriptions
CH1 37 P25 26 Channel 1
CH2 38 P28 20 Channel 2
CH3 40 P29 21 Channel 3
Notices: The labels on the PCB are corresponding to the wiringPi code.
Relay_JMP ﴾6P jumpeer﴿ usage:
Relay_JMP is the relay control pin selecting jumper. When this jumper is connected, the relay can be
controlled by the Raspberry Pi.
Relay screw terminal description:
This board integrates three screw terminals, and each has three pins for connecting external circuits.
All the terminals are low active. When the Raspberry Pi outputs Low Level from its IO, the LED related to

Summary of content (7 pages)