USB - RS232 / GPS / data logger - Windows Mobile Development and Hacking General

Hello everybody,
first of all, I want to apologize myself for my questions, because they are often discussed in several forums (USB-RS232).
BUT I did not find a solution. Sometimes I found "it works" and sometimes for the same problem "no chance". Enough ;-)
I'm writing a program in VB.net to log
1) all data from the GPS at COM4 and
2) all data from an acceleration sensor which might be connected via the USB-Port of my XDA Orbit (HTC Artemis).
Logging the GPS-data is no problem excepted the speed of the Sirf star III Chip. Can it update faster than 1sec?
My main problem is the connection to the sensor. I know that port of the XDA is an USB-Client. The data I receive from the development-board is sent via RS232-out.
My question:
Is it possible to get those data-strings into the xda to log them via the existing USB-port? How can I implement it?
Can I connect the USB-plug and the RS232 like I found several times in this forum? Does it work???
The solution of this project is very important for me.
For everybodys help, I am very grateful.
Thank you very much.
Greetings from Germany
Dee

If I understand you correctly, you wish to connect an RS232 output to the mini USB connector on your device and log the serial data coming into the USB port? Yes, this is possible, but not without a PIC microcontroller in between. RS232 runs on, IIRC, +9v/-9v, while USB runs on +5v. If you directly plug an RS232 output into your USB input without anything in between you very well might fry your phone. I don't recommend it.
Fortunately, RS232 to USB devices are easily found, both schematics and pre-made adapters.
A quick Google search found this schematic:
http://pinouts.ru/SerialPortsCables/usb_serial_adapter_pinout.shtml
fluxist

Hi fluxist,
thank you for your answer. It sounds very good to me. But does it work with an USB-Client-PDA?
Thanx a lot.
Greetings
Dee

USB Client to rs232
Hellow
If You want "USB Client to rs232" interface please contact me([email protected]). I can produce it for You. I Use this converter in many PDA projects.
Best regards
RBA

Related

av-out on wm5 possible?

hello all,
Is it possible to have av-out on my wm5 device?
I have an mini usb with on the other end a red and a yellow plug.
i've already tried to connect but it just doesn't work.
is there any application i can use so i can connect to my tv via av???
My phone is a orange M600 aka prophet with latest dopod rom.
TIA
rebelish, that is just not going to work. I mean that is not a PC usb port. First its a mini-usb, second its not got all the WinXP functions which enable it to be so.
What might be a solution is to have a SD Socket AV-out (haven't seen any), or even try it through wifi... There is a program (forgot the name) which transfers the picture to the PC through wifi, but probably does not work for video.
Cheers.
A.) most PDA USB ports are slave, meaning normal addons will not work on them
B.) there are indeed SDIO cards that provide a VGA/AV output
The only pda I've seen with video out is the Dell x51v. I'm guessing it's a fair custom job, using more than just a mini-usb cable.
ok Thanks everybody for all the clear answers.
I do think it's a shame that we don't have that function already in our pocketpc's but than again we can't have it all.
I think i'am going for the bluetooth pal adaptor now because with that one can do the job wireless and i can show my 2Mega pixel pics on my tv screen.
everybody thanx again
cheers

PC GPS receiver on Wizard...possible?

I've been given an older gps receiver that connects to a pc via usb. The driver used in that instance is a usb to serial driver and ends up connecting to one of the COM ports. I was wondering if it may be possible to connect the receiver to my Wizard. I've got an adapter that will enable me to at least plug the receiver into my phone, but I'm not really sure how to get the phone to recognize the receiver.
Does anyone know of an app that will allow me to use the mini usb port as a serial port in any way. I know this may be a long shot, but wanted to try. I can try to write something myself in C# if need be to intercept the messages, but I don't really know how to receive those messages through a COM port on the phone. Thanks!!!
By the way, I'm using an unlocked 8125, running WM6 Most Beautiful.
The problem is actually the Wizard doesn't have a USB Host so the RS232 to USB adapter you might be thinking of won't work here. As for getting it to work with the PC, perhaps if the PC is providing the GPS as a service?
I see. I've got it working on the PC, but could probably write something to get it to the phone, but might be a little pointless if I'm already connected to a laptop.
So, it looks like the only way to connect a peripheral to the Wizard is through Bluetooth. Think that is a fair assessment?
DuceEnd said:
I see. I've got it working on the PC, but could probably write something to get it to the phone, but might be a little pointless if I'm already connected to a laptop.
So, it looks like the only way to connect a peripheral to the Wizard is through Bluetooth. Think that is a fair assessment?
Click to expand...
Click to collapse
Yup. There are a few threads about that also.
--M

External USB hard drive

Does anybody know if it is possible to connect the phone to a USB hard drive?
only with flame and Athena as they are the only ones which support usb host
other devices cant use usb devices only be used by usb hosts normaly a pc
There was actually someone who developed a working hard disk storage driver for windows mobile but last I checked the site no longer offered it. Searched for days trying to find the file elsewhere. No luck. Cant think of the company that made the driver.
I'm bumping this as I am also after the same sort of program / utility.
I want to be able to access my External HD and view / play files off it... anyone able to help me out?
Maybe with a external powersupplied disk
Rudegar said:
only with flame and Athena as they are the only ones which support usb host...
Click to expand...
Click to collapse
Correct
Our Hermes has no usb host support. I found a topic at forum.brighthand.com which suggested the host functionality could be added with a usb host driver. I found the software (attached zip) but alas... Though I did exactly as the 'manual' (readme.txt) explained, the usb-stick did not appear in my explorer.
Possibly an external drive with external power supply might work because the hermes usb port is simply not powerful enough to supply the power to the usb-stick. However I did not "explore that possibility" (don't have one ) and chances are 'just a driver' is not enough and hermes lacks "usb host hardware".
dident read the post because you dident give a link to the post just the forum
but i doubt that it's a general thing
many pda's have usbhost in the cpu itself but htc never connected those connectors
so it's not wired to the connector they have their own usb chip
so if the post you read said it about any other pda then htc based one it could be that that manufactor did connect the usb but dident supply the driver which would then be fixed with what you found
Rudegar said:
many pda's have usbhost in the cpu itself but htc never connected those connectors
Click to expand...
Click to collapse
Sounds like there could be the potential for a hardware hack...
heh, nice try. but it will end like GPS HW hack on the TyTN (aka Hermes). it is not worth it, I mean there is easy way, just buy device with GPS integrated, or buy external. I have electronic skills and proper tools, I can do such things but it is too complicated. in that hermes was problem, that antena was not properly connected and you can never get a GPS lock. I guess that with usb host is the same. missing circuitry.
Deuce Nitro said:
Sounds like there could be the potential for a hardware hack...
Click to expand...
Click to collapse
Yepp!
Hi,
this is correct
sinmae said:
heh, nice try. but it will end like GPS HW hack on the TyTN (aka Hermes). it is not worth it, I mean there is easy way, just buy device with GPS integrated, or buy external. I have electronic skills and proper tools, I can do such things but it is too complicated. in that hermes was problem, that antena was not properly connected and you can never get a GPS lock. I guess that with usb host is the same. missing circuitry.
Click to expand...
Click to collapse
The USB host port of the Samsung CPU is used to connect to the internal GSM/GPRS chipset. So no chance to break it up!
If someone would ever hack this hardware part, the result would be a hermes without radio.
The engineers at HTC used the USB host port to achieve the necessary bandwith for high speed data connection to the GSM/GPRS chips from Qualcomm.
Best regards,
scholbert
thats an interesting information, thanx
scholbert said:
The engineers at HTC used the USB host port to achieve the necessary bandwith for high speed data connection to the GSM/GPRS chips from Qualcomm.
Click to expand...
Click to collapse

Serial Port for Athena t-mobile ameo

I cant find a pinout for the 16pin plug and was wondering where I can find it, but I dont think that would help me anyway.
I have a requirement for a Standard Serial port (RS232 type not USB).
Does anyone have any experience/advice on how to do this?
Do USB to serial adapters work?
Is there a mini SD to Serial port that anyone makes?
Any other ideas?
Thanks in advance
Jon
Have a look at something like this http://www.roalan.com/Bluetooth Wireless Serial RS232 Converter.htm you will have to code your own application for the phone to make use of it, I have used a similar device with my Athena - Mike
Thanks,
I am trying to avoid a wireless conection. What I am trying to do is use the Athena as a moving map for a glider. To do this I need to make use of an external GPS NMEA source. The software I am using works fine on a pda that has a std com port, I am hoping for a 'quick fix' to try it on the athena.
will this work, I havent looked for drivers yet tho!
http://www.roalan.com/USB to Serial RS232 RS422 RS485 Converter.htm
Cheers
Jon
I have to ask the obvious question though, why not use the internal GPS receiver in the phone? - if the application software you have isn't capable of switching the internal GPS on (some struggle with this) use Fransons GPS Gate to activate the inbuilt receiver and configure the ports, I would expect the inbuilt GPS to work quite well in a glider to be honest, and it does output NMEA data - what mapping application are you trying to use?
USB / RS232 converters are not the way forwards though, the mini USB port on the device is not a true USB port, it will not work with this sort of hardware, even if it did the converters generally don't work well as they don't use standard RS232 voltage levels - Mike
A good question. The external NMEA source contains additional sentances for things like accurate air speed and vertical speed that comes from a flight computer making measurements of the air. This is used for some of the calculations on the PDA. The software I will probably use is called SeeYou http://www.naviter.si/products/seeyou-mobile.php. There are several others, but this seems to work best in Landscape which is how I want it.
The internal GPS works fine with the software just to give map position.
I have managed to get it working by emulating a NMEA output over Bluetooth from a PC. I will try something like the Bluetooth to serial adapter and see what happens!
Cheers
Jon

Connecting Keyboard Like Devices via USB or Bluetooth To Mogul - Hack / Build / OFS ?

It was suggested in the Titan forum on another subject that this type of discussion would be more appropriate and fruitful in the developer area.
I have just enough knowledge and experience to be dangerous with a soldering iron and electronic parts.
Connecting Keyboard Like Devices via USB or Bluetooth To Mogul
I have searched through the posts here and in other forums and have not found a precise or complete answer to these questions. Any help would be appreciated. I'm not an expert. I did read one post about using the Mogul as a control device ( keyboard ) however a very useful application is to use the Mogul as a data collection device in the field, especially when end users may have devices all ready connecting to laptops/desktops via the USB and seen as ASCII output ( like a 101 keyboard ).
Does the Mogul have USB host capability through the connector? There seems to be conflicting opinions. If it does what is needed to turn on the capability?
This is the scenario I am trying create without having to rebuild or build new devices. A cost effective solution is the goal.
Assume the data collection devices I want to connect to the Mogul have a standard USB connector and wiring the same as a USB 101 type keyboard ( though the devices are not keyboards ) and the signals coming out of the connector are the same. The data stream is ASCII character stream. The USB devices are self powered so they do not need to draw the 5 volts from the Mogul.
The goal is to connect such a device to the Mogul directly via the USB connector so that it looks like a keyboard OR connect the device to an external Bluetooth transmitter that looks like a Bluetooth keyboard.
Off the self product would be preferable to having to black box the project.
It would seem simple considering there are USB Bluetooth transmitters at fairly low cost, but I have not been able to find one for this specific application. Hacking and existing Bluetooth keyboard might work but it would be a bulky solution, a considerable downside as well as expense for each of the devices.
I'm not a corporate Mogul, just a single employee company / end user who has specific data collection needs.
Thanks in advance

Categories

Resources