isl-org / OpenBot

OpenBot leverages smartphones as brains for low-cost robots. We have designed a small electric vehicle that costs about $50 and serves as a robot body. Our software stack for Android smartphones supports advanced robotics workloads such as person following and real-time autonomous navigation.
https://www.openbot.org
MIT License
2.82k stars 528 forks source link

Openbot Android app #22

Closed moosa1996 closed 4 years ago

moosa1996 commented 4 years ago

Hi I have a issue on connecting my nano USB to my mobile type c. cant able to establish USB Connection.I have enabled my developer USB debugging in my android mobile. But still device is not connected in OpenBot app.What is the issue ? issue

francisduvivier commented 4 years ago

Which phone do you use? It might not support USB OTG

On Fri, Sep 4, 2020, 13:01 moosa1996 notifications@github.com wrote:

Hi I have a issue on connecting my nano USB to my mobile type c. cant able to establish USB Connection.I have enabled my developer USB debugging in my android mobile. But still device is not connected in OpenBot app.What is the issue ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/intel-isl/OpenBot/issues/22, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASZQZ4QTUQXR5QGUUQSVCDSEDCH5ANCNFSM4QYCQNOA .

thias15 commented 4 years ago

When you first connect the Arduino to your phone it will ask you for permission to access the USB device. Did you see this dialog?

If yes, you need to give permission.

If no, you probably have a connection issue.

mikeh9 commented 4 years ago

Can you confirm you used the cable specified in the BOM? It needs to be an OTG cable (ID connected to ground)

moosa1996 commented 4 years ago

Which phone do you use? It might not support USB OTG On Fri, Sep 4, 2020, 13:01 moosa1996 @.***> wrote: Hi I have a issue on connecting my nano USB to my mobile type c. cant able to establish USB Connection.I have enabled my developer USB debugging in my android mobile. But still device is not connected in OpenBot app.What is the issue ? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#22>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASZQZ4QTUQXR5QGUUQSVCDSEDCH5ANCNFSM4QYCQNOA .

I'm using One plus 5T which supports OTG(TYPE C USB Charging port). I tried Using Oppo F9 pro too(micro USB charging port)

moosa1996 commented 4 years ago

When you first connect the Arduino to your phone it will ask you for permission to access the USB device. Did you see this dialog?

If yes, you need to give permission.

If no, you probably have a connection issue.

  • Double-check the baud rate of App and Arduino are the same (they should be unless you changed something.
  • Try another cable.
  • Confirm your phone supports USB-OTG.

Yes it asked for permission to access the USB device. I gave yes and the openbot app opens automatically when my arduino nano is plugged into OTG. but when the app is opened it shows a dialogue text "Please Check the USB Connection". Why so?

moosa1996 commented 4 years ago

Can you confirm you used the cable specified in the BOM? It needs to be an OTG cable (ID connected to ground)

I used cable converter. One is "Type C to USB female" and other is "Mini to USB male" i have attached my converter cables for your reference 4201bd64-8364-45ad-8ca6-8de23d9198cd

thias15 commented 4 years ago

Should work in principle, but we never tried with adapters. Can you verify with another phone or device that the cables work?

thias15 commented 4 years ago

What happens when you try to toggle the connection switch in the app? Are you sure the Arduino has the firmware flashed correctly? Can you try to flash it again and then open the serial monitor to see if the Arduino is connecting and sending it's messages.

thias15 commented 4 years ago

Closing due to inactivity.