Small demo of how to monitor and control external devices (relays in this case) from a PC, using a USB-UART converter as a USB-GPIO converter, and Python.
For this test, a USB-Serial converter based on FTDI's FT232RL was used.
Source code of this demo may be found at
https://github.com/cve2022/usb-uart-io