[Free] Arduino USB Serial Extension

usb
serial
otg
arduino

split this topic #64

A post was split to a new topic: Send value to consigne


#65

@pavi2410 Ok, I just got my Arduino UNO R3 and a lot of electronical components. I will try it in 30-60min.


#66

Sorry for being so late! Ok, just a couple more tests like 20min and I reply to this topic does it work.


#67

Cant get it working. My phone doesn’t recognize Arduino at all, any suggestions? I am using Official Arduino UNO R3 with HAMA USB-OTG (for usb drives it works) // I am trying to do something, wait.


#68

I’ve prepared some trouble-shooting steps over in the directory:


#69

The main thing is that USB configuration notification is not even shown.


#70

Do you have the USB connection set to MTP on your phone?


#71

I am saying that :smiley:, the USB configuration notification (for changing mtp, midi, etc) is not even shown.


#72

It should be in developer options in your settings.


#73

Yup, Media Transfer Protocol. Any ideas? Also this extension detects by itself Arduino?


#74

Can you share your code?


#75


#76

When you plug in the OTG Cable does the power LED in the Arduino light up?
Were you prompted for permission to “Allow access to the USB device”?
What happens when you shake the phone?


#77

Arduino works pretty well. I have connected LED and a button and it works. @Domhnall any ideas?


#78

Also, what sketch are you running on the Arduino? How are you handling the Total.text " EUR" in your code?


#79

Right now, not. Because I don’t even get permission for “Allow access to USB device.”. @Domhnall any ideas?


#80

It’d be really helpful if you quoted the question you are answering…

My understanding so far:

Yes - MTP is enabled.

No. No prompt appears when the app is loaded and the Arduino is then plugged in.

The power light does not illuminate when the Arduino is plugged in.[quote=“Domhnall, post:78, topic:2624”]
What happens when you shake the phone?
[/quote]

Not answered[quote=“Domhnall, post:78, topic:2624”]
what sketch are you running on the Arduino?
[/quote]

Not answered

Not answered.

Am I right to assume that when you plug your Arduino into the OTG cable connected to you phone that no lights on the Arduino turn on at all?


#81

Yes!

No, prompt never appeared (yet).

Yes, it does. Green light flashes near “ON” and orange light near “L”

Nothing.

[quote=“Domhnall, post:80, topic:2624”]
How are you handling the Total.text " EUR" in your [arduino] code?
[/quote]

@Domhnall any ideas right now? :slight_smile:


#82

Do you have toast enabled in your app? When you shake the phone you should see messages saying something like “Initializing” and “Opened”.

On the Arduino side, you should include:

Serial.begin(9600); inside your setup function: void setup(){ }

Finally, the Serial.read() function only reads one byte at a time.

You might have better luck if you try the example that I uploaded to start with blinking the LED rather then adding the the 16x2 LCD display, it’s just another potential source of errors at this stage.


#83

But shouldn’t my app show permission dialog?