Software for a Raspberry Pi to acquire a set of measurements from a serial port or webpage and send to a REST API or a database