Projects: USB Relay

This project aims to provide a linux userspace driver for an USB Relay driven by the CH341A chip produced by ABACOM. The USB ID of this device is 1a86:5512.

The Windows driver that came with the hardware was installed in a virtual machine (VirtualBox). The usbmon kernel module in linux was used to capture the traffic on the USB bus while using the applications on windows to switch relays on and off. With this dump the necessary data for switching the relais on and off was determined and used in a userspace utility using libusb to talk to the device.

Compile Usage Examples Download