USB on arduino side ?

Discussion in 'UDOO X86' started by TGo1, Apr 18, 2018.

  1. TGo1

    TGo1 New Member

    Joined:
    Jan 3, 2018
    Messages:
    26
    Likes Received:
    0
    Hi all,
    I just seen that there is one USB port on Genuino 101 board alone.
    Is this USB port exist on arduino side in UDOO ULTRA Board ?
    If YES, how can i used it and where is connector?
    TU
    Thierry
     
  2. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    536
    Likes Received:
    194
    Arduino 101's USB port in UDOO x86's implementation is internally (exist only in PCB traces)
    connected to Intel Braswell's USB port #3 and not exposed.
    It is used as Arduino IDE (x86 is the master) communicating with the Arduino device's command-n-control channel (as serial COM port.)
     
  3. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    And if you want to connect an external USB device to the Arduino 101 to exchange data with serial protocol you can attach a TTL-to-USB device to pins 0/1 and talk to it with Serial1 object in the sketch. https://www.arduino.cc/en/Guide/Arduino101#toc12
     
  4. TGo1

    TGo1 New Member

    Joined:
    Jan 3, 2018
    Messages:
    26
    Likes Received:
    0
    OK,
    I already use Inside USB port and outside uart genuino port.
    I will find another solution.
    Thanks
     
  5. TGo1

    TGo1 New Member

    Joined:
    Jan 3, 2018
    Messages:
    26
    Likes Received:
    0
    I tried to use SoftwareSerial.h librairy but il doesn't work in my case, because i have a lot of gpio interrupts and full duplex on uart...
     
  6. ccs_hello

    ccs_hello UDOOer

    Joined:
    Apr 15, 2017
    Messages:
    536
    Likes Received:
    194
    Ahh.... That tiny Intel Curie needs a break.
    Probably using a more powerful external Arduino to do the heavy lifting/share some burdens.
    (I suggest the super cheap STM32F103 based solution. Mega2560, or Due are also fine.)
     
  7. TGo1

    TGo1 New Member

    Joined:
    Jan 3, 2018
    Messages:
    26
    Likes Received:
    0
    Not possible for me, I used UDOO ULTRA board with genuino 101 embedded ....
    I tried too NeoSWSerial lib but it doesn't work with my MCU !!! :mad::mad::(
     
  8. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
  9. TGo1

    TGo1 New Member

    Joined:
    Jan 3, 2018
    Messages:
    26
    Likes Received:
    0
    Yes I use that library, but after any minutes, uart stop to work without know why ???
     
  10. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    What uart? The build in one? Or the one you are creating with CurieSoftwareSerial?
     
  11. TGo1

    TGo1 New Member

    Joined:
    Jan 3, 2018
    Messages:
    26
    Likes Received:
    0
    The one i created with CurieSoftwareSerial. But for this test, i didn't use interrupt, only this virtual uart in Rx ....
     
  12. TGo1

    TGo1 New Member

    Joined:
    Jan 3, 2018
    Messages:
    26
    Likes Received:
    0
    Another test without CurieSoftwareSerial lib but replaced by uart build in one work fine.
     
  13. TGo1

    TGo1 New Member

    Joined:
    Jan 3, 2018
    Messages:
    26
    Likes Received:
    0
    I tried with less speed on virtual uart (pin 9 & 10) , i send a string with 32 characters all 100ms.
    At 19200Bds, worked ok during 23'
    Now i trying at 9600Bds ...
     
  14. TGo1

    TGo1 New Member

    Joined:
    Jan 3, 2018
    Messages:
    26
    Likes Received:
    0
    Idem, virtual uart stop working at 20' :(:(:(
     
  15. TGo1

    TGo1 New Member

    Joined:
    Jan 3, 2018
    Messages:
    26
    Likes Received:
    0
    I don't understand, when i add CurieSoftwareSerial, only SoftwareSerial.h file is added !!!
    It's the same library that SoftwareSerial choosed !!! No difference !!!
     

Share This Page