12-13-2015 12:51 PM
Earlier I connected ATmega with Labview through RS232 protocol using COM port on NI controller. Can I connect ATmega to Labview through USB port instead COM port using RS232 protocol?
12-13-2015 03:25 PM
12-13-2015 11:51 PM
COM Port have 9 pins, USB - 4. How I must reconnect it?
12-14-2015 01:29 AM
12-14-2015 09:39 AM - edited 12-14-2015 09:41 AM
If your Atmega does not have a USB interface then you need a USB to RS232 adaptor.
I recommend only using adaptors with FTDI chipsets, as the Prolific chipset has been counterfeited and the fake Prolific adaptors can cause problems. http://www.ftdichip.com/Products/Cables/USBTTLSerial.htm
Once you have the USB to RS232 adaptor and driver installed you use it just like any other Com port.
The fact that it is a USB device is irrelevant at this point, you don't have to do anything special to used it.
12-14-2015 12:27 PM
Yeah having an extra chip doing the virtual com stuff can get in the way some times. I've started using Teensys for most of my projects, which have USB built into the micro. They are cheap, ARM based, many times more powerful than an Arduino, but is programmed in the Arduino IDE, compatible with practially all libraries, and has USB built in.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord