diff --git a/FAQ.mediawiki b/FAQ.mediawiki index 58ebfb7..3c4ffc4 100644 --- a/FAQ.mediawiki +++ b/FAQ.mediawiki @@ -1,12 +1,22 @@ This is a collection of FAQ-style troubleshooting tips. -== My USB device is not recognized == +== Do I need an OTG adapter? == + +=== Android device and serial device with USB-C connector === + +No OTG adapter is required if the serial device correctly implements USB-C. Typically the the CC pins are connected to GND with 5,1 kΩ resistors each, to mark the device as USB peripheral. + +=== Other connector combinations === Connecting an USB device with just an USB cable will not work. You have to attach an [https://en.wikipedia.org/wiki/USB_On-The-Go OTG adapter] to your Android device to switch it into host mode. This adapter typically provides an USB A socket, where you attach a standard USB cable. +== My USB device is not recognized == + +Check OTG adapter as discussed in previous question. + Check with an App like ''Serial Example'' in this project, if your device is shown. If no USB device is shown, check the web for [https://developer.android.com/guide/topics/connectivity/usb/host.html USB Host Mode] aka. [https://en.wikipedia.org/wiki/USB_On-The-Go USB OTG] support for your Android device. Missing support is more likely for older devices. -For an incomplete list of Android devices with known issues look [[Compatible-Android-Devices|here]]. +For an incomplete list of older Android devices with known issues look [[Compatible-Android-Devices|here]]. == My USB device is recognized, but no driver is detected == @@ -35,6 +45,9 @@ Not all drivers / devices support non-standard baud rates. See [[FAQ#Feature Mat Most Arduinos with CDC-ACM driver use the DTR line to determine serial channel readiness. In your Android code, call setDTR(true); +== Can my Android device be powered by the external device? == + +Typically communication and power supply cannot be combined. Might be possible with USB-C and USB PD implemented in the serial device, but typical USB-C serial serial devices only use simple 5,1 kΩ resistors to GND. == How do I access /dev/ttyUSB0? ==