Skip to content

cve2022/relay_party

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

relay_party

A simple example of the use of Python to control 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 outputs to outputs to control relays (with active low control inputs) and an example script that controls a string of RGB LEDs performing simple patterns to demonstrate the functioning of the class.

Tested with adapters based on CH340G (advertized as Adapter USB-UART CH340 for the WiFi ESP-01 ESP8266 module), FT232RL and CP2101N. The adapter based on CH340G requires some wiring to use the IC outputs).

There is a short video that shows the code in action. In this video, the adapter based on CH340G, with the required changes to work for this application.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages