Welcome to the North American Subaru Impreza Owners Club Thursday September 9, 2010
Home Forums WikiNASIOC Products Store Modifications Upgrade Garage
NASIOC
Here you can view your subscribed threads, work with private messages and edit your profile and preferences Home Registration is free! Visit the NASIOC Store NASIOC Rules Search
Find other members Frequently Asked Questions Calendar Archive NASIOC Upgrade Garage Logout

Go Back   NASIOC > NASIOC Miscellaneous > Off-Topic

Welcome to NASIOC - The world's largest online community for Subaru enthusiasts!
Welcome to the NASIOC.com Subaru forum.

You are currently viewing our forum as a guest, which gives you limited access to view most discussions and access our other features. By joining our community, free of charge, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is free, fast and simple, so please join our community today!

If you have any problems with the registration process or your account login, please contact us.
* Registered users of the site do not see these ads.
Reply
 
Thread Tools Display Modes
Old 01-20-2009, 04:11 AM   #1
NSFW
Scooby Specialist
 
Member#: 140444
Join Date: Feb 2007
Chapter/Region: NWIC
Location: Near Seattle, WA
Vehicle:
05 Stage Free LGT
ATP 3076 + AVO FMIC

Default Any EEs in the house?

I want to read a TTL serial signal via USB. I think this should be pretty straightforward, but I'm hoping that someone better versed in electronics than myself can give me a sanity check first.

I've got a wideband O2 sensor in my car, made by PLX Devices, which puts out a TTL serial signal on a 1/8 headphone-style jack. And I've got a CarPC with a spare USB input. To bridge the gap, I've got an FTDI serial level converter, conveniently packaged like this.

I plan to connect the grounds from the WBO2's serial output and the converter's input, and connect the WBO2's serial output to the converter's serial input, and I'm hoping that this won't let the smoke out of any of the aforementioned components.

Some other folks have done essentially the same thing using an old-school 9-pin serial adaptor, as seen here.

My only worry is that the various power supplies (in the WBO2 controller, the CarPC, the USB hub's power supply) won't all agree, and I'll have current flowing through the ground connection or possibly the serial signal line. I plan to test those paths with a voltmeter - if it reads zero, I assume I'm safe. Am I right? Are there any precautionary steps I can/should take to keep this safe?

Thanks in advance.
* Registered users of the site do not see these ads.
NSFW is offline   Reply With Quote
Old 01-20-2009, 04:36 AM   #2
Qcanfixit
Scooby Specialist
 
Member#: 135762
Join Date: Dec 2006
Chapter/Region: Tri-State
Location: Cool Story, Brogue
Vehicle:
4002 amixam
Q Wheel Drive

View Member's Myspace Profile View Member's FaceBook Profile
Default

people want to help... but with no flesh offering... especially with a handle like "NSFW"


it's soo hard...


Qcanfixit is offline   Reply With Quote
Old 01-20-2009, 12:47 PM   #3
NSFW
Scooby Specialist
 
Member#: 140444
Join Date: Feb 2007
Chapter/Region: NWIC
Location: Near Seattle, WA
Vehicle:
05 Stage Free LGT
ATP 3076 + AVO FMIC

Default

Oh, right. How could I forget?







I'll post more and better if y'all make it worth my while.
NSFW is offline   Reply With Quote
Old 01-20-2009, 01:07 PM   #4
hooziewhatsit
Scooby Newbie
 
Member#: 143938
Join Date: Mar 2007
Chapter/Region: NWIC
Location: State of Jefferson
Default

The pinout on the 1/8" headphone jack is probably RX/TX/Ground, correct?

If so, you shouldn't have any issues with power going through the system. The FTDI chip will be powered from the laptop, and the O2 sensor from its supply. You must connect the grounds.

Also make sure TX from the O2 sensor is connected to RX into the laptop. If it doesn't work, swap them

Sounds to me like it should work just fine.

-Dave (embedded hardware & software engineer)
hooziewhatsit is offline   Reply With Quote
Old 01-21-2009, 03:59 AM   #5
NSFW
Scooby Specialist
 
Member#: 140444
Join Date: Feb 2007
Chapter/Region: NWIC
Location: Near Seattle, WA
Vehicle:
05 Stage Free LGT
ATP 3076 + AVO FMIC

Default

Quote:
Originally Posted by hooziewhatsit View Post
The pinout on the 1/8" headphone jack is probably RX/TX/Ground, correct?

If so, you shouldn't have any issues with power going through the system. The FTDI chip will be powered from the laptop, and the O2 sensor from its supply. You must connect the grounds.

Also make sure TX from the O2 sensor is connected to RX into the laptop. If it doesn't work, swap them

Sounds to me like it should work just fine.

-Dave (embedded hardware & software engineer)
Cool, I was hoping it would be that simple. Just afraid it might not be. The headphone jack is TX/not-connected/ground, actually. It doesn't listen, only transmits. Thanks very much.
NSFW is offline   Reply With Quote
Old 01-31-2009, 02:39 AM   #6
NSFW
Scooby Specialist
 
Member#: 140444
Join Date: Feb 2007
Chapter/Region: NWIC
Location: Near Seattle, WA
Vehicle:
05 Stage Free LGT
ATP 3076 + AVO FMIC

Default

Just got around to trying this, and it worked as advertised - I got a stream of serial data that looks like what's described in PLX's documentation. Now I gotta write some code to turn that into AFR numbers, and then see if I can get it incorporated into RomRaider, etc.

Thanks again.
NSFW is offline   Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any obgyn's in the house, or OT women knowledgeable in period/pill stuff? Akirasoft Off-Topic 17 09-01-2004 08:53 AM
Any welders in the house? yamarocket630 Mid West Subaru Owners Club Forum -- MWSOC 5 05-20-2002 08:54 AM
Any ballers in the house? Fusion Southern California Impreza Club Forum -- SCIC 59 02-05-2002 03:12 PM
('93-'01) Are there any lawyers in the house? (seriously) jeffg Impreza Forum 18 11-01-2001 10:47 PM
Any photoshoppers in the house? Yellow Legacy GT wagon? gtguy Legacy Forum 3 01-31-2001 09:30 AM


Message Board Statistics All times are GMT -4. The time now is 03:18 AM.



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2010, North American Subaru Impreza Owners Club, Inc.