Python tools to control gpio pins on pl2303, cp210x and (maybe) others.
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.
Chip(s) | Driver | Windows | Linux | Mac OS |
---|---|---|---|---|
PL2303HXA | pl2303 | Yes | Yes | Maybe |
CP210x | cp210x | WiP | Yes | Maybe |
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.
pip install .
This library will be uploaded to pypy once inital work and porting code from pl2303gpio is done.
pip install pygpiotools
TODO
TODO
Andrew Necromant Andrianov <andrew@ncrmnt.org> - pl2303/cp2102 gpio code and initial implementation
TBD