Smart Relays with Universal Inputs 8-Layer Stackable HAT for Raspberry Pi
The Smart Relays HAT is an ideal solution for mission-critical projects where you must be 100% sure your system works as expected. HALL effect sensors on relay outputs monitor the load current in real time. You can be sure that your loads operate within specified parameters, measure the load power, and limit the load current to any value from 1 to 10A.
- Four universal inputs can read temperatures from 10K thermistors, dry contact, or opto-isolated 0-24V signals.
- Stackable to 8 layers, the Smart Relays card can add up to 32 relays and 32 analog/digital inputs to each Raspberry Pi in a very compact form factor.
- Pluggable connectors make the card easy to use when multiple cards are stacked. All relays have Normal Open and Normal Close contacts and can switch to 10A/240VAC.
Compatibility:Â The Smart Relays card is compatible with all Raspberry Pi versions from Zero to 5. All stacked cards share the I2C bus using only two Raspberry Pi’s GPIO pins to manage all eight cards. This feature leaves the remaining 24 GPIOs available for the user.
Power Requirements:Â The card operates from a 5V or 10-24V power supply. In both cases, it provides 5V and up to 5A to the Raspberry Pi. The relay coils are also powered from the 5V. The card draws less than 50mA with all relays off. Each relay needs about 80 mA to turn on.
Stacking Multiple Cards:Â Up to eight cards can be stacked on your Raspberry Pi. The three positions of the configuration DIP Switch, labeled ID0, ID1, and ID2, 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. A shutdown command must be used before the power cut-off to prevent this. However, this requires a monitor, keyboard, and mouse connected to the Pi. A momentary pushbutton installed at the board’s edge provides a convenient way to shut down the Raspberry Pi. The local processor reads the button, which can be programmed to signal the Raspberry Pi by setting low pin 37 of the Raspberry Pi GPIO connector (GPIO26). You can also read the pushbutton status from the I2C interface. You must write a script that monitors this pin and issues the shutdown command if pressed for more than a desired time.
Card Layout
Electrical Specifications
- Power Supply: 5V/8A plugable connector with reverse polarity protection
- On board resettable fuse: 3A
- Opto-isolated Digital Inputs:
- Input Forward Current: Typical five mA, maximum 50 mA
- Low Voltage Input Series Resistor: 2.2K
- High Voltage Input Series Resistor: 120K
- Isolation Resistance: Minimum 1012 Ω
- Relays: NO/NC contacts, 8A/240 VAC-24 VDC
Mechanical Specifications
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 a 0.5-second interval. The clacking noise of the relays and the lighting of the LEDs will assure that all relays are functioning.
RS485/MODBUS port: A standard RS485 transceiver permits the Raspberry Pi to communicate using any protocol, including MODBUS, PROFIBUS, camera PTZ control, etc. The transceiver can be driven from the Raspberry Pi serial port or the local processor. Install the jumpers 485-TX and 485-RX on connector J3 to drive the port from the Raspberry Pi. Install the terminator jumper 485-TERM if the card is last on the RS485 chain.
Extended Functions Of The Input Ports
- Transition counters to 4kHz on all inputs
- Input counters with cumulative or PPS (pulse per second) reading up to 4kHz
- 2 x Quadrature encoder inputs reading up to 4000 PPS
- PWM inputs on each channel, reading both the fill factor and the frequency
- 1% resolution on PWM inputs up to 100Hz, 5% resolution up to 500Hz.
Features
- Four relays with HALL effect sensors on loads
- Switch and measure AC/DC currents up to 10A
- Monitor load failure, compute load power, and limit load current
- Four Analog inputs reading temperature from 10K thermistors, or
- Four Digital inputs reading dry contact or 24V opto-isolated signals
- Transition counters to 4kHz on all inputs
- Input counters with cumulative or PPS (pulse per second) reading up to 4kHz
- 2 x Quadrature encoder inputs reading up to 4000 PPS
- PWM inputs on each channel, reading both the fill factor and the frequency
- Enhanced 24V power supply delivering up to 5A at 5V to Raspberry Pi
- Switch loads of 10A and 250V on all four outputs
- Hardware watchdog power cycles the Pi on software lockup
- NO and NC contacts on all relays
- Status LEDs on inputs and outputs
- Switch loads of up to 10A and 240VAC/24VDC
- Eight-layer stackable to 32 relays and 32 inputs
- RS485/MODBUS port
- Raspberry Pi reset push button
- Pluggable Connectors 30-16 AWG wires
- Uses only I2C port (address 0x15..0x0e), all GPIO pins available
- Works with any Raspberry Pi from ZERO to 5
- ECCN Code EAR99
- Command Line
- Python Drivers
- Node-Red Nodes
- OpenPLC module
- Arduino Library
- HomeAssistant Integration
Smart Relays Downloads
User’s Guide
- Schematics V2.0
- Command Line
- Python Libraries
- Node-RED Nodes
- 3D STEP Model
- 3D Viewer
- 3D Printing Enclosure
- RoHS and REACH Compliance Declaration
Software
Software Interfaces:Â You can write your application using the Command Line or Python Libraries. No programming is required if you use the Node-Red nodes we supply. You can design your application by dragging and dropping the functional blocks. Examples are also provided.
What’s included: When you purchase the card, you will receive the following items:
Smart Relays with Universal Inputs card
Mounting hardware
- Four M2.5x18mm male-female brass standoffs
- Four M2.5x5mm brass screws
- Four M2.5 brass nuts
Mating connector plugs
Quick Start
- Plug your card into your Raspberry Pi and power up the system.
- Enable I2C communication on Raspberry Pi using raspi-config.
- Install the card software from github.com:
- ~$ git clone https://github.com/SequentMicrosystems/4rel4in-rpi.git
- ~$ cd /home/pi/4rel4in-rpi
- ~/4rel4in-rpi$ sudo make install
- ~/4rel4in-rpi$ 4rel4in
The program will respond with a list of available commands.
Reviews
There are no reviews yet.