Using a BS2 for a MPG monitor
rushrv
Posts: 8
Morning all,
I am looking into using a Basic Stamp for a MPG monitor on my Ford Truck. I have looked online and have found a few places where they have used other microcontrolers for this. The main reason I am using the BS2 is cause i know the programing (a little bit more than other microcontrolers) and i have a couple of dozen floating around. I was wondering if any one has done this in the past. If so any thoughts on the details involved or problems to over come?
I am not looking for someone to write my code for me but I might need some guidance and pointers
Robert
I am looking into using a Basic Stamp for a MPG monitor on my Ford Truck. I have looked online and have found a few places where they have used other microcontrolers for this. The main reason I am using the BS2 is cause i know the programing (a little bit more than other microcontrolers) and i have a couple of dozen floating around. I was wondering if any one has done this in the past. If so any thoughts on the details involved or problems to over come?
I am not looking for someone to write my code for me but I might need some guidance and pointers
Robert
Comments
Well, MPG means miles per gallon so:
1 - need to gather mileage between two points
2 - need to know how much fuel was used
Have you thought about how 1 & 2 would be done?
Seeings as how to I have a digital odometer on my truck (2001 Ford F-150 XLT) I can tap into the the outputs coming from the ECU.
1. I can pull from the MPH and/or the mileage data going to the display and the speedometer
2. I can pull the pulse rate of the fuel injectors (not my own idea) use that data and try the formula [ Pulse rate X injector size X the number of injectors = fuel volume used]
or i can install a flow meter in the fuel line. I think that might be the easier way, but i am not crazy about messing with the fuel lines. I have the technical and mechanical skills to do this, but finding a sensor that will calculate the fuel rate and pressure and present it in a useable data form might not be in my price range for this project. That and the idea just occurred to me.
So I guess the next question is how to interpret the ECU's data, if the data rate is compatible with the Stamp. On that note, there was an earlier thread about using a Stamp to read the ECU "codes" for diagnostic efforts. You might try a forum search on that and see what turns up.
http://www.ebay.com/itm/Vtg-Zemco-ZT-4-Drive-Distance-MPG-MPH-Time-Computer-New-Old-Stock-Set-/261192908864?pt=Motors_Car_Truck_Parts_Accessories&hash=item3cd04f8040&vxp=mtr