Background
As part of a research project at the Montanuniversität Leoben (Austria), a hardware and software prototype was developed to measure magnetic flux densities and multi-axis accelerations of a conveyer belt tracker.
Aim
The Advanced Message Queuing Protocol (AMQP) is a networking protocol which enables client applications to communicate with messaging middleware (also called "brokers"). In this project, an AMQP (message producer) application was developed which sends real-time sensor data to a remote message queue provided by RabbitMQ, a widely deployed open source message broker. The target hardware was a RevolutionPI, an industrial grade embedded system based on the Raspberry Pi Compute Module. The AMQT client was written in Rust and implemented as a Linux (daemon) service.
Digital accelerometers were attached to the embedded Linux system and used as vibrometers, that is their individual high-frequency acceleration data (6400 Hz) was temporarely saved and a subsequent FFT analysis was performed for each of the three axes (x, y, z) independently. The five highest peaks of the frequency spectrum were published to the message queue every second.