Android Question mobile phone able to use usb to serial?

dpetrinic

Member
Licensed User
Longtime User
Hi to all,

would like to write program to use USB to SERIAL adapter for data logger for personal use. Is there anybody to help me with information which mobile to buy to be able charge and use USB to SERIAL adapter connected at same time.
Data logger should have serial communication as well as wifi communication.

Thanks for any information, will appreciate it.

Thanks, Rgds
Damir
 

dpetrinic

Member
Licensed User
Longtime User
Thanks Erel,
I did read this before but still looking for mobile phone unit able to communicate over USB. Can you suggest something, Samsun Galaxy s2,3,4 have USB OTG, but I am not sure if they can be used by library? Could you help me, I don't want to spend money for nothing.

Regards,
Damir
 
Upvote 0

ernschd

Active Member
Licensed User
Longtime User
For Samsung Devices you have to buy an Samsung USB Host Adapter. Other Smartphones (running Android 3.1 to 4.x) can use cheaper USB Host Adapters. You have to check the chip on the device which you want to communicate with (FTDI, PROLIFIC, SILABS and so on).
 
Upvote 0

dpetrinic

Member
Licensed User
Longtime User
Hi Ernschd,

thanks for answer. as I understand this is just cable gender changer, from mini USB to USB connector. I don't believe that USB host electronic is inside box. What I'm looking for is just somebody experience in mobile phones to be used with BASIC4ANDROID. What phone or tablet you are using. I did have experience with USB communication as well as serial and many different protocols within different micro controllers, PIC,ATMEL,Intel, but this is first time I would like to use mobile phone instead of micro control unit design and develop by me. I really need information from experiance and then check market in Croatia to be able to buy phone which I can use.
Regards,
Damir
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
I would like to use mobile phone instead of micro control unit design and develop by me

Hi, and since you are comfortable with mController design, then I would suggest to you to make a very small
pcb just with the USB chip and also another one for the serial communication (max232.. etc).
this way you don't need a driver or special protocol to talk to your final product using any cell phone with USB.
Also consider using bluetooth because it is much easier and straight forward.
 
Upvote 0

ernschd

Active Member
Licensed User
Longtime User
Damir, it's not just a gender changer, for Samsung Devices this specific cable is necessary!
I have tried several adapters from several manufactures which are working flawlessly with other phones, but Samsung needs that special Samsung cable. You can try it by yourself.

Tested Devices that works with common USB Host adapters are:
  • Google Nexus 7
  • Mobistel Cygnus T2
  • Xiaomi MI2
  • HTC One V
  • Sony Ericsson MK16i
  • HTC Flyer
On the controller site we use the FTDI FT232R.
 
Upvote 0
Top