Computer/Embedded Technology


Data acquisition HATs for Raspberry Pi

29 September 2021 Computer/Embedded Technology

Raspberry Pi is the most popular single-board computer in use today, but does not have built-in test and measurement capabilities such as analog-to-digital converters (ADCs), digital-to-analog converters (DACs) or conditioned digital inputs and outputs (DIO). However, these capabilities can be added through the Pi’s 40-pin GPIO header. A device that connects directly to the 40-pin header and stacks onto the Raspberry Pi is called a HAT (Hardware Attached on Top).

Over the years, individuals have published open-source designs and small companies have sold low-cost HATs for a variety of tasks, including support for analog and digital I/O. These designs and products are adequate for the education and hobbyist/maker market but have some serious shortcomings for professional test and measurement applications. Most of these devices are provided partially assembled, without specifications or programming support and without performance guarantees that can only be achieved with a thorough device validation process.

To bring professional-quality measurement products to the Raspberry Pi platform, Measurement Computing Corporation (MCC) has developed a series of DAQ HATs that offer similar specifications and accuracy as traditional USB- and Ethernet-based DAQ products from MCC, with resolution up to 24 bits and sample rates up to 100 KSps. This range is now available in South Africa through Osiris Technical Systems.

Product range

MCC offers five products designed for test and measurement applications that conform to the Raspberry Pi HAT standard. These devices provide data acquisition features like analog and digital I/O in a small, stackable format. DAQ HATs can be used in basic applications with just a few voltage input channels, or more sophisticated applications with up 64 channels of multiple signal types.

Voltage measurement

The MCC 118 is an 8-channel voltage measurement HAT which allows users to measure 12-bit data at an overall throughput of 100 KSps. Eight devices can be stacked on a single Raspberry Pi to create a 64-channel device capable of reading data at a combined rate of 320 KSps.

The MCC 128 features 16-bit resolution and includes eight analog inputs with a maximum sample rate of 100 KSps. Multiple gain ranges are also included to give users the ability to make precision measurements.

Voltage output and digital I/O

The MCC 152 provides two 12-bit analog outputs along with eight 5 V or 3,3 V DIO channels, enabling the creation of a full, multifunction Raspberry Pi measurement and control system.

Thermocouple measurement

The MCC 134 is designed for temperature measurement applications and features four thermocouple input channels. A 24-bit ADC and cold junction compensation provide professional-grade accuracy. Multiple thermocouple types are selectable on a per-channel basis.

MCC has a long history of designing and building accurate DAQ devices for measuring thermocouples. Thermocouples provide a low-cost and flexible way to measure temperature, but measuring thermocouples accurately is difficult. Through innovative design and extensive testing, MCC overcame the challenge of measuring thermocouples accurately in the uncontrolled Raspberry Pi environment.

IEPE measurement

MCC 172 is designed for sound and vibration applications and offers two IEPE (integrated electronic piezoelectric) input channels capable of measuring IEPE sensors like accelerometers and microphones without any additional signal conditioning. Inputs can be simultaneously sampled at up to 51,2 KSps per channel.

Software libraries

MCC’s DAQ HATs come with software libraries that support Python and C/C++ to facilitate quick and easy development. Comprehensive API and hardware documentation are also provided. The DAQ HAT software library was created and is supported by MCC. The development repository is located on GitHub where users can find libraries, examples, firmware updates and more: https://github.com/mccdaq/daqhats

Applications

Raspberry Pi is a good fit for many DAQ applications and MCC DAQ HATs have been used in a variety of applications and industries. These applications can be lab-based, remote and IoT solutions and OEM/embedded systems. Some customer applications and industry examples include biomechanics, wind energy, power monitoring, machine condition monitoring and predictive maintenance. The following are a few specific examples.

AC power monitoring IoT solution

A mobile communications company used the MCC 118 to create an IoT solution to monitor and analyse the external city power being supplied to its facilities.

Probe permeameter machine

RO Scientific used the MCC 118 voltage measurement HAT and the MCC 134 thermocouple measurement HAT in the design of a probe permeameter machine used in testing rock samples for the oil and gas industry.

Machinery monitoring and predictive maintenance

The MCC 172 IEPE measurement HAT and MCC 134 thermocouple measurement HAT are used to measure vibration and temperature, respectively and collect the data needed to create accurate measurements, analysis and strategy.

Neuromuscular biomechanics test system

The Raspberry Pi and MCC 172 allowed researchers to create a lightweight and wearable DAQ solution to measure dynamic activity for testing neuromuscular biomechanics.


Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Intelligent video processing
Rugged Interconnect Technologies Computer/Embedded Technology
The CHARM150AGX is based on a NVIDIA AGX Orin embedded processor, which incorporates a multicore ARM processor and powerful AI/ML accelerator.

Read more...
Quectel’s single-board computers put industrial edge computing on one PCB
iCorp Technologies Computer/Embedded Technology
Quectel Pi series of single-board computers (SBCs), designed for a broad range of industrial applications, include three compact development platforms – the Quectel Pi M1, L1, and H1 boards.

Read more...
Nordic expands nRF Cloud with firmware vulnerability scanning
RF Design Computer/Embedded Technology
nRF Cloud identifies vulnerabilities in firmware and shows exactly which deployed devices are affected, empowering device manufacturers to address EU Cyber Resilience Act requirements.

Read more...
Arrival of the Epic-PTH9
Vepac Electronics Computer/Embedded Technology
AAEON introduces the EPIC-PTH9, a compact 4-inch industrial single-board computer powered by Intel Core Ultra Series 3 (formerly Panther Lake) processors.

Read more...
EPS-9600 Managed Layer 3 Ethernet Switch with next-generation Time- Sensitive Networking
Electronic Products Design Computer/Embedded Technology
Diamond Systems has introduced EPS-9610 (part of the EPS-9600 family), a rugged, ultra-compact embedded Ethernet switch which integrates military-grade ruggedness with next-generation Time-Sensitive Networking (TSN) capabilities.

Read more...
An industry-first Android 16 smart module solution
RF Design Computer/Embedded Technology Telecoms, Datacoms, Wireless, IoT
The MeiG Smart SLM580 4G Smart Module features native support for Android 16 and covers core frequency bands in major countries and regions worldwide.

Read more...
Accelerate STM32-based IoT development with SPI EEPROM board
Altron Arrow Computer/Embedded Technology
ST Microelectronics’ ready-to-use STM32 expansion board helps design more efficient battery-friendly IoT devices based on ultra low power 32-Mbit Page.

Read more...
Unleash the next generation of Intel Core power
Vepac Electronics Computer/Embedded Technology
The EPIC-BTS9 from AAEON, is tailor-made to bring unprecedented performance to smart manufacturing and industrial robotics.

Read more...
QMC series I/O modules for VITA 93 small form factor mezzanine
Rugged Interconnect Technologies Computer/Embedded Technology
The new line of VITA 93 QMC mezzanine modules, from Acromag, are engineered to meet increasing demands for smaller form factors and more performance.

Read more...
MIKROE celebrates 2000th Click board
Computer/Embedded Technology
MIKROE has launched its 2000th Click board, the RTC 27 Click, designed for low-power real-time clock and calendar functionality, time tracking, alarm event generation, watchdog timing, and timestamp capture.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved