Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5080

Automation, sensing and robotics • Re: Control Relay module without using gpio pins

$
0
0
I have a single USB relay module. Can’t remember exactly as I am on holiday in Canada now. The commands I think I send to it are
USB relay on: A0 01 01 A2
USB relay off: A0 01 00 A1
The second byte (01) is the “first” relay - you may have 02, 03 etc.
4th byte is a check code (sum of other 3 bytes)
Thank you for the reply. Atleast now I feel assured that a serial communication is possible with a relay module through USB.

Statistics: Posted by rider24 — Wed Jul 10, 2024 10:57 am



Viewing all articles
Browse latest Browse all 5080

Trending Articles