Data acquisition application using Adafruit QT Py S3
Project description
QT Py Datalogger
qtpy-datalogger -- A data acquisition application using the Adafruit QT Py S3 and CircuitPython.
Status
Structure
graph LR
AP(🛜 Access Point)
App(🐍 App)
MQTT(📨 MQTT)
QTPy(🐍 QT Py S3)
subgraph "🌐 Network"
AP
end
subgraph "💻 PC Host"
App<-.->MQTT
MQTT<-.->AP
end
subgraph "🧪 Test Zone"
AP<-.->|🛜 WiFi|QTPy
end
Supported Python versions
- Host
- Python 3.11
- Python 3.12
- Python 3.13
- Node
- CircuitPython 9.0
Supported host platforms
- Windows
Supported connection types
- Serial / UART
- Network / MQTT
Entry points
- Host program:
qtpy_datalogger/console.py - QT Py program:
qtpy_datalogger/sensor_node/code.py
Preview in 90 seconds
- Connect your QT Py device with USB
- (Optional) Back up its
code.pyfile
- (Optional) Back up its
- Preview the program in a deletable Python virtual environment
# Create and enter a new Python virtual environment
mkdir qtpy-preview
cd qtpy-preview
python -m venv --upgrade-deps .venv
.\.venv\Scripts\activate.ps1
# Install
pip install qtpy-datalogger
# Show the package help
qtpy-datalogger --help
# Search for devices
qtpy-datalogger connect --discover-only
# Install the node runtime on a device
qtpy-datalogger equip
# Open a serial connection, use Ctrl-] to quit
qtpy-datalogger connect
qtpycmd get_apps
qtpycmd stats
qtpycmd read A0 A1 A2 A3
This preview does not demonstrate MQTT communication over WiFi
- Visit the wiki for MQTT setup and commissioning for more details
Gallery
Scanner
qtpy-datalogger run scanner
Scan for nodes by group. Select a node to send it messages.
Data Viewer
qtpy-datalogger run data-viewer
Open a CSV file for time series data.
CSV format
- Series data are in columns
- Series names are in the first row
- The time axis is in the first column
- ISO timestamps and floating point values both accepted
Time,Sensor 1,Sensor 2
0.0,1.284,2.713
0.22,1.302,5.536
...
Questions and help
Please go to the wiki home page for guidance.
Contributing
This project manages its Python programs with poetry.
The environment setup instructions are in the wiki on the Contributing page.
The design documentation is in the wiki under the Design Doc pages.
Legacy system
This project replaces a legacy system that uses Python and JeeNodes.
See the summary and source code in the docs/legacy folder for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qtpy_datalogger-1.0.3.tar.gz.
File metadata
- Download URL: qtpy_datalogger-1.0.3.tar.gz
- Upload date:
- Size: 81.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b69a10ff5d746f1a6b4c4f3918eb3a463dbf93b4cec35e2a07683b345f31ccbb
|
|
| MD5 |
cbe98c70503acfe8053693fce07e5ef3
|
|
| BLAKE2b-256 |
ec5d747e19c47fa0d7e2f5c35f115592cd1b4d4dd89e9d84f1a1e0719a503cf1
|
Provenance
The following attestation bundles were made for qtpy_datalogger-1.0.3.tar.gz:
Publisher:
publish.yml on wireddown/qtpy-datalogger
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qtpy_datalogger-1.0.3.tar.gz -
Subject digest:
b69a10ff5d746f1a6b4c4f3918eb3a463dbf93b4cec35e2a07683b345f31ccbb - Sigstore transparency entry: 1445552559
- Sigstore integration time:
-
Permalink:
wireddown/qtpy-datalogger@a756a828cef7d8b8da5a243d3317ce3a293e46b8 -
Branch / Tag:
refs/tags/1.0.3 - Owner: https://github.com/wireddown
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a756a828cef7d8b8da5a243d3317ce3a293e46b8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file qtpy_datalogger-1.0.3-py3-none-any.whl.
File metadata
- Download URL: qtpy_datalogger-1.0.3-py3-none-any.whl
- Upload date:
- Size: 96.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c3e8bf69489d9df397918fe85935d7e1a9145faf20513fe5c5c1d01981897cb
|
|
| MD5 |
cc82ddb8b46e81f62c2040ff6398ec57
|
|
| BLAKE2b-256 |
34befb96121ae4f7e5e4b4129974eeef5ee22a071672ff6eff679e1546df8b66
|
Provenance
The following attestation bundles were made for qtpy_datalogger-1.0.3-py3-none-any.whl:
Publisher:
publish.yml on wireddown/qtpy-datalogger
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qtpy_datalogger-1.0.3-py3-none-any.whl -
Subject digest:
5c3e8bf69489d9df397918fe85935d7e1a9145faf20513fe5c5c1d01981897cb - Sigstore transparency entry: 1445552634
- Sigstore integration time:
-
Permalink:
wireddown/qtpy-datalogger@a756a828cef7d8b8da5a243d3317ce3a293e46b8 -
Branch / Tag:
refs/tags/1.0.3 - Owner: https://github.com/wireddown
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a756a828cef7d8b8da5a243d3317ce3a293e46b8 -
Trigger Event:
release
-
Statement type: