python-microscope / microscope

Python library for control of microscope devices, supporting hardware triggers and distribution of devices over the network for performance and flexibility.
https://www.python-microscope.org
GNU General Public License v3.0
69 stars 41 forks source link

Value logger device. #272

Closed iandobbie closed 1 year ago

iandobbie commented 1 year ago

Created a value logger device that uses a data device to send scalar values back to a connection. This matches up with a cockpit issue which implements the other side of the connection.

https://github.com/MicronOxford/cockpit/issues/853

The code has an ABC, and simulated device and an implementation for the raspberry pi that reads a couple of I2C temperature probes.

iandobbie commented 1 year ago

This code only deals with a couple of I2C temperature sensors on a raspberry Pi but defines the abc, and interafaces with the cockpit ValueLogger device so pushing it to the main branch.

iandobbie commented 1 year ago

Just a note to say that the Raspberry pi implementation now supports the MCP9808 and the TSYS01 i2c temperature sensors.