Communicating with Android device in terminal mode, Teensy 3.6 USB1

Status
Not open for further replies.

zappa

New member
Hello everybody!

I am new to this forum, and have seen a few hints in past posts on my topic (https://forum.pjrc.com/threads/27618-Android-tablet-as-serial-terminal-works), but am still not sure if it can be done the way I need.

I am migrating a project from Arduino Due to Teensy 3.6. An Android tablet is talking via a USB to serial converter cable to a UART on the Arduino. The converter cable is something like this using an FTDI FT312D chip: https://www.startech.com/uk/Cards-Adapters/Serial-Cards-Adapters/micro-usb-serial-adapter-android~ICUSBANDR232. Type of data transferred are GPS sentences containing ASCII characters, typically 100 characters every 200 milliseconds. On Android side my own app processes these data, I can also communicate via an app from the playstore called "FTDI AOA HyperTerm". So if this terminal app can send and receive data, so can my app. Communication parameters are 115200, 8, 1, N.

I could use the same setup on the Teensy (via UART and converter cable), but am wondering if I could make things simpler without the converter cable:
So here's my question: can USB1 (USB0 is already in use) on the Teensy 3.6 communicate directly via a USB (host) cable to an Android device in terminal manner described above?

Basically I prefer wired connections to bluetooth for reliability and delay/lag, but maybe someone can convince me that bluetooth or wifi is dead reliable and super easy to implement for this application (I could bring a BT/Wifi transceiver as close as 10 cm to the android device if necessary, else it would be approx. 2 m away).

Thanks for any suggestions and hints!
Thomas
 
Status
Not open for further replies.
Back
Top