A library to interface with Pumpkin SupMCU modules via I2C
Project description
pumpkin_supmcu Package
The pumpkin_supmcu
package has the following functionality:
- Discover all telemetry items on a module, and put into telemetry definitions.
- Parse any telemetry item on a module given a module telemetry definition.
- Provide a universal I2C interface to integrate multiple I2C Masters.
- Request telemetry from any SupMCU module via I2C interface.
- Write commands to SupMCU modules via I2C interface.
The documentation for the pumpkin_supmcu
package can be found here.
Telemetry Benchmark Utility
utils/benchmark.py
can be used to measure the response time of each telemetry item on the bus.
First you must generate a bus definition using pumqry: pumqry -t kubos -p 1 -e -d -f bus.json
(example bus.json provided for reference).
Then you can run a benchmark: python utils/benchmark.py -p /dev/ttyUSBX -f /path/to/save/to.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pumpkin_supmcu-1.2.2.tar.gz
(14.4 kB
view hashes)
Built Distribution
Close
Hashes for pumpkin_supmcu-1.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9f5e74014024701f1c0b85854a427f31acb218cb7d22b951aecba49d5523830 |
|
MD5 | 5b875b072a892dadd40982a4d4ed0481 |
|
BLAKE2b-256 | 6f0cfc8e7aefc37f42f2a6f62a0e87d385b108c248a0dcaf87a12cdd0a96b90b |