Skip to content

A collection of OOB serial drivers for interacting with predominantly environmental sensors

License

Notifications You must be signed in to change notification settings

PlantandFoodResearch/pyserialdrivers

Repository files navigation

pyserialdrivers

Continuous Integration Python 3.6.2 Python 3.9

A collection of OOB serial drivers for interacting with predominantly environmental sensors

Installation

pip install <git_url>
pip install pyserialdrivers

Hardware Supported

YSI EXO

This library provides a minimal middle layer for realtime interfacing with YSI EXO sensors.

Use & Example

from pyserialdrivers import exo
from pyserialdrivers.exo.constants import ParamCodes

exo = exo.serial.DCPSerial("COM10")
values = exo.values
print(values)
# [Temperature: 2.5 °C, Battery: 3.7 V, Turbidity: 5.0 NTU]
temp = exo.get(ParamCodes.TEMP_C)
temp.value  # 2.5
temp.param.unit  # °C
temp.param.description  # Temperature

About

A collection of OOB serial drivers for interacting with predominantly environmental sensors

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages