See UG-001_LuminOx_UserGuide for full implementation details for LOX-01
See UG-007_LOX-02-S_UserGuide for full implementation details for LOX-02-S
See UG-008_LOX-02-F_UserGuide for full implementation details for LOX-02-F
This repository provides Python code for communicating with Luminox devices.
- Python 3.11 or newer (https://www.python.org/downloads/)
- Older Python revisions are untested but may work.
- Python library for serial communication:
- Recommended: pyserial
- A USB-to-ttl converter compatible with your system and the Luminox.
- Recommended: PST Dev kit - Luminox
git https://github.com/ProcessSensingTechnologies/luminox_usart_python.git
It is highly recommended to use a virtual environment to isolate your project's dependencies and avoid conflicts with other Python projects.
cd luminox_usart_python
python -m pip install -r requirements.txt
A basic example that simply polls the sensor for O2 percent readings can be found in example_basic.py
For more in-depth usage the Lox
class in luminox.py
can be used. It's functionality is demonstrated in example_1.py
.
Please feel free to open issues for support or to suggest changes.
This repository is licensed under the BSD 3-Clause License. See the LICENSE file for details.