Shop OBEX P1 Docs P2 Docs Learn Events
Odometer Readings — Parallax Forums

Odometer Readings

ImranImran Posts: 20
edited 2007-06-12 15:28 in BASIC Stamp
Hi,

Needed an idea of how to get the information on an LCD using a BS2, of the cars·mileage.

Regards
·

Comments

  • ImranImran Posts: 20
    edited 2007-06-11 13:55
    I mean in short....I want to get the cars current mileage and also it to be updated on to BS2
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-06-11 14:01
    Hello,

    Without knowing how the data is acquired into the BS2 there is no way to know what format you have it in for display on the LCD. How are you recording this information into the BS2?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • ImranImran Posts: 20
    edited 2007-06-12 06:22
    Thanks for the reply, for now lets forget the LCD, Wanted to know, how exactly can I record the driven mileage from the car to the BS2, and should be stored there in the eeprom.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-06-12 13:16
    Okay, that’s the information I was requesting from you to help with your first question. You cannot record the mileage from the car unless you’ve connected to a sensor designed to measure how far the car has traveled. On some cars this is done through the transmission and on others via hall-effect sensor. Do you have any of these connected to your BASIC Stamp?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • RobotWorkshopRobotWorkshop Posts: 2,307
    edited 2007-06-12 15:28
    Hello,

    If it is a newer vehicle then you may be able to get some of the data from that. I believe that some of the on board computers already track mileage and other parameters.

    Some data should be available at the diagnostic port. There is at least one place that makes a data logger that connects there:

    http://www.davisnet.com/drive/products/carchip.asp

    Another interesting thing to get data from is the BlackBox that a lot of new cars have. I found a list that shows some cars with these "black boxes" at:

    http://www.komotv.com/news/7299131.html

    http://www.harristechnical.com/downloads/cdrlist.pdf

    If you can just have the stamp ask the car's computer what the mileage is that would be the easiest method. Otherwise you'll have to try and tap into the existing sensors or add your own.

    Good Luck,

    Robert
Sign In or Register to comment.