30A Relay HAT

0x20

I/O board which offers an impressive 30A switching capability. Ideally suited to switching of household appliances, industrial machinery or automotive applications.

Features

  • 2 opto-isolated SPDT power relays
  • Up to 30A / 15A @ 250V AC (NO / NC)
  • 2oz copper PCB ensures maximum current flow
  • Based on the MCP23008 8-port GPIO expander
  • Jumper selectable I2C address & GPIO voltage (3.3V / 5V)
  • Can be used with 3.3V or 5V I2C host devices (eg, Arduino)
  • Built-in user programmable ID EEPROM

Details

30A Relay HAT

  • Physical pin
  • WiringPi pin
  • Currently ,
Toggle Output All On All Off

WiringPi Guide

Read

gpio -x mcp23008:100:0x20 read 108

Write

gpio -x mcp23008:100:0x20 mode 108 out
gpio -x mcp23008:100:0x20 write 108 1
  • Operating voltage: - 1.8V to 5.5V
  • Maximum current into VDD pin: 125mA
  • Maximum current out of VSS pin: 150mA

Address Selection

Address A2 A1 A0
0x20
0x21
0x22
0x23
0x24
0x25
0x26
0x27

GPIO Voltage

The 3V3 Jumper is used to drive the GPIO expander voltage to 3V3.

To use with Arduino or any other 5V device the 3V3 jumper must be moved to 5V.

GPIO Voltage

The 5V Jumper is used to drive the GPIO expander voltage to 5V.

Select this jumper to use with Arduino or any other 5V device and use the SDA & SDL breakout pins for I2C communication.