Skip to main content

Data acquisition application using Adafruit QT Py S3

Project description

QT Py S3 DAQ App

qtpy-datalogger -- A data acquisition application using the Adafruit QT Py S3 and CircuitPython.

Status

CI: Tests and Analyzers Dependabot Updates Publish: Release on PyPI

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

Preview in 90 seconds

  1. Connect your QT Py device with USB
    • (Optional) Back up its code.py file
  2. 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

Gallery

Scanner

qtpy-datalogger run scanner

Scan for nodes by group. Select a node to send it messages.

Screenshot of the scanner app

Data Viewer

qtpy-datalogger run data-viewer

Open a CSV file for time series data.

Screenshot of the data viewer app

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qtpy_datalogger-1.0.2.tar.gz (81.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qtpy_datalogger-1.0.2-py3-none-any.whl (96.0 kB view details)

Uploaded Python 3

File details

Details for the file qtpy_datalogger-1.0.2.tar.gz.

File metadata

  • Download URL: qtpy_datalogger-1.0.2.tar.gz
  • Upload date:
  • Size: 81.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for qtpy_datalogger-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e96d9ab4b9b368088c2576510475c8f4fbf0f3f39031f3a4e6619fb5887a7506
MD5 9aed36920f6461bd9a9a5c9f21ae0fc4
BLAKE2b-256 4f17936cf54dcfe01cd7b6ef19d8855388c976f78424c99bf56cff8fcd5f4483

See more details on using hashes here.

Provenance

The following attestation bundles were made for qtpy_datalogger-1.0.2.tar.gz:

Publisher: publish.yml on wireddown/qt-py-s3-daq-app

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qtpy_datalogger-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for qtpy_datalogger-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b79323eea975fb344dca9e1cf387e3969c091f9d9e7963d284ebdd03e3ca4593
MD5 7873de8d142ff923d9f9e0c427a8c494
BLAKE2b-256 71c780e03e1873b456de9c973e1562132ca74f4dd37fe9819d0411453b1e6603

See more details on using hashes here.

Provenance

The following attestation bundles were made for qtpy_datalogger-1.0.2-py3-none-any.whl:

Publisher: publish.yml on wireddown/qt-py-s3-daq-app

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page