omaraflak / Arduino-Library

A lightweight Android library to communicate with Arduino through usb.
94 stars 26 forks source link

Android arduino Serial Communication between Wemos D1 R2 & Mini using OTG #15

Open Hassan14003 opened 4 years ago

Hassan14003 commented 4 years ago

I actually have been successful in doing the android arduino serial communication. Now, I want to shift my arduino circuit to Wemos D1 & R2 mini. Because of that reason, I want Android arduino serial communication. I though that it will simply work out by simply connecting the cable of Wemos with OTG and then to android. That is not working. I want to know, Is that possible to do that? and if that is so, how can I do this?

omaraflak commented 4 years ago

Hi. If this is normal serial communication it should be possible. You need to get the vendor id of your device and add it to the filter of the library using the addVendorId(0x1234) method. Have you tried that ?