Skip to main content

Worldwide Shipping · Secure Payments

AI Summary

This 8-channel relay board lets your Raspberry Pi switch high-voltage devices safely with photocoupling isolation. It includes eight SPDT relays rated 5A 250V AC / 5A 30V DC and a jumper for custom GPIO pin control.

Key Highlights

  • Eight SPDT relays rated up to 5A 250V AC or 5A 30V DC
  • Photocoupling isolation prevents high-voltage interference
  • Standard 40-pin GPIO header for Raspberry Pi boards
  • Jumper allows custom relay control pin selection
  • Onboard LEDs indicate each relay's status
  • Rail-mount bottom case for easy installation

Ideal For

  • Raspberry Pi enthusiasts building home automation systems
  • Engineers prototyping industrial control panels
  • Makers automating workshop equipment
  • Students learning about relays and isolation
  • Developers integrating Pi with PLCs

Buying Tip

Check that your Raspberry Pi model has a 40-pin GPIO header and that your load current does not exceed 5A per relay.

Elecvora expert review

Our verdict

The Waveshare 8-Channel Relay Expansion Board is a solid choice for Raspberry Pi users who need to control multiple high-power devices safely. Its photocoupling isolation and custom pin selection add flexibility, while the rail-mount case simplifies installation.

AI-assisted analysis based on the manufacturer's specifications. Not a hands-on lab test.

Pros

  • Eight relays with high load capacity
  • Photocoupling isolation protects the Pi
  • Custom pin selection via jumper
  • Rail-mount case included
  • Comprehensive development resources

Cons

  • Requires separate power supply for loads
  • No screw terminals for relay connections (soldering may be needed)
  • Limited to 5A per relay, not suitable for very high-power devices

Best for

Raspberry Pi projects needing multi-channel relay control with isolation

Not ideal for

Applications requiring more than 5A per channel or wireless control

Specifications

Item TypeOther Board
Board TypeExpansion Board
Model No. / NameRelay board
Relay Channels8
Power Supply Voltage (V)3.3 to 5
Dimensions (L x W x H) mm232 × 72 (mm)
Contact FormSPDT-NO,NC

What's in the box

  • 1 x Raspberry Pi 8-ch Relay Expansion Board

Frequently Asked Questions

Which Raspberry Pi models are compatible?
The board works with any Raspberry Pi that has a standard 40-pin GPIO header, including A+, B+, 2B, 3B, and 3B+. It also supports Jetson Nano.
Can I control the relays with different GPIO pins?
Yes, the onboard jumper lets you select custom GPIO pins for relay control, so you can avoid conflicts with other hardware.
What is the maximum load for each relay?
Each relay can handle up to 5A at 250V AC or 5A at 30V DC.
Does the board require an external power supply?
The board itself is powered from the Raspberry Pi's 3.3V or 5V supply. However, the devices you are switching will need their own power source.
What is included in the package?
The package includes one Raspberry Pi 8-ch Relay Expansion Board. The rail-mount bottom case is part of the board.
Are software examples provided?
Yes, development resources include examples in wiringPi, bcm2835, Python, Python-bottle, and crontab.

Overview

The Waveshare Raspberry Pi 8-Channel Relay Expansion Board is a HAT designed to let your Raspberry Pi control high-power electrical devices. It provides eight SPDT relays capable of switching loads up to 5A at 250V AC or 5A at 30V DC, making it suitable for mains-powered appliances, lighting, and low-voltage DC equipment. The board connects directly to the standard 40-pin GPIO header found on many Raspberry Pi models, and it includes photocoupling isolation to keep high-voltage transients away from your Pi. Whether you are building a home automation system or an industrial prototype, this board offers a safe and convenient way to interface your Pi with the physical world.

Key Features

  • Eight SPDT relays: Each relay has normally-open (NO) and normally-closed (NC) contacts, giving you flexibility in wiring.
  • High load capacity: Relays are rated for 5A at 250V AC or 5A at 30V DC, enough for many household and workshop devices.
  • Photocoupling isolation: Optical isolation prevents electrical noise and voltage spikes from the relay side from affecting your Raspberry Pi.
  • GPIO pin selection jumper: Allows you to choose which GPIO pins control the relays, so you can avoid conflicts with other HATs or sensors.
  • Status LEDs: Each relay has an onboard LED that lights up when the relay is active, simplifying troubleshooting.
  • Rail-mount case: The included bottom case features a standard rail-mount design for easy installation in control cabinets.
  • Reserved control interface: A dedicated header lets you connect external controllers such as PLCs for advanced integration.

Specifications Explained

The board operates from a power supply voltage of 3.3V to 5V, which is provided directly by the Raspberry Pi's GPIO header. The relay contacts are SPDT (single-pole double-throw), meaning each relay has a common terminal, a normally-open terminal, and a normally-closed terminal. This configuration allows you to wire loads that should be either energized or de-energized by default. The 5A rating at 250V AC is suitable for many household appliances, while the 5A rating at 30V DC covers common low-voltage devices. The board dimensions are 232mm by 72mm, and it is designed to mount securely with the included rail-mount case.

Compatibility and Requirements

The board is compatible with Raspberry Pi models that have a standard 40-pin GPIO header, including the A+, B+, 2B, 3B, and 3B+. It also supports Jetson Nano. No additional power supply is required for the relay board itself, as it draws power from the Pi. However, you will need to provide the load power supply for the devices you are switching. The board comes with development resources, including example code in wiringPi, bcm2835, Python, Python-bottle (for web control), and crontab (for scheduled tasks).

Typical Uses

  • Home automation: control lights, fans, and other appliances via a web interface or schedule.
  • Industrial prototyping: switch motors, valves, or solenoids in test setups.
  • Smart agriculture: automate irrigation pumps or grow lights.
  • Educational projects: teach relay control and isolation principles.
  • PLC integration: use the reserved interface to connect with industrial controllers.

What's in the Box

1 x Raspberry Pi 8-ch Relay Expansion Board

Quick specs

Item Type
Other Board
Board Type
Expansion Board
Model No. / Name
Relay board
Relay Channels
8
Power Supply Voltage (V)
3.3 to 5
Dimensions (L x W x H) mm
232 × 72 (mm)
See all specifications