Skip to content

cve2022/usb-uart-io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

usb-uart-io

A simple example of the use of Python to control and monitor external devices from a PC through a USB-UART converter with C-MOS/TTL inputs/outputs.

Constituted by a class that abstracts the USB-UART converter inputs and outputs to generic I/Os and an simple test script that monitors inputs and controls the relays according to the states of the corresponding inputs.

Inputs and outputs are based on negative logic, i.e., active in zero low logic/voltage level.

Tested with adapters based on FT232RL and CP2101N.

There are two short videos showing the code in action with two different USB-Serial converters, CP2102N and FT232RL, that show the code in action.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages