Solved

How to communicate via USB on Windows CE

Posted on 2010-09-03
2
734 Views
Last Modified: 2013-12-21
Hi experts,
I have an equipment that has only serial communication and I need to communicate with it via a handheld that has WinCe 6.0 installed in it.  The problem is that the handheld only has USB communication available.
I found a serial to USB converter which can be connected to the equipment but I don't know how to communicate from a handheld via USB
0
Comment
Question by:rudy2024
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Accepted Solution

by:
Dr. Klahn earned 500 total points
ID: 33601235
USB to serial converters should come with a driver CD that contains installation information.  Of the "inexpensive" units I've purchased on ebay, generally the USB communication port is mapped to a standard COM port (COM1:, COM2:, etc.)   This allows legacy communication software such as Kermit and Hyperterminal to use the USB adapter as though it were a traditional serial port.

If there is an ongoing need to communicate with the device automatically (e.g., for data logging) and there is no prewritten software available, a custom-written Perl script will be able to do the job.
0
 

Author Closing Comment

by:rudy2024
ID: 33601885
Thanks for your input, although I don't know why you bring up "CD" and "Perl".  Neither of them can be used in handhelds or win ce.
Anyway, your input helped me realize it's just a matter of installing a virtual COM for USB with a USB to Serial converter.  
Found where I can order the converter from:
http://www.commfront.com/USB-Serial-Adapters-Converters/USB-RS232-Converter-Adapter.htm

This converter uses FTDI chip to communicate with the USB and sends serial out.  The driver for WinCE can be downloaded from:
http://www.ftdichip.com/Drivers/VCP.htm
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question