Arduino and USB ports

Discussion in 'Arduino IDE' started by Louis Nominé, Jan 11, 2017.

  1. Louis Nominé

    Louis Nominé New Member

    Joined:
    Sep 20, 2016
    Messages:
    1
    Likes Received:
    0
    Hi everyone,
    I'm planning on developping a little application that uses a joystick to move a camera, my question is simple, do you know if it possible on a UDOO quad to read data from the USB port using the arduino part ?

    Thanks to all!!
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    The Arduino part of a quad is an Arduino Due so you have to look there it it is possible. You also have to look if the correct USB port is available, see the the documentation. If it is only a joystick you want to read and move the camera you could also skip Arduino and do it completely on Linux.

    On the other hand a joystick is normally made of two analog outputs that you could directly connect to the arduino analog inputs.
     
    graugans and Andrea Rovai like this.
  3. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    You can consider to read the USB joystick in Linux and send the commands to the Arduino. Or like @waltervl already suggested to it completely in Linux.
     

Share This Page