Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 26th February 2008, 09:02 PM   (permalink)
Default USB to TTL help

I have an old GPS unit from an OnStar system and have a couple of diffrent schmatics to hook it up to a computer. My problem is they all call for the RS232 shifter, namely the one from from sparkfun. Any ideas on how to convert that idea to a USB type of shifter as well as being able to use the ground and 5 volt side to power the unit? Any help would be appreciated.
woody is offline   Reply With Quote
Old 26th February 2008, 11:10 PM   (permalink)
3v0
Default

Are you taking about the SparkFun USB Bitwacker? If so are you not wanting to use it because of current limitations.

How much current does the OnStar system draw ?
3v0 is online now   Reply With Quote
Old 27th February 2008, 01:35 AM   (permalink)
Default

Quote:
Originally Posted by 3v0
Are you taking about the SparkFun USB Bitwacker? If so are you not wanting to use it because of current limitations.

How much current does the OnStar system draw ?
Not the SparkFun USB Bitwacker but rather like the RS232 Shifter, just with an USB plug, not the RS232 connector. It will need 5vdc. Here is a link to what I am trying to achieve. CLICK HERE
woody is offline   Reply With Quote
Old 27th February 2008, 12:15 PM   (permalink)
Default

It looks like those programs are using COM1. Unless you can find a USB program or write one that can interface to Google, I would stick with RS232.
__________________
C:\WHUT ?
Beware the asterisk *
ClydeCrashKop is offline   Reply With Quote
Old 27th February 2008, 02:29 PM   (permalink)
3v0
Default No Porgramming Solution

On the PC make the USB look like a COM port. Use a USB>RS232 converter to connect to RS232 shifter which connects to OnStar.

PC side
Microchip has a PC device driver that uses USB but creates a virtual COM port. It will let you use a PC program written for RS232 with a physical USB connection. The UBW instructions help you find and install it.

OnStar side
Get a USB to RS232 converter. If it does not provide the +5 you can open the cable and get it as described in the link you provided.
Quote:
Power for the module is obtained from a PC USB port. Take a scavenged USB cable and connect the red wire to both the module's +5V pin and the VCC pin of the RS232 Shifter [see diagram above]. The black USB wire is connected to the GND pin of the module and the GND pin of the RS232 Shifter. Now attach the RS232 Shifter to the PC's DB-9 serial port and connect the shifter's RX pin to pin 8 of the module and the shifter's Tx pin to the module's pin 9. Finally, plug the GPS antenna into the module.
Should work and there in no programming.

Most any USB>RS232 converter should work because only the RX and TX signals are used.

Last edited by 3v0; 27th February 2008 at 02:32 PM.
3v0 is online now   Reply With Quote
Old 28th February 2008, 09:35 PM   (permalink)
Default

Cool, thanks for the help. What did you guys think of the idea on using the onstar gps module?
woody is offline   Reply With Quote
Old 28th February 2008, 10:33 PM   (permalink)
3v0
Default

Quote:
Originally Posted by woody
Cool, thanks for the help. What did you guys think of the idea on using the onstar gps module?
Depends on what you are going to do with it?
3v0 is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
USB Power hack with DC/DC Converter - am I crazy? chconnor Electronic Projects Design/Ideas/Reviews 14 8th March 2008 09:12 PM
Microchip USB framework (custom driver) data logger HerbertMunch Micro Controllers 14 26th December 2007 01:55 AM
PIC 18F4550 interacing with USB amax Micro Controllers 7 21st December 2007 02:13 PM
Help needed developing USB peripheral using HID class Adester Micro Controllers 4 22nd November 2007 02:42 PM
usb interfacing problems for a waveform generator simonharvey Electronic Projects Design/Ideas/Reviews 0 26th September 2007 11:31 PM



All times are GMT. The time now is 11:56 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.