How to set up automated sensor data logging on Raspberry Pi?

Dracal USB sensors work on Raspberry Pi, and our step-by-step tutorial walks you through it: 1. Install Raspberry Pi OS. 2. Download the Linux version of our tools and compile the command line tools (and DracalView if you want the graphical interface). 3. Add a udev rule so your user can access the sensors (our USB identifiers). 4. Test with dracal-usb-get -l.

To automate logging, start dracal-usb-get with the -L option at boot (for example with cron or a systemd service): it writes timestamped CSV lines at the interval you choose with -I (see the options). To use your Pi without a screen, enable SSH. See also our Linux setup guide.

Return to FAQs