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.

Assert usb data pin

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-18-2010, 06:49 PM
enonod's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: U.K.
Posts: 324
Default Assert usb data pin

Is it possible to assert a USB data pin directly, for use as a control to something else please. It can be done with serial via the serial library but I cannot find a serial cable for PDA but have USB.
__________________
You never stop learning until you die.
Sometimes I think I am dead.
Sometimes others think I am dead!
Homesite: http://www.don-simmonds.co.uk for Libyan Mural

Device:Viewsonic VPad7, Android 2.2.2
Reply With Quote
  #2 (permalink)  
Old 06-18-2010, 07:36 PM
taximania's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire. UK
Posts: 592
Awards Showcase
Beta Tester 
Total Awards: 1
Default

As soon as there is,
I'll be the first to let you know.

Unless someone knows different . . . . . .
__________________
.
.
.
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
  #3 (permalink)  
Old 06-19-2010, 07:08 AM
enonod's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: U.K.
Posts: 324
Default

I'll take that as a no then.
__________________
You never stop learning until you die.
Sometimes I think I am dead.
Sometimes others think I am dead!
Homesite: http://www.don-simmonds.co.uk for Libyan Mural

Device:Viewsonic VPad7, Android 2.2.2
Reply With Quote
  #4 (permalink)  
Old 07-14-2010, 06:37 AM
Junior Member
 
Join Date: Mar 2008
Posts: 10
Default

Some PDAs have a serial interface that is not exposed to the user...

For instance, my Asus MyPal A639 has COM 1 which is a standard serial interface within it's sync connector, although Asus doesn't tell you about it. First I got a datasheet for the Texas Instruments IC that handles the Serial IO for the PDA. It showed that it uses TTL signals and voltage levels. I had to build a custom serial cable with the Asus connector on one end. Figuring out the pinout was a bit tricky, you need to write some software for the PDA to both send and receive data via the com ports. Then you have to use another device to submit data to the pins as well as check for output data. That's how I found which pins were TxD and RxD. Crude but effective.

Once you have the cable, the rest is simply handled by software... I used COM 1 as a normal port to connect to my optics.

If you happen to have an Asus A639 or other 6xx series, I can share my pinouts with you. Send me an e-mail and specify XLS or TXT format.
Reply With Quote
  #5 (permalink)  
Old 07-14-2010, 12:33 PM
enonod's Avatar
Basic4ppc Veteran
 
Join Date: Oct 2007
Location: U.K.
Posts: 324
Default

Thanks for your input. I have solved the issue a few weeks ago (posted 19 June I think)
I have an Acer 310 and was aware of the Com port, but didn't know the number because there are simulated ports, and that it was not physically exposed except on the connector.
I did exactly as you have described, wiring into the cable 26 minute pins which has a USB on the other end. I just brought out earth and RTS which worked fine. I just thought that USB would avoid any wiring.
I am using this new cable with a program I have written for Time lapse photography, triggering the SLR via wireless, from the Acer. Works very well.
There were two web sites showing the pinout, I believe I posted somewhere on this forum that one of them is totally wrong, possibly a Russian one. Beware anybody doing the same.

My cable of course now has a dangling USB connector. If your connector is 26 pin as on mobile phones I would be grateful to know where you got it to build your cable. I would much rather do as you have from scratch and perhaps put a full serial on the end.
Thanks for your offer of pinouts but I have them for mine.
__________________
You never stop learning until you die.
Sometimes I think I am dead.
Sometimes others think I am dead!
Homesite: http://www.don-simmonds.co.uk for Libyan Mural

Device:Viewsonic VPad7, Android 2.2.2
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
use data from another exe (cmd) Mr_Gee Questions (Windows Mobile) 8 10-09-2009 07:35 PM
copy data from 1 db to another gjoisa Questions (Windows Mobile) 5 07-12-2009 05:42 PM
gps data string tremara1 Questions (Windows Mobile) 2 06-02-2009 09:04 AM
data transmission WolfgangGruia Questions (Windows Mobile) 9 07-15-2008 04:56 PM
Best data to work with GPS Put Claude Questions (Windows Mobile) 4 10-21-2007 08:58 PM


All times are GMT. The time now is 04:51 AM.


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