https://github.com/kquinsland/miscellaneous-modbus-devices
An assortment of demo code and datasheets for various modbus devices.
https://github.com/kquinsland/miscellaneous-modbus-devices
datasheet modbus python rs485
Last synced: 5 months ago
JSON representation
An assortment of demo code and datasheets for various modbus devices.
- Host: GitHub
- URL: https://github.com/kquinsland/miscellaneous-modbus-devices
- Owner: kquinsland
- Created: 2024-12-01T15:16:07.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-04-12T22:49:25.000Z (6 months ago)
- Last Synced: 2025-05-07T22:09:20.892Z (5 months ago)
- Topics: datasheet, modbus, python, rs485
- Language: JavaScript
- Homepage:
- Size: 33 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# miscellaneous-modbus-devices
An assortment of demo code and datasheets for various modbus devices.
## Python code
Most everything here uses `uv` to make the `venv` and dependency management easier.
[Installing `uv` is easy](https://docs.astral.sh/uv/) as it's a static rust binary.
Beyond that, I've done my best to keep the `pyproject.toml` _and_ the [script headers (PEP 723)](https://peps.python.org/pep-0723/) up to date with the dependencies so running the script should be as simple as invoking it as if it were any other binary:
```shell
❯ ./uv-demo.py
Reading inline script metadata from `./uv-demo.py`
Installed 1 package in 1ms
2024-12-01 07:50:09 [info ] Look ma! no manual venv setup!
```## Prior work
Previously, I would create a single repo per device or would casually include the manufacturer provided datasheets deep inside the repo for the project using the device.
This ... does not scale well.
Anyways, here's links to the old repos:
- https://github.com/kquinsland/qdx50d-air-pressure-sensor-poc
- https://github.com/kquinsland/generic-chinese-water-quality-sensor