Skip to main content

Python tools & API to control GPIO pins of common USB_to_UART converters

Project description

Python tools to control gpio pins on pl2303, cp210x and (maybe) others.

Build status

Introduction

Remember those cheap usb-to-uart modules that have gpio pins? Want to control them from your app in linux, windows and (hopefully) mac. Old pl2303gpio doesn’t get the job done? This library aims to fix the problems.

Hardware support matrix

Chip(s) Driver Windows Linux Mac OS
PL2303HXA pl2303 Yes Yes Maybe
CP210x cp210x WiP Yes Maybe

Installation

Requirements

Any recent python 3.x. 3.7 and above should be good. Please report you successes so that I can add the information here.

Linux (and mac, perhaps) versions need pyusb. Windows versions need Visual Studio Build Tools installed. It’s a huge download, but it’s needed. Grab it at Microsoft download site.

Building Installing python module

pip install .

This library will be uploaded to pypy once inital work and porting code from pl2303gpio is done.

pip install pygpiotools

Using commandline tool

TODO

API and examples

TODO

Authors

Andrew Necromant Andrianov <andrew@ncrmnt.org> - pl2303/cp2102 gpio code and initial implementation

License

TBD

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

pygpiotools-0.1.33.tar.gz (8.4 kB view details)

Uploaded Source

File details

Details for the file pygpiotools-0.1.33.tar.gz.

File metadata

  • Download URL: pygpiotools-0.1.33.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.2

File hashes

Hashes for pygpiotools-0.1.33.tar.gz
Algorithm Hash digest
SHA256 b93b3ab266f922a399d153fa0973b1466cd7dae9848b4e5046ceca6ac0b334a1
MD5 9ecdd394d3b4b56abd438142b2ca9873
BLAKE2b-256 cd73d1f809b5db163e6876fd62875ec10ab3f8f2c8b855601d7fcc0a83d9e3ab

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