Raspberry Pi logging infrastructure (Cosm & MCP3008)