Eight Thermocouples DAQ 8-Layer Stackable HAT for Raspberry Pi
Eight Thermocouples Data Acquisition HAT for Raspberry Pi: Compatible with all Raspberry Pi versions from Zero to 4, the Eight Thermocouples card offers a compact and inexpensive solution for reading and storing data from up to 64 thermocouple temperature sensors. Using 24-bit delta-sigma A/D converters with four channels each, the card achieves better than 0.1% accuracy. Field calibration with a precision 100Ω resistor can lead to 0.01% precision.
Compatibility:Â The Eight Thermocouples card is compatible with all Raspberry Pi versions from Zero to 5. It shares 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 Eight Thermocouples DAQ Card needs 5V to operate and can be powered by a Raspberry Pi or its pluggable connector. It requires 50mA to operate.
LED Indicators:Â The Eight Thermocouples DAQ board has eight LEDs that can be activated when the input reaches a preset threshold. The software can set the threshold for each input.
DIP SWITCH Configuration: If multiple cards are used, a six-position DIP switch selects the source of the RS485 port and the card’s position in the stack.
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.
RS485/MODBUS Port:Â The Card has an RS485 port that can be driven from the Raspberry Pi. Set both to ON to connect the RS485 port to the Raspberry Pi’s USART1. When DIP Switches are ON, Raspberry Pi can communicate with any device with an RS485 interface. In this configuration, the card is a passive bridge that implements only the hardware levels required by the RS485 protocol. When DIP Switches are OFF, the Raspberry Pi GPIO pins can be used for other functions. Only one can have the DIP Switches ON if multiple cards are stacked.
RS485 Terminator:Â The first position on the DIP switch is the RS485 line terminator. If the card is last on the RS485 chain, set it to ON.
Reverse Power Supply Protection:Â The board is protected from accidental reverse power supply by a 5.8A, 39 mOhm MOSFET that breaks the ground line if reverse power is applied.
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 push button installed at the board’s edge provides a convenient way to shut down the Raspberry Pi. The button is routed to pin 37 (GPIO 26). You must write a script that monitors this pin and issues the shutdown command if pressed for more than a desired time.
Card Layout
Mechanical Specifications
Features
- Eight Thermocouples DAQ 8-Layer Stackable HAT for Raspberry Pi
- Supports Thermocouples type J, K, T, N, E, B, R, and S
- 24-bit delta-sigma A/D converters
- Ultra-low drift (0.005µV/ºC) low offset (50µV) amplifiers
- Factory accuracy: 1%
- Maximum accuracy (through calibration): 0.1%
- Cold junction compensation
- Maximum acquisition speed 40 cps
- RS485/MODBUS transceiver with in and out ports
- Programmable threshold LEDs on all inputs
- Pluggable Connectors 26-16 AWG wires for power and RS485
- On-board hardware watchdog
- 5V power supply provides power to the Raspberry Pi
- General Purpose Pushbutton
- On-board resettable fuse
- Uses only the I2C port, all GPIO pins available
- Works with any Raspberry Pi from ZERO to 5
- Command line
- Python library
- Node-REDÂ example
- Modbus RTU
- CODESYS Driver
- OpenPLC module
- ECCN Code EAR99
- ERRATA:Â Polarity reversed on channels 5-8 silkscreen for VER2.0
3D Files
- 8-THERMOCOUPLES DAQ HAT 3D STEP MODEL DOWNLOAD
- 8-THERMOCOUPLES DAQ HAT WITH RASPERRY PI STEP MODEL DOWNLOAD
Eight Thermocouples Downloads
- Eight Thermocouples User’s Guide V1.1
- Hardware Schematic V1.1
- Command Line
- Python Library
- Node-RED nodes
- 3D STEP Model V1.1
- 3D Printing Enclosure
- CODESYS Library
- ARDUINO Library
- RoHS and REACH Compliance Declaration
Software
Software Interfaces: You can write your own Data Acquisition system in C, C++, PERL, or the language you choose using the Command-Line functions or the Python Library. A browser interface can easily be deployed using Node-Red.
Field Calibration: An external high-precision voltage reference can achieve field calibration to 0.1% precision. Software commands permit the user to calibrate the card at two points (the 2 points must be as far as possible but inside the measurement range).
RS485/MODBUS Communication:Â The card contains a standard RS485 transceiver, which the local processor or a Raspberry Pi can access. The desired configuration is set from two bypass DIP switches. Raspberry Pi can communicate with any device with an RS485 interface if switches are ON. 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:
~$ smtc 0 cfg485wr 0 0 0 0 0
If switches are OFF, 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 and parameter addresses can be found on GitHub. In both configurations, the local processor must be programmed to release (jumpers installed) or control (jumpers removed) the RS485 signals. For further information, see the command-line online help.
Firmware Update: A command can update the card firmware in the field. 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’s Included
8-Thermocouples DAQÂ HAT for Raspberry Pi
Mounting hardware
- Four M2.5x18mm male-female brass standoffs
- Four M2.5x5mm brass screws
- Four M2.5 brass nuts
All female connector plugs
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/smtc-rpi.git
- ~$ cd /home/pi/smtc-rpi
- ~/smtc-rpi$ sudo make install
- ~/smtc-rpi$Â smtc
The program will respond with a list of available commands.