Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Using the USB port as a serial port :-)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-24-2009, 06:56 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default Using the USB port as a serial port :-)

I've downloaded the free drivers/software from here,
Zeno USB Host Drivers Windows Mobile Pocket PC freeware software mobile friendly download

Apparently it/they work with WM5/6 etc.

I've ordered a 'small USB 'to 'female type A' converter from Ebay.
When it's delivered, I'll be able to try out the software with a Card Reader, mouse, 'SERIAL CONNECTION' etc with my O2 XDA Orbit.

If this actually works, the serial port bit, then

Watch this space
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #2 (permalink)  
Old 09-25-2009, 04:34 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Errm, "the USB port"?

I thought most PDAs have a USB port but only a client-end port. My Pocket Loox is one of the rarer sort that has host-end too. I use it (with limitations) to connect to a USB stick or a keyboard.

But then it also has a native serial port, so I have no need to try USB-to-serial. Would you not need USB-host to do that?

Mike.
Reply With Quote
  #3 (permalink)  
Old 09-25-2009, 07:13 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi Mjcoon.
Quote:
Would you not need USB-host to do that?
The files I posted links to before seem to do just that.

My O2 xda doesn't have a Serial Port or IR built in.

Many of my 'projects' use Microchip Pic controllers.
Using the USB port on an Xda as a serial port to 'talk' to other devices
would be great for a lot of users of Basic4ppc.
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #4 (permalink)  
Old 09-25-2009, 07:41 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi Taximania, I admit I was going by the "Host" in the link you gave, and my looking up the XDA and seeing it has a "direct" USB port, which can surely only be of one gender. (My Loox is indirect in that a proprietary multi-pole adaptor is needed to plug in USB or either gender or serial cables.)

On the other hand those drivers might work with my Loox; I see it mentions the Loox 560N which is the next one "up" from mine...

Cheers, Mike.
Reply With Quote
  #5 (permalink)  
Old 09-30-2009, 06:10 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quick update, no success

Nothing I plug into the USB port of my XDA is recognised.

But, and it's a small 'but'.
My XDA now has a 'Serial on USB' port at COM8: It didn't before.

I won't connect the XDA to a serial port just yet. 13V might fry the XDA.
So I'll mod a cable and see if it will talk to a MicroPic at 5V levels.

__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #6 (permalink)  
Old 10-01-2009, 11:07 AM
ttu ttu is offline
Newbie
 
Join Date: Sep 2008
Posts: 2
Default

Hi Taximania,
Did you put FT232 chip to PDA usb bus and MAX232 level controller, like any usb-com cable has to provide RS232 connection?
I have Mio P560 device and I will try to do the same.
I wish good luck.
ttu
Reply With Quote
  #7 (permalink)  
Old 10-01-2009, 06:45 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by ttu View Post
Hi Taximania,
Did you put FT232 chip to PDA usb bus and MAX232 level controller, like any usb-com cable has to provide RS232 connection?
I have Mio P560 device and I will try to do the same.
I wish good luck.
ttu

Quote:
I won't connect the XDA to a serial port just yet. 13V might fry the XDA.
So I'll mod a cable and see if it will talk to a MicroPic at 5V levels.
I'm thinking the installed libs might use the USB port in a serial RS232 type way, but only at the USB's 5V levels.
USB only uses 5V lines, so do my Microchip boards.
Therefore I'm going to 'try' a 5V connection with my new 'COM8' on the XDA.
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #8 (permalink)  
Old 10-01-2009, 08:21 PM
ttu ttu is offline
Newbie
 
Join Date: Sep 2008
Posts: 2
Default

Sorry, but I can not understand.
USB has differential transceiver wire pair (d+ and d-).
How can bee directlly Rx an Tx signals?
Reply With Quote
  #9 (permalink)  
Old 10-02-2009, 06:22 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I will be using a Microchip 18F455 with USB support.

Microchip PIC USB source and sample code

Sorry My last post does look a little confusing
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk
Reply With Quote
  #10 (permalink)  
Old 10-03-2009, 07:14 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I've just downloaded 212mb of Microchip USB libs and demo's

I'm sticking to Bluetooth>Serial for now

I think the Xda USB port can 'source' a connected voltage or device.
eg. for charging etc
It certainley doesn't supply voltage via USB.

Good luck with your findings.
I'm giving my head a rest

EDIT: All the examples I came across are programmed in 'C'.
Even the link I posted earlier.
Yes I know 'C', but I can't get my puter to program Pics from compiled Hex files from C programs.
__________________
.
.
.
Don't ask, I'm fine, honest. !!
.
.
.
Just a little crazy at times



O2 XDA, GW Evo 2.1 UC WWE Rom, WM6.1
Radio Ver 03.34.90
With Basic4ppc V6.80


http://www.taximania.co.uk

Last edited by taximania : 10-03-2009 at 07:19 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
serial port splitter BerndB Questions (Windows Mobile) 1 05-16-2009 01:19 PM
Control of Serial Port DrStrangeLv Questions (Windows Mobile) 6 03-30-2009 11:05 AM
Serial Port ceaser Questions (Windows Mobile) 10 01-11-2009 03:26 PM
Serial port handling mjcoon Questions (Windows Mobile) 5 06-26-2008 10:48 AM
GPS and Virtual Serial Port alfcen Questions (Windows Mobile) 2 10-05-2007 01:56 PM


All times are GMT. The time now is 10:28 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0