Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Portables Hardware

Interacting with Onboard Car Computers? 41

joshmccormack asks: "I've seen lots of projects where people are making great looking computers that fit into the dashboard of their cars that play MP3s, movies and even some that do some GPS and mapping stuff. I'd love to find projects where computers connect with the on board computers in most cars from the mid 90s on to show temperature and performance of various parts of the car. There are diagnostic tools that mechanics use, and that you can get to get data, but I'm particularly interested in real time, in-dash, open source options."
This discussion has been archived. No new comments can be posted.

Interacting with Onboard Car Computers?

Comments Filter:
  • Similar to TEC (Score:4, Informative)

    by b00m3rang ( 682108 ) on Wednesday March 03, 2004 @07:56PM (#8458040)
    Electromotive systems makes a system called T.E.C. [electromotive-inc.com] (Total Engine Control) that performs the functions you're looking for and much, much more. Although with this setup, you don't interface with the car's computer but replace it entirely. It allows you to control fuel curves, ignition advance, turbo boost, and pretty much any function of the engine to your exact specifications.

    Maybe it's time to start developing OpenTEC?
    • It appears that the new version does allow you to interface with the vehicle's computer to retrieve diagnostic codes, but I'm not sure of the level of integration possible.
    • Electromotive Systems makes a system called T.E.C. (Total Engine Control) that performs the functions you're looking for and much, much more.

      Trending off-topic, but in their FAQ [electromotive-inc.com] they say "We have systems for all vehicles with spark ignited engines."

      Even this one [cruisin66.com]?

      (I had a friend who bought one of those... it had rust in the door frames within a week of purchase!)
  • Obstacles (Score:5, Informative)

    by The Clockwork Troll ( 655321 ) on Wednesday March 03, 2004 @08:01PM (#8458124) Journal
    One of the nice side effects of emissions legislation in the past 10 years is that all cars since 1996 are required to have an on-board diagnostics [obdii.com] port to which standard tools can connect and report on the vehicle's various operating parameters (ignition timing advance, manifold pressure/mass air flow, various temperatures).

    On OBD-II equipped vehicles, the port is typically located to the right of the steering wheel in the driver's side footwell. It is trapezoidal.

    There are many systems available for reading this information, from scan tools to computer interfaces.

    It sounds like what you want is something like the PSI data display unit [psi3.co.uk] (DIN-sized). These connect up to OBD-II enabled cars.

    The big problem you may run into is that the OBD-II standard requires only that the most basic parameters be reported to scan tools. Manufacturers are notorious for obscuring the most interesting information and it's typically been up to enthusiasts to reverse engineer manufacturers' proprietary additions to the OBD-II protocol.

    • I have to apologize: the PSI unit I mentioned is certainly not open source, but I mentioned it to give an idea of what is out there, proprietary or otherwise.
    • Yeah, there are many OBD-II reader devices out there. I like the laptop software.

      I've always wanted to build one. The protocol seems straighforward (RS232-like) but there is this talk about routers and such that I don't fully understand.

      The kicker seems to be that the plugs needed to fit the OBD-II connector are notoriously difficult to get and expensive.

      Something open-source would be cool. Maybe also pool some funds to get a large order of OBD-II cables for cheap.
  • Oligopoly (Score:3, Interesting)

    by ADRA ( 37398 ) on Wednesday March 03, 2004 @08:03PM (#8458148)
    I don't think any car company release their onboard computer protocols. They could be running RS232 or 10baseT for all we know.

    Best chance for you is to wire into the analog sensors that they are using!
    • Re:Oligopoly (Score:3, Insightful)

      by Smidge204 ( 605297 )
      Except that would:

      1) Probably break the car's computer system, which relies on the proper function of those sensors

      2) Require you to understand how each sensor operates (Which I'm sure are equally undocumented)

      3) Build your own interface circuitry

      4) Do your own calibration and correction

      5) Understand what the sensors tell you, and how to deduce the status of the vehicle from them

      The onboard computer does all that. All you need to do is ask it what's going on.

      At least the hookup is designed for car/co
      • 1) If you wire in parallel with the sensors with a high-impedance sensor, you won't affect its existing operation.

        2) 99% of the sensors themselves are very well documented for diagnostic purposes. For example, I can tell you that the oxygen sensor used in late-80s/early 90s Chrysler vehicles ranges from 0-5v depending on air/fuel ratio, with 0.8-0.9v being the optimal level, less being lean, and higher being rich.

        3) Not that difficult

        4) Again, not that difficult. Most of these sensors are either pu
    • "I don't think any car company release their onboard computer protocols."

      Insert sued by SCO joke here.

  • by XBL ( 305578 ) on Wednesday March 03, 2004 @08:04PM (#8458156)
    I think people who develop software/hardware for doing auto stuff have to pay licensing fees and junk like that. And I think that stuff is also limited to dealers for the high-end stuff. GM Goodwrench has priority over Greasemonkey Auto for the good stuff, and that priority probably come with how much $ you have to pay to GM or whoever.

    A lot of the auto mechanics shops just have error code readers, with the capability to disable the error codes. That is all they need pretty much.

    I also bet that most car computers dont have the output capabilities that you desire. Probably you would have to use a whole custom computer from a 3rd party. Those are probably expensive too.
    • The code readings are standard, and well known. Each manufacturer also has extended code sets, but they are not magic. $100-$300 will tell you more about your car than you will ever care know.
    • also bet that most car computers dont have the output capabilities that you desire. Probably you would have to use a whole custom computer from a 3rd party. Those are probably expensive too.


      Unfortunately, it is illegal to drive a aftermarket ECU equipped vehicle on the road - compliments emissions laws almost everywhere. Not that it stops anybody, but you should be aware of this.

      Almost all cars have a facility to blink you a warning light, usually the only tool you need is a paperclip, at least in the c
  • by Howard Beale ( 92386 ) on Wednesday March 03, 2004 @08:07PM (#8458184)
    but may be of some value:

    http://www.knightrideronline.com/

    Ask for 'Michael'.

  • Delta Dash (Score:5, Informative)

    by GeorgeH ( 5469 ) on Wednesday March 03, 2004 @08:12PM (#8458233) Homepage Journal
    I'm planning on building one of these computers over the summer (what? A slashdot poster with grand plans in a nebulous phase of completion? Never have I heard of such a thing!) based on information over at the mp3car.com forums [mp3car.com]. You should especially check out the OBD-II forum [mp3car.com], which is addressing your specific question.

    Personally, I'm going to just buy (now a slashdotter is going to buy software? A sign of the apocolypse!) Delta Dash [ecutek.com.au] because it is supposedly great with my WRX.
  • by pbox ( 146337 ) on Wednesday March 03, 2004 @08:14PM (#8458246) Homepage Journal
    Have you actually tried

    a. Google
    b. SourceForge
    c. neither

    And the correct answer is c.
    While a. or b. would be even correcter!

    freediag [sourceforge.net] that I have found on sourceforge [sourceforge.net] which I have googled [google.com] with "open source obdii".
    ---
  • by chaotica1974 ( 572461 ) on Wednesday March 03, 2004 @08:16PM (#8458271)
    A lot of the specifics you are looking for are probably already done by a speciality shop. For example, I love my Camaro Z28, and ls1edit.com has a $500 setup that will tell me everything about the car in real time.


    I doubt though that car manufacturers are going to standardize on anything electric except the emmissions part, and that's probably the goverment forcing them to. Geez, take a look at aftermarket radios, If they could standardize on anything it could be that.


    Now, if someone *would* build a custom touch screen LCD screen that fit perfectly where my radio and environmental controls are and then made it open enough I could plug a laptop into it (MP3s, Maps, etc..) then I would be one happy camper. Of course, it would have to be skinnable (for my mood) and environmental controls would have to be included in the touch screen LCD. Well hell, just include the lights, wipers, hazards, defogger, yadda yadda ya.


    Hmmmm, I should get to work on that now. To the patent office! First comez za money, then comes zee power. Bwooo ha ha ha ha.
    • And when the LCD screen gets damaged, or the computer crashes, it gets a bit hard to turn on the basic stuff in your car doesn't it? Or would you leave all the normal controls as is, and have this as a secondary way of turning them on?
    • Geez, take a look at aftermarket radios, If they could standardize on anything it could be that.

      They are standardized as far as the general wiring and chassis sizes go, with the exception of the power and battery leads. I just RTFM and pay the $15 for the harness adapter.

      Auto manufacturers OTOH tend to throw standardization in the trash when they design dashboards and wiring setups. Ever have a look at a mid 90's Taurus or Sable? The radio is oval and the face is integrated with the climate controls.
    • Now, if someone *would* build a custom touch screen LCD screen that fit perfectly where my radio and environmental controls are...

      Better still, make it a Head-Up Display! How cool would that be :-)
  • by eakerin ( 633954 ) on Wednesday March 03, 2004 @08:21PM (#8458332) Homepage
    I bought an OBD2 interface board from scantool.net [scantool.net] works pretty well, pretty easy interface protocol.

    I wrote up some functions to grab different data from the box, and drop it in a struct for later processing. I also wrote up another function to handle the later processing and give you the raw value. Pretty simple code really.

    The only problem I ran into (which was the kicker for me), I was only able to get about 3 samples per second from my Jeep's computer...Hardly fast enough for a realtime display of all the normal dashboard information, but cool none-the less.

    Maybe I'll zip up the code I wrote and post it on the net, now that it's getting warmer I might be interested in spending some time on it.
    • 3 Samples per/second are perhaps not enough to get detailed gauges and such, but they would be more than enough to get detailed statistical analysis of the goings-on of your engine. You could setup rrdtool to poll the sensors, and have it generate a png graph of temperature/rpm/speed/etc statistics, and then just use a simple image-displaying program to display and refresh it to an lcd display.

      It might not be very useful, but damn wouldn't it look neat :p
  • Comment removed (Score:3, Informative)

    by account_deleted ( 4530225 ) on Wednesday March 03, 2004 @08:24PM (#8458358)
    Comment removed based on user account deletion
  • dashpc.com (Score:3, Interesting)

    by bergeron76 ( 176351 ) * on Wednesday March 03, 2004 @09:17PM (#8458824) Homepage
    It's been seen on here a few times, but it's currently the best linux-based open-source car computer website. It has OBDII compatibility via a FreeDiag [sourceforge.net] driver. The software has been slow in development, but lately things have been picking up quite nicely.

    http://www.dashpc.com [dashpc.com] has all the juicy details about how to build your own DashboardPC and how to interface with your car via your PC.

  • megasquirt (Score:3, Interesting)

    by Stinson ( 564450 ) <cancerouspete@@@cox...net> on Wednesday March 03, 2004 @09:29PM (#8458954) Homepage Journal
    another build it your self ecu would be Megasquirt [http://www.bgsoflex.com/megasquirt.html] [bgsoflex.com]. Otherwise, i'd suggest just reading the input from all the sensors, they're pretty easy to interface, just make sure all your circuits are designed properly so you don't burn anything out. +Temperature sensor: resistance changes with temp, higher the resistance, the colder it is (not all are like this). Example, on my Saab, 1000 ohms is about 8 degrees F. +O2 sensor: if you want to know the fuel/air mixture, the output from the O2 sensor normally ranges from 0-4 volts. Figuring out timing and dwell is a bit harder, requiring crankshaft position sensor, and knowing the current rpms of the shaft. Most automotive books for your car will describe the various sensors, and their outputs.
  • Here ya go (Score:5, Informative)

    by YrWrstNtmr ( 564987 ) on Wednesday March 03, 2004 @10:49PM (#8459555)
    I'm designing something similar for my truck.

    Inexpensive [obddiagnostics.com] Free software for Win or Mac. Inexpensive cable.
    Expensive [autotap.com]. Very pro display, and you can get all the extended codes sets.
    Opensource [sourceforge.net](you still need to build/buy the cable)

    There are others out there. Google for obdii

    All you need do is hook this up to the serial port of whatever car PC you make, and run the s/w. Presto, virtual dashboard, with more readings than you will ever use.

    Friend of mine at work has the cheaper one, and it works quite well. You can even record a drive, and play it back later. Output to OO.org or excel compatible csv for further analysis.
  • One of the cooler products that I've seen that integrates with the onboard computer is this module [jaricdesign.com] with integrates a Valentine 1 radar detector with the onboard computer. Very slick and I'd buy one in an instant if it was available for the OBC on my car.

    With alot of manufacturers switching to the MOST bus, I think we'll see more integration like this in the future and it would be cool if someone created a simple interface so that we could write our own apps to be displayed in the car.
  • AutoXray (www.autoxray.com) has a pretty good selection of code scanners and data loggers. Covers most makes since OBD-II was required (96). Previous comment was right in that not all parameters will be able to be scanned on all platforms. But what you mentioned, coolant temp, etc (basic engine parameters) *should* be part of the standard protocol. Also, the protocol is not RS-232 or ethernet - it carries some SAE spec J-something or other. I have an Autotap for my 96 Pontiac Trans Am - there is a micr
  • Build yourself a little analog digital converter board and interface it to a PC or handheld. I did something like this for an article I wrote for Circuit Cellar, PalmOS Data Acquisition [nyx.net]. Interfacing with the existing OBD I/II bus is one way to go, but unless you have the factory-approved tools, the updates are usually very slow and usually crippled in some way.

    If you go custom, you get the ability to do lots of other interesting things too.
  • Auterra [auterraweb.com] has an OBD-II scan tool that runs on PalmOS. One of my friends has it, and seems pretty happy with it.
  • I tried this sort of thing. EPIA under seat, hooked into the car audio and video system (5" on-dash LCD)... custom harness to interact with the in-car computer. Luckily the busses are serial, so a regular serial port or a hacked hi-speed parallel port can interface...

    A couple observations:

    1. The interface should not be mouse driven no matter what. You need buttons. Buttons are BETTER than a touch screen in this case.

    2. A numpad can be used for interface, but a serial module with built in buttons or some other contraption would be better.

    3. Very few commercial programs are suitable to this interface method. Expect to do some heavy lifting in code to pass the girlfriend test. The girlfriend test is the same one I have for MythTV. If she sits down with no instruction, does this gadget improve the experience, or at least not degrade it in any way?

    4. Audible interface is nice. You need a music pass through for a regular CD player, on top of whatever lossy compression you're using to store music. Any type of audible, no-eyes-off-the-road notifications are great. A good text reader would be even better but I doubt you could get it to work well enough.

    5. Forget speech recognition. It's still just barely good enough to be acceptable in a lab environment. Road noise will completely kill any chance you have of running it in your car.

    6. Certain applications should not be used while driving. No, not even stuck in traffic. Ideally, if the car is in drive, they will simply be unavailable. E-mail is a maybe. Video playback is a maybe. Any program requiring more than three or four buttons to operate should be avoided while driving.

    • Your first observation cannot be overemphasized. I have flown in aircraft where parts of the interface are cursor-position dependent (slew-stick, but pretty much the same as a mouse). Using that method to navigate menus is very frustrating in a moving platform. On the other hand, using it to interact with a two dimensional graphic (radar, map, etc.) is probably okay. (But still hard to do while driving)

      Hardware buttons around the edge of the display are fairly intuitive, like an ATM display. Just try to

  • As far as engine control goes, it is hard to beat Motec's [motec.com] line of ECU's. While it is designed for racing applications, it is completely capable of being tuned for a road vehicle. They offer a huge variety of sensors and have some other trick items like a replacement dash that is configureable and has 8 Mb of memory for logging data from sensors. Also trick is the fact that it supports telemetry via serial I/O and high speed bi-directional CAN. It can be adapted to implement traction control, control a nitro

Beware of Programmers who carry screwdrivers. -- Leonard Brandwein

Working...