Relay with USB control LCUS-1 (single)
Product information:
USB relay stick with a 1-channel relay for switching a power supply up to a maximum of 10A (230VAC/30VDC).
With CH340 USB-to-serial chip (you can download drivers for this if your system does not recognize it yet).
After plugging in, a new COM or TTYS port will appear in your system.
By sending the following hex strings to it (connect at 9600 baud) you can switch the relay on and off.
- to: A0 01 01 A2
- out: A0 01 00 A1
For example, with the following Python script (before):
import serial
ser = serial.Serial("COM11", 9600)
command = b'\xA0\x01\x01\xA2'
ser.write(command)
It is best to limit switching to low voltage because the module is not optically isolated.