Related Experiment Video
Updated: Aug 5, 2026

A Flexible Platform for Monitoring Cerebellum-Dependent Sensory Associative Learning
Published on: January 19, 2022
A flexible Raspberry Pi-based data logger platform for Modbus sensors with Ansible deployment
Leon Keim1, Steffen Hägele1, Vivien Langhans1
1Institute for Modelling Hydraulic and Environmental Systems, University of Stuttgart, 70569 Stuttgart, Germany.
Abstract:
This article presents LibrePiLogger, an open-source data logging platform based on the Raspberry Pi for environmental monitoring using Modbus sensors over RS-485. The system combines the AtmosPyre Python library for sensor communication with Ansible-based deployment automation, allowing researchers to deploy sensor networks by editing a single YAML inventory file. Two hardware configurations are described: a minimal setup using a Raspberry Pi Zero with an RS-485 HAT, and a maximal setup using a Raspberry Pi 4 with a USB-to-RS-485 converter. Currently implemented sensors include the Vaisala GMP252 for CO and the RadonTech AlphaTRACER for 222Rn, with new sensors requiring approximately 100 lines of Python following a provided driver template. Data is logged to timestamped CSV files with JSON metadata. The system has been deployed for continuous CO and 222Rn monitoring in a karst environment since spring 2025 and remains in active operation, demonstrating reliable long-term performance. All hardware designs, software, and deployment scripts are released under the GNU General Public License v3.0. Total hardware costs range from 54 to 63€ (excluding housing), depending on the configuration.
Related Concept Videos
PI Controller: Design
Electronic Distance Measuring Instruments
Data Reporting and Recording

