Skip to main content

Telemetrix Asyncio Client For The Raspberry Pi Pico

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.5.1.tar.gz (47.1 kB view details)

Uploaded Source

Built Distribution

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

tmx_pico_aio-1.5.1-py3-none-any.whl (70.1 kB view details)

Uploaded Python 3

File details

Details for the file tmx_pico_aio-1.5.1.tar.gz.

File metadata

  • Download URL: tmx_pico_aio-1.5.1.tar.gz
  • Upload date:
  • Size: 47.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for tmx_pico_aio-1.5.1.tar.gz
Algorithm Hash digest
SHA256 48dc3a4bfd890460ad28f941039d8f3e6a9aa31068fb74dd7229e88e3c2fba2b
MD5 1ca78ca59734c13f11d78e665dd478d8
BLAKE2b-256 55b7815653c08f71e48b949c901d2a48becf4be67fa810f6529b01cf33fa2a21

See more details on using hashes here.

File details

Details for the file tmx_pico_aio-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: tmx_pico_aio-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 70.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for tmx_pico_aio-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 51a1179e1f450795d439e87c35eef827f3c892f2ef95ad92bc08d1200a49bb67
MD5 a69098fafd289705915328a1eb5c5df4
BLAKE2b-256 6aac5228bdd5d9f4413e7fa5e97cea81fc1ab4e08b1ad780fbfebbc5936423b4

See more details on using hashes here.

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