Anybody tried to use a USB -> RS485 adapter on a FriendlyARM? I need a RS485 interface on my FriendlyARM, and so far I think the easiest solution would be to use an inexpensive USB->RS485 adapter. I tried to connect such a converter to my board, and the system recognised the chip chip used in the converter. When connected to the system. I got a new device: ttyUSB. If anybody have experience with such a converter, I would appreciate some information how to program and use the device? Eg. will it act as a normal serial port on the system? Thanks in advance BR Steen
USB -> RS485 adapter
hi Steen, just use /dev/ttyUSB in the code same as how u use /dev/ttySAC0 in the C program to read and write thru th com ports thanks armtry
Thanks a lot armtry. One short extra question. Do using the /dev/ttyUSB in the code as how I use /dev/ttySACx also include various settings like baudrate, number of stopbits etc. ? BR Steen
You can pick up very good yet cheap USB to RS485 devices from http://www.tronisoft.com/cat_usbtors485.php See item 2459. Contains FTDI chipset so supported and installs as a COM port. Or try: http://www.easysync-ltd.com/category/135/usb-to-rs485-cables.html But these are a lot more expensive for the same FTDI chipset based devices. Hope that helps, Joe