Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 20 days 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 (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-01T15:52:14.000Z (about 1 month ago)
- Last Synced: 2024-12-01T16:39:38.712Z (about 1 month ago)
- Topics: datasheet, modbus, python, rs485
- Language: JavaScript
- Homepage:
- Size: 6.78 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