Industrial Automation 8-Layer Stackable HAT for Raspberry Pi
It is an Ideal start for complex Industrial Automation Projects. Read four sensors with optically isolated, 12-bit 4-20mA inputs, and control four actuators using 4-20mA outputs. Read four sensors with 16-bit 0-10V or ±10V inputs, and control four actuators with 14-bit PWM 0-10V outputs. Software selects analog inputs for 0-10V or ±10V (no jumpers or DIP switches). Drive four heavy-duty 24VDC/4A loads with MOSFET outputs.
- Read four optically isolated digital inputs, 0-24V.
- Program four LEDs to display the state of any digital or analog input or output.
- Keep time indefinitely even during a power failure using the Real-Time Clock with battery backup.
- Activate the hardware watchdog to monitor and power cycle the industrial Raspberry Pi in case of software lockup.
- TVS diodes on all inputs protect the card from external ESD.
- Onboard resettable fuse protects it from accidental shorts.
Driving Additional Loads:Â Adding one or more 4-RELAYS HATs can drive heavy loads of up to 8A and 250VAC. Adding one or more 8-MOSFETS cards can drive high DC loads of up to 10A and 250V, with fast response time and unlimited endurance.
Communication:Â Connect the card to other Automation systems using RS485/Modbus and 1-Wire communication ports. The RS485 can be driven either from the local processor through I2C commands or directly from the Raspberry Pi using the dedicated pins on the GPIO connector, which are routed on the Industrial board to the RS485 driver.
NEW: 1-Wire Interface Read DS18B20 Temperature sensor using the 1-Wire Interface
Compatibility: The Industrial Raspberry Pi Automation Cards share the I2C bus using only two Raspberry Pi GPIO pins to manage all eight cards. This feature leaves the remaining 24 GPIOs available for the user. It is compatible with all Raspberry Pi versions from Zero to 5 and has all the necessary I/Os for your Industrial Automation projects.
Power Requirements:Â The card needs an external 12 to 30VDC power supply and must be powered from its pluggable connector. It supplies 5V and 3A to the Raspberry Pi on the GPIO bus. A local 3.3V regulator powers the rest of the circuitry. The card needs 50mA to operate.
Pluggable Connectors:Â All the IOs are connected to heavy-duty (8A), 3.5mm pitch pluggable connectors, which make field wiring very convenient for installation and debugging.
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.
Card Layout
Electrical Specifications
- Power supply: 3.5mm Pluggable Connector, 12-30VDC/1A
- Power consumption: 50mA @ 24V
- On board resettable fuse: 2.5A
- 0-10V Inputs:
- Maximum Input Voltage: 12V
- Input Impedance: 20KΩ
- Resolution: 16 bits
- Sample rate: 250Hz
- Full scale linearity: 0.15%
- 0-10V Outputs:
- Minimum Output Load: 1KΩ
- Resolution: 14 bits
- Full scale linearity: 0.1%
- 4-20mA Inputs:
- Sample rate: 675 Hz.
- Input impedance: 150Ω
- Resolution: 12 bits
- 4-20mA Outputs:
- Resistive load: Maximum 1 KΩ @ 24V external voltage
- Maximum external voltage: 24V
- Resolution: 14 bits
- Open Drain Outputs:
- Maximum Output Current: 4A
- Maximum Output Voltage: 24V
Mechanical Specifications
4-20mA Current Loops
Since 4-20mA current loops are optically isolated from the system ground, they can be used with isolated or non-isolated 2, 3, or 4-wire transmitters. You must provide an external power supply (up to 24VDC) in all cases.
In the following diagrams, we used the following notation:
1: External 4-20mA Transmitter
2: Industrial Automation Card
3: External Power Supply
4: External 4-20mA Receiver
Typical configuration of the input loops:
Case 1: Two-wire transmitter, shared ground.
Case 2: Three-wire transmitter, shared ground.
Case 3: Four-wire transmitter, isolated ground. Open-drain MOSFETs drive the 4-20mA outputs with a common ground. Connect your 4-20mA receiver as shown in the following diagram.
Features
- Wide range 12-30V power supply provides also 5V/5A to Raspberry Pi
- Four Optically Isolated Digital Inputs with status LEDs
- Four 0-10V or ±10V 16 bit Analog Inputs, 250Hz sample rate
- Four Optically Isolated 4-20mA 12 bit Inputs, 1KHz sample rate
- Four Optically Isolated Open Drain Outputs, 24V/4A peak
- Four 0-10V 14-bit Analog Outputs
- Four 4-20mA 14-bit Analog Outputs with load interruption detection
- Four General Purpose software-controlled LEDs
- TVS Protection on all Inputs for safeguarding industrial Raspberry Pi systems
- RS485 Port
- 1-Wire Interface
- Onboard Hardware Watchdog
- On Board Fuse
- Real Time Clock With CR2032 Battery Backup (battery not included)
- Pluggable Connectors 26-16 AWG wires
- Eight Level Stackable
- Uses only the I2C port, all GPIO pins available
- Works with any Raspberry Pi from ZERO to 5
- ECCN Code EAR99
- Command Line
- Python Library
- Node-Red nodes
- MODBUS interface
- CODESYS Driver
- OpenPLC module
- Home Assistant Integration
- Perfect for industrial Raspberry Pi projects and applications
- Industrial Automation 8-Layer Stackable HAT for Raspberry Pi
Industrial Automation Downloads
RoHS and REACH Compliance Declaration
Eight layer stackable, the Industrial Automation Card has four optically isolated digital inputs; four 0-10V or ±10V analog inputs, four optically isolated 4-20mA inputs, four optically isolated PWM open drain outputs driving 24V/4A loads, four 0-10V analog outputs, four 4-20mA outputs with load interruption detection, four general purpose LEDs, TVS protection on all inputs, RS485 Port, 1-Wire interface, hardware watchdog, real time clock with battery backup. Pluggable connectors permit convenient field installation and maintenance.
The Industrial Automation Card can be stacked up to eight layers and mixed and matched with up to eight cards from the Industrial Automation family, including RTD data acquisition, cards with three to 16 relays able to switch up to 40A and 240V, inputs reading from 3V to 240V AC or DC signals, up to two stackable fans for cooling, thermistors and thermocouple inputs, and more.
Program four LEDs to display the state of any digital or analog input or output.
Using the real-time clock with battery backup, keep time indefinitely even during a power failure. Activate the hardware watchdog to monitor and power cycle the industrial Raspberry Pi in case of software lockup. TVS diodes on all inputs protect the card from external ESD, and an onboard resettable fuse protects it from accidental shorts.
Adding one or more 4-RELAYS cards can drive heavy loads of up to 8A and 250VAC. Adding one or more 8-MOSFET cards can drive high DC loads of up to 10A and 250V, with fast response time and unlimited endurance.
Software
Software Interfaces
You can write your control system in C, C++, PERL, or the language of your choice using the Command Line system or Python Drivers. You can also implement everything in Node-Red and display it in the browser using the Node-Red node.
Field Calibration
All the analog inputs and outputs are calibrated at the factory, but firmware commands permit the user to recalibrate the board or to calibrate it to better precision. All inputs and outputs are calibrated at two points; select the two points as close as possible to the two ends of the scale. To calibrate the inputs, you must provide analog signals. (Example: to calibrate 4-20mA inputs, you must provide a 4mA and 20mA current source.) To calibrate the outputs, you must issue a command to set the output to a desired value, measure the result, and issue the calibration command to store the value.
Watchdog
The card contains a built-in hardware watchdog that guarantees your mission-critical project will recover and continue running even if the Raspberry Pi software hangs up. After powering up, the watchdog is disabled and becomes active after it receives the first reset.
The default timeout is 120 seconds. Once activated, if the Raspberry Pi does not receive a subsequent reset within 2 minutes, the watchdog cuts the power and restores it after 10 seconds.
Raspberry Pi must issue a reset command on the I2C port before the watchdog timer 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. The online help function describes all the watchdog commands.
RS485/MODBUS Communication
The card contains a standard RS485 transceiver, which can be accessed by both the local processor and Raspberry Pi. Three bypass jumpers on the configuration connector J3 set the desired configuration.
If jumpers are installed, Raspberry Pi can communicate with any device with an RS485 interface, implementing any protocol it needs, such as Modbus, Profibus, PTZ control, etc. In this configuration, the card is a passive bridge that implements only the hardware levels required by the RS485 protocol. To use this configuration, you need to tell the local processor to release control of the RS485 bus:
~$ megaind [0] rs485wr 0 0 0 0 0
If jumpers are removed, the card operates as a MODBUS slave and implements the MODBUS RTU protocol. Any MODBUS master can access all the card’s inputs and set all the outputs using standard MODBUS commands. A detailed list of implemented commands can be found on GitHub.
In both configurations, the local processor must be instructed to release (jumpers installed) or control (jumpers removed) the RS485 signals. For further information, see the command line online help.
Firmware Update
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.
What is Included
When you purchase the card, you will receive the following items:
1. Industrial Automation Card for Raspberry Pi
2. Mounting Hardware
- Four M2.5x18mm male-female brass standoffs
- Four M2.5x5mm brass screws
- Four M2.5 brass nuts
3. Connector Plugs for all Inputs and Outputs
- Six 8-pin female mating connector plugs for IOs
- One 5-pin female mating connector plug for RS465 and 1-Wire ports.
- One 2-pin female mating connector plug for power.
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 software from github.com:
- ~$ git clone https://github.com/SequentMicrosystems/megaind-rpi.git
- ~$ cd /home/pi/megaind-rpi
- ~/megaind-rpi$ sudo make install
- ~/megaind-rpi$ megaind
The program will respond with a list of available commands.
Reviews
There are no reviews yet.