rs485 on arduino/linux @ UDOO

Discussion in 'General Discussion' started by krapazok, Jul 12, 2014.

  1. krapazok

    krapazok New Member

    Joined:
    Jul 12, 2014
    Messages:
    2
    Likes Received:
    0
    Hello !
    (sorry for the bad whriting, i'm belgian :mrgreen: )

    hi have a short ask for you, i have a domotic project and i need to communicate on rs485 bus.
    It is possible to using arduino program with rx/tx rs485 AND using this same port with linux ?

    or i'm obligated to using one interface for the arduino AND one interface (usb) for the linux ?



    Thank you !
     
  2. xwalter

    xwalter Member

    Joined:
    Sep 8, 2014
    Messages:
    89
    Likes Received:
    4
    There are several little board for the RS485 use
    Anyway you can build your board using a MAX485 or chip similary
    In this case the communication is hal duplex, it means you have a master for example arduino and other devices are slaves.
    You have to connect the chip at rx and tx pins of arduino and use an other bit for the direction , pin direction=1 is to send and pin direction=0 to receive .
     

Share This Page