send serial data to PC through USB cable

Discussion in 'UDOO NEO' started by Ahmed Saleh, Feb 20, 2016.

  1. Ahmed Saleh

    Ahmed Saleh New Member

    Joined:
    Feb 14, 2016
    Messages:
    11
    Likes Received:
    1
    when Programming Arduino from external PC using Arduino 1.6.5 IDE version i can't use arduino serial monitor to see the serial data i have sent using serial.print (). Is there any way to send serial data to PC through USB cable?
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Andrea Rovai likes this.
  3. Ahmed Saleh

    Ahmed Saleh New Member

    Joined:
    Feb 14, 2016
    Messages:
    11
    Likes Received:
    1
    so you mean that the serial communication already occurs between UDOO Neo and the PC but i cant use the serial monitor to see it ?
    And if yes can i use any other tool such as minicom to see the data ? Or there is no serial communication occurs at all ?
     
  4. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Arduino on Neo has 2 serial ports: 1 to external pins so you have to have a serial to USB converter to read that on your PC and 1 port to the A9 Linux Core.

    Perhaps if you make an SSH or VNC connection through USB Direct Connection you could read the serial connection on the Linux side with
    minicom -D /dev/ttyMCC.
    But I don't know if external programming still worrks if you have an active USB Direct Connection.

    I am wondering why you use the Neo only for Arduino? You then better just buy an Arduino instead of a Linux/Arduino combination. Its cheaper also :)
    Or programm it from Linux Arduino IDE, then you dont have this communication issues also.
     
    Ahmed Saleh likes this.
  5. Ahmed Saleh

    Ahmed Saleh New Member

    Joined:
    Feb 14, 2016
    Messages:
    11
    Likes Received:
    1
    I'm still a beginner and i want to take it step by step and Arduino is easier and doesn't have the powerful capabilities of Neo and all its features.
     
  6. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Well, in this way you are making it just harder for yourself. Use the Linux part too.
    When I started with the Neo I did not have any Linux experience too. You have to see the Linux part as a PC and then you don't need your own PC any more.
     
    Andrea Rovai likes this.
  7. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Dear @waltervl, many thanks for the bugs report, I've just added a note in the docs.
    I also suggest you to listen to waltervl: don't be afraid of Linux! Moreover there's a lot of resources online for getting started with Linux
     
    waltervl likes this.

Share This Page