Interact and monitor a Raspberry Pi Pico remotely from your PC using Python. It is similar to Arduino Firmata, but written specifically for the Raspberry Pi Pico.
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
- SPI 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.
Linux/macOS:
sudo pip3 install telemetrix-rpi-pico
Windows:
pip install telemetrix-rpi-pico
Linux/macOS:
sudo pip3 install telemetrix-rpi-pico --upgrade
Windows:
pip install telemetrix-rpi-pico --upgrade
-
Download and save the .uf2 file.
-
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, save, and uncompress the teletmetrix-rpi-pico Github repository.
-
Open the examples directory and run any of the examples. You may modify them to suit your needs.