So the Photon can be used as a Cell Phone Dongle! That is fairly cool, except useless unless we can control it. So I thought I would look into a Phonegap (Cordova) App. Of course nothing is easy. Do these serial communication proticals mean anything to you? CdcAcmSerialDriver Ch34xSerialDriver Cp21xxSerialDriver FtdiSerialDriver ProlificSerialDriver The USB ANdroid App I used above on my Android Phone mentions these proticals: The ARDUINO Supports(FTDI, CDC/ACM) Looks like the best bet is FTDI but I am not sure.. I am now trying to get the usb serial stuff working from Phonegap using this blog. Android 3.1 introduced USB hostmode which allows the user to plug USB devices to your Android tablet in the same way as a Desktop PC and extend its functionality (if the tablet has the correct drivers of course).This application will provide information about almost all currently plugged-in USB device (see below for more info about the 'almost'). Installation of oracle 11g release 2 on solaris 10 x86 download. Information includes:•The Device class•The USB device path•The Vendor ID (VID) and the Product ID (PID).•A List of all interfaces and their endpoints.I. It will be much better when cloud9 makes the Android-SDK docker image I have been asking for (they are working on it, I submitted the dockerfile three weeks ago) Basically it is an entire Android-SDK, node, python, ant, gradle, apache2 online ubuntu server for free (limitations unless you want to pay, it shuts down every 24 hours, which is fine with me). I have used it to make a phonegap android app.apk ready to download from a webpage to install on your phone in about three clicks. I will write it up better when I am less exhausted. Basically anyone who knows how to make webpages should be able to use the photon as an Android Dongle to control whatever they are connected to. I’ve seen an instance of this operating very recently, but my takeaway is very dubious in nature. My reason is that the Droid side support is sketch as I’ve not seen any indication that OTG enumeration makes a UART VCP? I know FTDI has some silicon solutions (311/312) that utilize Android AOA and stream IO, so if anyone can cite the combination of things required for real OTG/Serial in Android I’d be highly appreciative. Hoping someone here on this maker forum will jump in with this info? Having this connectable to Photon is a game changer for me. Most interesting, Mike - The cable you cite uses the FT232R USB/Serial silicon. I’ve used this chip on small “dongle boards” for enumerating VCP’s on PC hosts. I’m intrigued that it enumerates to Android when used with the Android USB Host API. I’ll look deeper at this lib and it’s underlying operation. The micro usb to serial adapter cable for android converts the micro usb port on your android mobile device into an rs232 db9 connection, letting you control a serial device from the convenience of your smartphone or tablet. For more control options, the device server is compatible with the free, startech.com serial device application. Now if they only made this cable with a microB connector to avoid the OTG adapter? I also just received the UMFT311EV which uses the FT311 silicon interface and enumerates to Android using the AOA API and streams in/out as a file like device (with many additional interface options). Thanks for posting this, I like having choices! Persamaan ic an 17810. Bump Trying with no luck to implement the direct “Photon to Android” OTG serial connection as outlined here in the tutorial: I’ve tried multiple Android devices (S3 running v4.1.2 / S5 running 6.0.1) and I’ve tried all variants of potential USB configuration in my Android 6 device (charging, MTP, PTP, etc). I’ve also verified the cables are operational (connecting to other devices), and I’ve downloaded the cited Play Store app (and others) to no avail. Does anyone have an operational tandem of Photon and Android software, and if so could you please share the particulars? Having a small serial debug terminal on a Smart Phone would be a great tool for my applications. ![]() Thanks in advance.
0 Comments
Leave a Reply. |