04-13-2015 11:26 AM
QUick Q for the forum.
I assume serial TTL output from Arduino can be read and written directly by LabVIEW but I am not sure if this is the case when using TTL serial on the arduino.
I realize it is possible to talk to arduino via its secondary(or primary) serial port , the one that sets itself up as a virtual com port the way a USB to serial converter would and uses a USB cable. This is fine.
But what about talking to the board directly?
If I wish to set up Arduino to loop waiting for input on its ttl serial input line how would I connect to it fromthat to my Windows and then LabVIEW?
Do I have to worry about the interface levels out of the PC's serial port? Can I just connect TX RX and ground from the serial port directly to the Arduino TTL serial input?
Thanks in advance.
Solved! Go to Solution.
04-13-2015 11:32 AM
I think I just found the answer to my question. It looks to be a solid NO without some form of buffering the interface levels is done.
Windows PC's apparently put out +-12V on the serial line.
Its not a show stopper but I was kind of hoping it would be a little easier to do this.
Has anyone attempted to make a psuedo serial connection to arduino using a bit bang technique (as in digital I/O) ?
If you have any code Id .love to see it.
Thanks again..
04-13-2015 11:43 AM
Easiest thing, IMHO, would be to use a TTL-level USB-serial adapter. Something like this: http://www.mouser.com/Search/Refine.aspx?Keyword=RS-232-WE.
Otherwise, a search for RS-232 level shifting circuits should show a number of options, ranging from IC's meant for the task to simple discrete component circuits.
05-04-2015 12:30 PM
Thank You MarkMoss!
That link seems to be exactly what I need.