Skip to main content

Remotely Control And Monitor A Raspberry Pi Pico Using Asyncio

Project description

Tmx-Pico-Aio

Interact and monitor a Raspberry Pi Pico remotely from your PC using Python asyncio.

A full User's Guide is available online.

Python API documentation may be found here.

The Pico server code may be viewed here.

The following functionality is implemented in this release:

  • Analog Input
  • Digital Input, Digital Input Pullup, Digital Input Pulldown
  • PWM output
  • Loopback (for client/server link debugging)
  • I2C Support
  • NeoPixel Support
  • Servo Support
  • HC-SR04 Type Sonar Distance Sensor Support
  • DHT 11 and 22 Humidity/Temperature Sensor Support
  • Autodetect PICO device over USB Serial.
  • Automatic board reset of the PICO using the watchdog timer when application exits.
    • Board will blink twice upon reset.
  • Retrieval of the PICO's unique ID.

To install The Client Library:

Linux/macOS:

sudo pip3 install tmx-pico-aio

Windows:

pip install tmx-pico-aio

If you are upgrading from a previously installed version:

Linux/macOS:

sudo pip3 install tmx-pico-aio --upgrade

Windows:

pip install tmx-pico-aio --upgrade

To Install The Pico Server Application

  1. Download and save the .uf2 file.

  2. Place the Pico in file upload mode:

    A. Press and hold the BOOTSEL button while applying power.

    B. Release the BOOTSEL button.

    C. In your file explorer, you should see a new folder appear called: RPI-RP2.

    D. Drag the .uf2 file into this folder to upload the code.

Download And Run The Examples

  1. Download, save, and uncompress the teletmetrix-rpi-pico Github repository.

  2. Open the examples directory and run any of the examples. You may modify them to suit your needs.

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

tmx-pico-aio-1.3.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

tmx_pico_aio-1.3-py2.py3-none-any.whl (18.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tmx-pico-aio-1.3.tar.gz.

File metadata

  • Download URL: tmx-pico-aio-1.3.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.4

File hashes

Hashes for tmx-pico-aio-1.3.tar.gz
Algorithm Hash digest
SHA256 bc78b5983fcab9658efaec669c7d424c0c671f61dce56b000579ceba1ebf6551
MD5 b158e6c7f63774cd3e0293af418a65a9
BLAKE2b-256 6a32b98e3c6d6b156151fdc998337150ecc5f5d74a54001412cb62642e3cc898

See more details on using hashes here.

File details

Details for the file tmx_pico_aio-1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: tmx_pico_aio-1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.4

File hashes

Hashes for tmx_pico_aio-1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 950e9b83bcf9d4fbf306a9e03566c065e96e092e17849d6ebcad544abd016acc
MD5 f4098d38304e6091379348b5f4d838fb
BLAKE2b-256 3bd5d5e6484250fbff2a0a390859caaa0266577e4f5bed2f915a3287d95a1889

See more details on using hashes here.

Supported by

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