Shop OBEX P1 Docs P2 Docs Learn Events
Propeller code for fuel metter — Parallax Forums

Propeller code for fuel metter

mugurmugur Posts: 105
edited 2010-02-06 19:32 in Propeller 1
Hi, i want to buy a propeller just for making a device that will tell me how much
liters of gasoline my car eat's every 100Km.

I have a flow sensor that give me out 1140 pulses (hall sensor inside) for each gasoline liter. I know my circumference of my car wheel.
Can someone help me with a short code that will display the result on 16x2 serial LCD please?

Comments

  • hover1hover1 Posts: 1,929
    edited 2010-02-05 15:41
    You will also need a sensor on the wheel to count revolutions to get the distance used in your calculations.
    Jim
  • mugurmugur Posts: 105
    edited 2010-02-05 16:33
    Thank you, Jim. What else should i do?
  • Jim FouchJim Fouch Posts: 395
    edited 2010-02-05 16:44
    mugur,

    Depending on the vehicle, you should be able to pick a speed pulse going to the dash. This would the best. It's normally a 0-12v or 0-5v signal and could be read by the propeller.

    I've also used the Fuel Injector pulses to keep track of the amount of fuel used.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jim Fouch

    FOUCH SOFTWARE
  • mugurmugur Posts: 105
    edited 2010-02-06 19:32
    I see. Would you like to have a look at this attached image?
    There you have all the info my interface can read...
    478 x 539 - 65K
Sign In or Register to comment.