Jesse Lackey
Comentado en los Estados Unidos el 29 de abril de 2024
First off, follow the CH340 drivers install help webpage documentation from sparkfun, and you must not forget the step to uninstall existing drivers. And these are (I think) unsigned drivers from a chinese company, for those concerned with IT security. To cut costs, they did not use the effectively universal FTDI chips, with drivers already installed in all OSes for the last 10 years.Secondly, don't overlook that the command example is hex bytes, as they say several times in the product description. How you send them from a terminal program for testing depends on that program.
Some guy that doesn’t usually review things
Comentado en los Estados Unidos el 3 de agosto de 2023
//made on a C# windows forms app, forgive the sloppy nature- just wanted to hear it click//added NuGet package in Visual Studio for System.IO.Ports (right click solution, manage NuGet Packages for solution, browse)//made 2 buttons - open and close relay//get your COM port from device manager after you plug it in// myPort.Write(new byte[] { 0xA0, 0x01, 0x01, 0xA2 }, 0, 4); -- OPEN// myPort.Write(new byte[] { 0xA0, 0x01, 0x00, 0xA1 }, 0, 4); --CLOSE----------------------------------------------------------------------------------------------------------------------using System;using System.Drawing.Text;using System.IO.Ports;namespace SingleChannelNoyitoTest{public partial class Form1 : Form{public static SerialPort myPort = new SerialPort("COM3", 9600, Parity.None, 8, StopBits.One);public Form1(){InitializeComponent();}private void Form1_Load(object sender, EventArgs e){}private void btnCloseRelay_Click(object sender, EventArgs e){myPort.Open();myPort.Write(new byte[] { 0xA0, 0x01, 0x00, 0xA1 }, 0, 4);myPort.Close();}private void btnOpen_Click(object sender, EventArgs e){myPort.Open();myPort.Write(new byte[] { 0xA0, 0x01, 0x01, 0xA2 }, 0, 4);myPort.Close();}}}
Simon P. Larson
Comentado en los Estados Unidos el 5 de julio de 2022
I bought a couple of these for a project I was working on, involving a small automated lock, and while they were easy to use and initially did what I wanted, none of them lasted more than a couple of weeks before they stopped consistently working. I was setting them open/close through powershell, and inevitably they start ignoring the code occasionally and they only get worse over time. Not a good long term board. Will be looking for a beefier version or more stable alternative.
StevenBB
Comentado en los Estados Unidos el 11 de diciembre de 2022
I created a very simple linux script: while [ 1 ]; do echo "starting test now" `date`; echo -en "xa0x01x01xa2" > /dev/ttyUSB0; sleep 3; echo "starting test now 2" `date`; echo -en "xa0x01x00xa1" > /dev/ttyUSB0; sleep 3; doneAll the script did was to toggle the relay every 3 seconds. It would toggle about 4 or 5 times and freeze up. I would then run the command stty -F /dev/ttyUSB0speed 9600 baud; line = 0;-brkint -imaxbelBut... other times at random it would respond with: stty -F /dev/ttyUSB0speed 9600 baud; line = 0;-brkint -imaxbelSorry, but this relay IS TOTALLY UNSTABLE. I tried it on Linux Mint X64 and Rasberry Pi Zero. 2 Different operating systems and hardward. It relay would freeze up for no real reason.
Robert C
Comentado en los Estados Unidos el 2 de septiembre de 2021
This is a Relay that you can control over USB. I purchased this to make a "smart" plug that I can control from software for a personal project. Read the description, the seller tells you everything you need to know to control this device. You'll need a driver to make the USB device show up as a serial port. Once that's there, you can either use a serial debugger to test it out, or write half a dozen lines of code to send the on/off commands over the serial port.It looks like we've got a relay, a arduino USB contoller, and a IC that turns the relay on and off in a convenient package. Well-made and no complaints!