udoo uart

Discussion in 'General Programming Discussion' started by asusrog, Feb 18, 2015.

  1. asusrog

    asusrog New Member

    Joined:
    Apr 28, 2014
    Messages:
    13
    Likes Received:
    0
    Hello everybody,

    I want to use uart on the arduino side of udoo to be able to receive data from an external source and then publish it over the inter-processor com. link (/dev/ttymxc3) into the linux side . I should be able to use two uart's simultaneously yeah?. could you please show me some example which does this?
     
  2. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Hi asusrog,
    Arduino DUE has 3 other UARTs available. You can access those UARTs from an external source. The pins of these serials are: from 14 to 19. WIth Arduino code you can directly use them with the object Serial1, Serial2, Serial3.
    E.g.
    Connect to pins number 18 and 19 and use in your Arduino sketch Serial1.begin(baudrate); Serial1.read(); etc.
    These are the methods to use the serials under Arduino.
    Hope being useful!
     

Share This Page