Explore Top Full-Size RGB Keyboards, Compact Mechanical Keyboards, and Wireless Gaming Mice - Your Ultimate Guide to Gaming Gear
Explore Top Full-Size RGB Keyboards, Compact Mechanical Keyboards, and Wireless Gaming Mice - Your Ultimate Guide to Gaming Gear Explore Top Full-Size RGB Keyboards, Compact Mechanical Keyboards, and Wireless Gaming Mice - Your Ultimate Guide to Gaming Gear
Cart(0)
Home Lighting Mouse Status LEDs
Product Details

The perfect add-on for your project when you have to control large number of loads. Stackable to 8 layers, the card can add up to 64 relays to each Raspberry Pi in a compact form factor - now with a !

Pluggable connectors make the Eight Relays card easy to use when multiple cards are stacked up. All relays have NO and NC contacts and can switch 120VAC/4A or 24VDC/4A.

Status LEDs conveniently grouped on one side of the board show when relays are on or off. A power LED shows when power is applied. A reset switch permits shutting down the Raspberry Pi without the use of a keyboard and monitor.

Features

  • Status LEDs and NO/NC contacts
  • Eight layer stackable to 64 relays
  • Pluggable Connectors 26-16 AWG wires
  • 120VAC/4A or 24VDC/4A on each contact
  • RS485 Port
  • General purpose push-button
  • LED indicators on each relay
  • Software self-test
  • Uses only I2C port (address 0x20..0x27 or 0x38..0x3f ), all GPIO pins available
  • Works with any Raspberry Pi from  ZERO to 5
  • ECCN Code EAR99

Compatibility

The Eight Relays card is compatible with all Raspberry Pi versions from Zero to 5. All stacked cards share the I2C bus using only two of the Raspberry Pi’s GPIO pins to manage all eight cards.  This feature leaves the remaining 24 GPIOs available for the user.

Power Requirements

The Eight Relays card needs 5V to operate and can be powered from Raspberry Pi or from it's own 2 pin pluggable connector.

The relay coils are also powered from the 5V.  The card draws 10mA with all relays off. Each relay needs about 80 mA to turn on. If power is applied to the board's connector, no other power supply is needed for the Raspberry Pi.

Stacking Multiple Cards

Up to eight cards can be stacked on your Raspberry Pi. Three positions of the configuration DIP Switch labeled ID0, ID1, ID2 are used to select the stack level. Cards can be stacked in any order.

Reset Pushbutton

Shutting down the Raspberry Pi by turning off the power can result in SD Card failure. To prevent this, a shutdown command needs to be used before power cut-off. But this requires a monitor, keyboard and mouse connected to the Pi.

A momentary on push button installed at the edge of the board provides a convenient way to shut down the Raspberry Pi. The button is routed to pin 37 (GPIO 26). You need to write a script which monitors this pin, and if pressed for more than a desired time, issues the shut-down command.

Electrical Specifications

  • Power Supply: 5V/8A pluggable connector
  • On board resettable fuse: 5A
  • Relays: NO/NC contacts, 4A/120 VAC - 24 VDC
  • Electrical endurance: minim 105 cycles at 1,800 operations per hour, full load
  • Mechanical endurance: minim 107 cycles at 18,000 operations per hour, no load

Resources

Quick Start

  • Plug your card on top of your Raspberry Pi and power up the system.
  • Enable I2C communication on Raspberry Pi using raspi-config.
  • Install the 8-RELAYS software from github.com:

~$ git clone
~$ cd /home/pi/8relind-rpi
~/8relind-rpi$ sudo make install
~/8relind-rpi$ 8relind

The program will respond with a list of available commands.

Software

You can write your own application using the  or  provided. No programming is required if you use the  we supply.

You can drag-and-drop the functional blocks to design your application. Examples are provided at GitHub.
 

Relay Self-Test

The card can be tested before installation by running a simple command from the command line. The card will cycle each relay on and off at 0.5 seconds interval.

The clacking noise of the relays and the lighting of the LEDs will assure that all relays are functioning.

Accessories

card can be installed parallel on a DIN-Rail using the , or perpendicular using the .

Package Contents

  • 1x 8 Relays HAt
  • 11x Connector plugs
  • 1x Mounting hardware pack
    • Four M2.5x18mm male-female brass standoffs
    • Four M2.5x5mm brass screws
    • Four M2.5 brass nuts

Revision History

  • As of 27/02/2025 we are now stocking version 6.0
8 Relays 4A/120V 8-Layer Stackable HAT for Raspberry Pi (v6.0)
  • DefaultTitle

$ 0.00

$ 42.80

Please select combo product attributes
The combo subtotal is $,SAVE$
Unavailable
You May Also Like
Cart
Explore Top Full-Size RGB Keyboards, Compact Mechanical Keyboards, and Wireless Gaming Mice - Your Ultimate Guide to Gaming Gear
Your cart is currently empty.