Skip to content

andrewintw/usb-powered-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usb-powered-relay

for LCUS-1 5V USB Relay Module CH340 USB Control Switch in LINUX

Baud Rate: 9600bps

HowTo

Usage: ./usbser2relay.sh <path_to_tty_device> <0|1>
	   0: Turn the Relay ON
	   1: Turn the Relay OF

note: you should run the script with root permission!

Example:

# ./usbser2relay.sh /dev/ttyUSB1 0

About

for LCUS-1 5V USB Relay Module CH340 USB Control Switch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published