- Eight relays with status LEDs and pluggable connectors
- Eight layer stackable
- Eight 12-bit A/D inputs
- Four 12-bit DAC outputs (0-10V dimmers) or
- Four open-drain outputs (30V/5.7A MOSFETs)
- Eight optically isolated digital inputs
- 30 GPIOs (26 GPIOs from Raspberry Pi + 4 new)
- Pluggable Connectors 30-16 AWG wires
- On-board hardware watchdog
- On-board resettable fuse
- 32-bit Processor running at 48MHz
- Command line
- Python Library
- Node-Red Nodes
- Domoticz Plugin
- OpenPLC example integration
- Firmware Update
- All mounting hardware included: stand-offs, screws and nuts
- Hardware self-test with included loop-back card
- Open source hardware and schematics
HOME AUTOMATION HAT for Raspberry Pi
Ideal Solution for your HOME AUTOMATION projects. Read temperatures in up to 8 zones with analog inputs. Control your heating and cooling system with the 8 on-board relays. Add another 8-RELAYS to control your sprinklers, or 4-RELAYS to control high voltage appliances. Use the 8 optically isolated digital inputs for your security system. Activate the hardware watchdog to monitor and power cycle the Raspberry Pi in case of software lockup. Control four light systems with the four PWM open drain outputs (you supply external power up to 24V). Control four light dimmers using 0-10V outputs (you supply external 12V power)
The card is compatible with all Raspberry Pi versions from Zero to 4. It shares 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 REQUIREMENTSThe Home Automation card needs 5V to operate and can be powered from Raspberry Pi or from it's own 2.1mm barrel connector. The tip is +5V and the ring is ground. The on-board relay coils are also powered from the 5V. A local 3.3V regulator powers the rest of the circuitry. The card needs 50mA to operate with all relays off. Each relay needs up to 80 mA to turn on.
The 8 on-board relays have contacts brought out to heavy duty (8A) pluggable connectors, which make the card easy to use when multiple cards are stacked up. Four relays with Normal Open contacts can switch up to 8A/48VAC or 8A/24VDC. The other four relays with Normal Open and Normal Close contacts and can switch 4A/120VAC or 4A/24VDC. Status LEDs show when RELAYS are ON or OFF.
STACKING MULTIPLE CARDS
Up to eight Home Automation cards can be stacked on your Raspberry Pi. Each card is identified by jumpers you install to indicate the level in the stack. Cards can be installed in any order. The three position jumper on the upper right corner of the card selects the stack level.
For your convenience, two jumpers are provided with each card.
- Power supply: 2.1mm Barrel Connector, 5V/3A
- Power consumption: 50mA (all relays off), 700mA (all relays on)
- On board resettable fuse: 3A
- Open Drain outputs: maximum 3A, 24V
- Relays 1,2,7,8: NO/NC, 4A/120VAC or 4A/24VDC.
- Relays 3,4,5,6: 8A/48VAC or 8A/24VDC
- Analog Inputs:
- Maximum input voltage: 3V
- Input Impedance: 50 KΩ
- Resolution: 12 bits
- Sample rate: 250 samples/sec.
- DAC Outputs:
- Resistive load: Minimum 1 KΩ
- Accuracy: ±1%
- Opto-isolated Digital Inputs:
- Input Forward Current: Typical 5 mA, maximum 50 mA
- Input Series Resistor: 1K
- Input Reverse Voltage: 5V
- Input Forward Voltage: 25V @ 10 mA
- Isolation Resistance: Minimum 1012 Ω
A 3D model for an enclosure is available in the DOWNLOADS section. The enclosure consists of 3 to 5 parts.
2D CAD drawing
You can write your own application using the Command Line or Python Libraries provided. No programming is required if you use the Node-Red nodes we supply. You can drag-and-drop the functional blocks to design your application. Examples are provided at GitHub.
SELF TESTThe Home Automation comes with a self test card which loops all the outputs to inputs. Running "ioplus <stack> iotst" command assures you that the card is fully operational. This is very handy when things go wrong, and you do not know if the culprit is the card, the software, a sensor or an actuator.
The relays can also be tested with a command from the command line system (ioplus <stack> reltest) which cycles all relays on and off in sequence. The clacking noise of the relays and the lighting of the relay LEDs will assure that all relays are functioning.
The analog inputs and outputs are calibrated from the factory with 1% precision. Field calibration up to 0.1% can be obtained using a precision voltage meter. Click HERE for calibration instructions.
The card firmware can be updated in the field by running a command. The update is made with the latest firmware version located on our servers. More instructions about the process can be found on GitHub. Please make sure there is no process, like Node-Red or python scripts, that tries to access the card during the update process.
The Home Automation card contains a built-in hardware watchdog which will guarantee that your mission-critical project will recover and continue running even if Raspberry Pi software hangs up. After power up the watchdog is disabled, and becomes active after it receives the first reset.
The default timeout is 120 seconds. Once activated, if it does not receive a subsequent reset from Raspberry Pi within 2 minutes, the watchdog cuts the power and restores it after 10 seconds.
Raspberry Pi needs to issue a reset command on the I2C port before the timer on the watchdog expires. The timer period after power up and the active timer period can be set from the command line. The number of resets is stored in flash and can be accessed or cleared from the command line. All the watchdog commands are described by the online help function.
The Smart Fan provides a stackable cooling solution for Raspberry Pi. Its on-board processor powers the fan just enough to maintain the preset temperature of the Pi.
Break-out boards provide a convenient and robust way of accessing the IO pins. For screw-mount wiring you can use the Break-Out Kit Type 1. The Break-Out Kit Type 2 provides wiring with pluggable connectors.
When you purchase the Home Automation Card you will receive the following items:
1. Home Automation Stackable Card for Raspberry Pi with Self-test card
2. Mounting hardware
- Four M2.5x18mm male-female brass standoffs
- Four M2.5x5mm brass screws
- Four M2.5 brass nuts
3. Two stack level jumpers
4. All required connector plugs
- 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 software from github.com:
- ~$ git clone https://github.com/SequentMicrosystems/ioplus-rpi.git
- ~$ cd /home/pi/ioplus-rpi
- ~/ioplus-rpi$ sudo make install
- ~/ioplus-rpi$ ioplus
The program will respond with a list of available commands.