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 hashes)

Uploaded Source

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