- Industrial Automation V3 8-Layer Stackable HAT for Raspberry Pi
- Wide range 10-30V power supply provides also 5V/3A to Raspberry Pi
- Four Optically Isolated Digital Inputs with status LEDs
- Four 0-10V or ±10V Analog Inputs, 1KHz sample rate
- Four Optically Isolated 4-20mA Inputs, 1KHz sample rate
- Four Optically Isolated Open Drain Outputs, 24V/4A peak
- Four 0-10V Analog Outputs
- Four 4-20mA Analog Outputs with load interruption detection
- Four General Purpose LEDs
- TVS Protection on all Inputs
- RS485 Port
- 1-Wire Interface
- On Board Hardware Watchdog
- On Board Resettable Fuse
- Real Time Clock With Battery Backup
- 32 bit processor running at 64MHz
- Pluggable Connectors 26-16 AWG wires
- Eight Level Stackable
- Industrial Automation Raspberry Pi
- Command Line
- Python Library
- Node-Red nodes
- MODBUS interface
- OpenPLC module
INDUSTRIAL AUTOMATION for RASPBERRY PI
Base 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 12-bit 0-10V inputs, and control four actuators with 16 bit PWM 0-10V outputs.
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 for external ESD.
Onboard resettable fuse protects it from accidental shorts.
DRIVING ADDITIONAL LOADSHeavy loads of up to 8A and 250VAC can be driven by adding one or more 4-RELAYS cards. High DC loads of up to 10A and 250V, with fast response time and unlimited endurance can be driven by adding one or more 8-MOSFET cards.
Connect the card to other Industrial 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.
The Industrial Raspberry Pi Automation 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. 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 REQUIREMENTSThe Industrial Automation card needs 24VDC to operate and has to be powered from it's own pluggable connector. The card supplies 5V and up to 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.
All the IO's 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 Industrial Automation cards can be stacked on your Raspberry Pi. Cards can be installed in any order. Each card is identified by jumpers you install to indicate the level in the stack.
For your convenience, two jumpers are provided with each card.
- Power supply: 3.5mm Pluggable Connector, 24V/1A
- Power consumption: 50mA @ 24V
- On board resettable fuse: 1A
- Maximum Input Voltage: 12V
- Input Impedance: 20KΩ
- Resolution: 12 bits
- Sample rate: tbd
- Full scale linearity: 0.15%
- 0-10V Outputs:
- Minimum Output Load: 1KΩ
- Resolution: tbd
- Full scale linearity: 0.1%
- 4-20mA Inputs:
- Sample rate: 675 Hz.
- Input impedance: 150Ω
- 4-20mA Outputs:
- Resistive load: Maximum 1 KΩ @ 24V external voltage
- Maximum external voltage: 24V
- Open Drain Outputs:
- Maximum Output Current: 3A
- Maximum Output Voltage: 24V
4-20mA CURRENT LOOPS
Since 4-20mA current loops are optically isolated from the system ground, they can be used with isolated on non-isolated, 2, 3 or 4 wire transmitters. In all cases you need to provide external power supply (up to 24VDC).
In the following diagrams we used the following notation:
1: External 4-20mA Transmitter
2: Industrial Automation Board
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.
The 4-20mA outputs are driven by Open Drain MOSFETS with a common ground. Connect your 4-20mA receiver as shown in the following diagram:
SOFTWARE INTERFACESYou can write your control system in C, C++, PERL , of the language of your choice using the Command Line system or Python Drivers. Or you can implement everything in Node-Red and display it in the browser using the Node-Red node.
FIELD CALIBRATIONAll the analog inputs and outputs are calibrated at the factory, but firmware commands permit the user to re-calibrate the board, or to calibrate it to better precision. All inputs and outputs are calibrated in two points; select the two points as close to possible to the two ends of 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.
The Industrial 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 card contains a standard RS485 transceiver which can be accessed both by the local processor and by Raspberry Pi. The desired configuration is set from three bypass jumpers on configuration connector J3.
If jumpers are installed, Raspberry Pi can communicate with any device with an RS485 interface implementing any protocol it needs, Modbus, Profibus, PTZ control, etc. In this configuration the card is a passive bridge which 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  rs485wr 0 0 0 0 0
If jumpers are removed, the card operates as 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 commands implemented can be found on GitHub.
In both configurations the local processor needs to be instructed to release (jumpers installed) or control (jumpers removed) the RS485 signals. See the command line online help for further information.
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 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.
When you purchase the Industrial Automation Card you will receive the following items:
1. Industrial Automation Stackable 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. Two Stack Level Jumpers
4. Connector Plugs for all Inputs and Outputs
- Four 8-pin female mating connector plugs for IO's
One 4-pin female mating connector plug for RS465 ports.
One 2-pin female mating connector plug for power.
- 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
I use the Industrial Card as the core of my control systems. It allows the RPi and all of the Sequent Cards to run off of 24VDC. It provides communication pathways, analog input/output, current loop input/outlet, and digital input/output. It is really easy to control with NodeRed.
When I needed to a card that supported 4-20mA inputs I found this one. Amazingly it also allowed me to eliminate a 5v power supply and a couple of other cards that I was using for ADC inputs.
If that's not enough, I use it to monitor cpu temperature and power supply voltage to boot. From now on it will be the first card in the stack for all future pi projects.