Sensor logging with Raspberry Pi