966Re: Using IV-17 smartsocket with usb>ttl adapter
- Dec 16, 2012--- In firstname.lastname@example.org, "fixitsan2" <fixitsan@...> wrote:
>Got the MD and MC commands working, using an Arduino to send the commands like this:
> > I think I am going to hook up my Arduino to it and try to send commands from there, I can't trust Linux, echo and a CP2102 USB-TTL adapter to do this properly it seems.
> I've never had to get so involved with Linux unfortunately
Serial.write("MS"); //send command in ASCII
Serial.write(100); //send parameters in direct binary values
Serial.write("IV-17 Smartsocket driven by Arduino, test OK "); //send ASCII to display
delay(20000); // wait for 20 sec before re-running commands
This results in the message scrolling nicely across the tubes :)
Still, I think an Arduino between the PC and the SS is unneccesary, a proper serial port should be able to drive the SS directly. Going to spend some more time figuring out why the serial adapter/PC is not sending the right data...
- << Previous post in topic Next post in topic >>