Results 1 to 2 of 2

Thread: FTDI on Linux for USB to RS-485 comm

  1. #1
    Join Date
    Nov 2015
    Beans
    1

    FTDI on Linux for USB to RS-485 comm

    Hi,

    I am fairly new to Linux and am running Ubuntu 14.04. I am trying to use a USB to RS-485 converter: http://www.iocrest.com/en/product_details431.html
    I followed the instructions on installing the driver: http://www.ftdichip.com/Support/Docu...r_Linux%20.pdf

    But how do I actually configure the RS-485 settings and send/receive data?

    You help is really appreciated.

    Thanks!

  2. #2
    Join Date
    Jan 2014
    Beans
    473
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: FTDI on Linux for USB to RS-485 comm

    Add your "user" to the "dialout" group.
    The common FTDI & Parallax devices have kernel support.

    Remove/plugin the USB adaptor.
    run "dmesg"
    or
    Code:
    dmesg | grep -i 'tty\|USB' > logging.txt
    Could post as attachment?

    Config baud rate etc:
    setserial
    stty -F /dev/ttyUSB0 19200
    could have to change permissions
    Code:
    chmod 777 /dev/ttyUSB0
    Note: ttyUSB0 could be different number.


    Can send data with "cat" or an actual terminal program..
    http://unix.stackexchange.com/questi...g-echo-and-cat

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •