Metadata-Version: 2.4
Name: tmx-pico-aio
Version: 1.5.1
Summary: Telemetrix Asyncio Client For The Raspberry Pi Pico
Author-email: Alan Yorinks <MisterYsLab@gmail.com>
License: AGPL-3.0-or-later
Project-URL: Homepage, https://github.com/MrYsLab/tmx-pico-aio
Project-URL: Issues, https://github.com/MrYsLab/tmx-pico-aio/issues
Keywords: telemetrix,asnyncio,Arduino,rp2040,Pico,Python
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Other Environment
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: pyserial

# Tmx-Pico-Aio

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

![](images/tmx.png)

A full User's Guide is [available online.](https://mryslab.github.io/telemetrix-rpi-pico/)

Python API documentation  may be found [here.](https://htmlpreview.github.io/?https://github.com/MrYsLab/tmx-pico-aio/blob/master/html/tmx_pico_aio/index.html) 

The Pico server code may be viewed [here.](https://github.com/MrYsLab/Telemetrix4RpiPico)

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:**

```bash
sudo pip3 install tmx-pico-aio
```


**Windows:**


```bash
pip install tmx-pico-aio
```

### If you are upgrading from a previously installed version:

**Linux/macOS:**

```bash
sudo pip3 install tmx-pico-aio --upgrade
```


**Windows:**


```bash
pip install tmx-pico-aio --upgrade
```

## To Install The Pico Server Application
1. [Download](https://github.com/MrYsLab/Telemetrix4RpiPico/raw/master/cmake-build-release/Telemetrix4RpiPico.uf2) 
   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,](https://github.com/MrYsLab/tmx-pico-aio/archive/master.zip) 
   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.



