1. Welcome to Tundras.com!

    You are currently viewing as a guest! To get full-access, you need to register for a FREE account.

    As a registered member, you’ll be able to:
    • Participate in all Tundra discussion topics
    • Transfer over your build thread from a different forum to this one
    • Communicate privately with other Tundra owners from around the world
    • Post your own photos in our Members Gallery
    • Access all special features of the site

A Deep look at Accurate Realtime Fuel Use from Data Logger (Instant MPG)

Discussion in '2nd Gen Tundras (2007-2013)' started by Jeff_5_7, Jan 24, 2022.

  1. Jan 24, 2022 at 8:12 AM
    #1
    Jeff_5_7

    Jeff_5_7 [OP] New Member

    Joined:
    Feb 20, 2021
    Member:
    #59378
    Messages:
    1,369
    Gender:
    Male
    First Name:
    Jeff
    Houston Tx Area
    Vehicle:
    2007 RCSB 2014+ TRD Pro Conversion 5.7 4x4
    Full 2014+ Conversion Regular Cab Short Bed 4X4 2019 TRD Pro Grill, 2014+ Front End Swap 2014+ Interior/Dash Swap with TRD Pro Leather Seats, 2014+ Bed Swap with TRD Pro Stamping SOS 2/4 Drop Kit
    (Truck is a 2007 RCSB 5.7 4x4 for reference.)

    I have spent several months decoding data signals on the CAN bus network of my 2007 Tundra. CAN (Communication Area Network) is simply the coded data communication between the ECUs of the truck. (Engine ECU, Body ECU, Instrument Cluster, Skid Control ECU, Ect.)

    One of the biggest benefits of this is that I can now log real time data the ECUs are sending to each other at a VERY fast rate.

    I am able to monitor Fuel Consumption (the total amount of fuel injected by the fuel injectors) in real time. The fuel flow is measured in microliters per second and the value is updated 32 times every second. That means we get almost 1900 data samples every minute. Very fast and Very accurate.

    Here is about 1 minute worth of data sitting at idle in my driveway. Biggest take away here is at idle in Park the truck is burning right at 1.6 Gallons of Fuel every hour. (The spikes in the beginning of the graph are where I hit the gas and brought the RPM up, obviously this burned fuel at a faster rate)

    upload_2022-1-24_9-56-27.jpg

    Ok but what about while driving?
    Here is a small data sample as I accelerated up from about 5Mph to a stable 70Mph on the highway. Graphs shown below.

    Fuel Usage in Gallons per Hour increases as Speed goes up. More fuel needed to accelerate the truck. You can see shift points where fuel usage dips as we move to a higher gear requiring less Rpm to maintain current Speed. The Spike in Fuel Use at data sample #1700 ish is me flooring it at highway speed briefly. RPM Up = Fuel burn up yet we didn't gain much speed in this short time.

    The Speed graph shows a pretty consent growth up to 70 is Mph. Gets closer to 80 near the end.

    Using Speed and Fuel Used we can also show instant Mile per Gallon.(MPG) This graph is pretty accurate. The higher speed, with less fuel used equals better miles (distance) per gallon of gas burned. Around data point #1700 when I floored it, MPG drops fast, we are using more gas but didn't gain any speed in that brief time I was on the gas (about 2 Seconds.)

    Overall at about 70Mph truck burns around 4.75 Gallons of Gas per Hour meaning we are getting about 14.7 Miles per Gallon (MPG) at highway speed.

    upload_2022-1-24_10-0-6.jpg
     
    Last edited: Jan 24, 2022
    Ohannon7, steved0xTD, B.Ross and 7 others like this.
  2. Jan 24, 2022 at 8:19 AM
    #2
    Black@Blue19

    Black@Blue19 Old Salt

    Joined:
    Dec 16, 2018
    Member:
    #23066
    Messages:
    3,727
    Gender:
    Male
    First Name:
    Ken
    SE Texas
    Vehicle:
    24 Camaro SS 6.2 Liter Loaded
    To much to list:)
    Amazing!!! Now you can write programs for Super Chargers!!! That are totally custom. Cool info and way nice you did that!!!:) WOW!!! That is really cool!!

    so will you be able to write something that would be useable for individual use???
     
    Last edited: Jan 24, 2022
  3. Jan 24, 2022 at 9:22 AM
    #3
    WXman

    WXman New Member

    Joined:
    Dec 19, 2021
    Member:
    #71986
    Messages:
    196
    Gender:
    Male
    Kentucky
    Vehicle:
    2016 Tundra SR5 Crew Max 4x4 5.7L
    So it would cost me about $5 bucks to idle my truck for an hour at current prices. Or, roughly $1.25 to idle for 15 minutes.

    That doesn't seem bad at all to me if it keeps momma warm while I run into the store on a winter day.

    However, the MPG display will scare you to death because idling for 15 minutes will destroy the "average MPG" number. Lol.
     
  4. Jan 24, 2022 at 9:42 AM
    #4
    Jeff_5_7

    Jeff_5_7 [OP] New Member

    Joined:
    Feb 20, 2021
    Member:
    #59378
    Messages:
    1,369
    Gender:
    Male
    First Name:
    Jeff
    Houston Tx Area
    Vehicle:
    2007 RCSB 2014+ TRD Pro Conversion 5.7 4x4
    Full 2014+ Conversion Regular Cab Short Bed 4X4 2019 TRD Pro Grill, 2014+ Front End Swap 2014+ Interior/Dash Swap with TRD Pro Leather Seats, 2014+ Bed Swap with TRD Pro Stamping SOS 2/4 Drop Kit
    Yes I approximated it at about $0.08 cost per minute of idle while its about $0.25 cost per minute of driving at 70 Mph.

    Also correct, Avg. MPG will suffer when you just sit and idle as it is just Total Distance Traveled/Total Fuel Used. You are burning more fuel yet not traveling an distance.

    Assume Avg. Mpg is 13.5 and your trip meter is at 500 Miles meaning you have used 37.03 Gallons of gas. Now if you idle for 1 hour you have used 38.6 gal of fuel but still only traveled 500 miles... New Avg Mpg is 12.9 Mph. An hour of idle time got you a 0.6 Mpg Avg drop
     
  5. Jan 24, 2022 at 4:13 PM
    #5
    Jeff_5_7

    Jeff_5_7 [OP] New Member

    Joined:
    Feb 20, 2021
    Member:
    #59378
    Messages:
    1,369
    Gender:
    Male
    First Name:
    Jeff
    Houston Tx Area
    Vehicle:
    2007 RCSB 2014+ TRD Pro Conversion 5.7 4x4
    Full 2014+ Conversion Regular Cab Short Bed 4X4 2019 TRD Pro Grill, 2014+ Front End Swap 2014+ Interior/Dash Swap with TRD Pro Leather Seats, 2014+ Bed Swap with TRD Pro Stamping SOS 2/4 Drop Kit
    It’s all part of my digital dash project. I monitor these values in real time on my dashboard.
    You can see it here https://www.tundras.com/threads/dig...uld-you-like-to-see-speed-rpm-mpg-ect.100691/
     
  6. Jan 24, 2022 at 5:08 PM
    #6
    Black@Blue19

    Black@Blue19 Old Salt

    Joined:
    Dec 16, 2018
    Member:
    #23066
    Messages:
    3,727
    Gender:
    Male
    First Name:
    Ken
    SE Texas
    Vehicle:
    24 Camaro SS 6.2 Liter Loaded
    To much to list:)
  7. Jan 24, 2022 at 6:07 PM
    #7
    PhotoNerd

    PhotoNerd New Member

    Joined:
    Apr 6, 2021
    Member:
    #61465
    Messages:
    369
    Gender:
    Male
    First Name:
    Tony
    Waterford, CT
    Vehicle:
    2008 Salsa Red Tundra DC SR5 4x4
    Chrome delete, Sequioa grill, bed lights, LED + head, fog & tail lights, Dynamat throughout, front & rear cameras, Pheonix PX6 13" head unit, 8" subwoofer, JBL speaker upgrades, tonneau cover, custom shifter, steering wheel cover
    Amazing work. Please sell this! :spending:
     
    Jeff_5_7[OP] likes this.
  8. Jan 24, 2022 at 6:25 PM
    #8
    14burrito

    14burrito IG @14burrito

    Joined:
    Dec 14, 2014
    Member:
    #798
    Messages:
    3,819
    Vehicle:
    2014 SR5 CM 4x4 5.7
    @ADSracingshocks - F 3 point ohh / R 2.5 - w/clickers @camburgracing - uniball UCA @rigidindustries - 40" amber/white split, Dually XL, D2 @coopertires - 35/12.5/17 STT MAXX @bayareametalfab - low pro bed rack @toyotausa - 17" rock warrior @sdhqoffroad - rock sliders, a-pillar @hondogarage / @apple / @gaiagps / @dualgps- navigation @wheelersoffroadinc - superbumps
    What's your wheel tire setup and final drive ratio?
     
  9. Jan 24, 2022 at 7:04 PM
    #9
    Jeff_5_7

    Jeff_5_7 [OP] New Member

    Joined:
    Feb 20, 2021
    Member:
    #59378
    Messages:
    1,369
    Gender:
    Male
    First Name:
    Jeff
    Houston Tx Area
    Vehicle:
    2007 RCSB 2014+ TRD Pro Conversion 5.7 4x4
    Full 2014+ Conversion Regular Cab Short Bed 4X4 2019 TRD Pro Grill, 2014+ Front End Swap 2014+ Interior/Dash Swap with TRD Pro Leather Seats, 2014+ Bed Swap with TRD Pro Stamping SOS 2/4 Drop Kit
    Truck is a 2007 RCSB 4x4 lowered 2/4 (might help somewhat aerodynamically, prob minimal)
    Wheels/Tire a set of factory 2018 wheels Tires P275/55-20
    Read end ratio 4:30 (Has Tow package)
     
  10. Jan 24, 2022 at 7:08 PM
    #10
    ColoradoTJ

    ColoradoTJ Certified tow LEO Staff Member

    Joined:
    Feb 24, 2016
    Member:
    #2766
    Messages:
    36,047
    Gender:
    Male
    Colorado
    Vehicle:
    LML 3500HD
    Calibrated Power 5 Tune pack, Allison 1000 tune, PPE deep trans pan, Cold/Hot CAC pipes, Banks CAI, PCV reroute, resonator delete, S&B 62 gal fuel tank, B&W GN hitch
    This is pretty cool Jeff. The part I really enjoy is the “building yourself” and sharing.

    I can definitely see many benefits to what you have designed.

    Here’s an internet high 5

     
  11. Jan 24, 2022 at 7:39 PM
    #11
    Jeff_5_7

    Jeff_5_7 [OP] New Member

    Joined:
    Feb 20, 2021
    Member:
    #59378
    Messages:
    1,369
    Gender:
    Male
    First Name:
    Jeff
    Houston Tx Area
    Vehicle:
    2007 RCSB 2014+ TRD Pro Conversion 5.7 4x4
    Full 2014+ Conversion Regular Cab Short Bed 4X4 2019 TRD Pro Grill, 2014+ Front End Swap 2014+ Interior/Dash Swap with TRD Pro Leather Seats, 2014+ Bed Swap with TRD Pro Stamping SOS 2/4 Drop Kit
    It’s a hobby turned obsession

    Almost 6 months worth of reverse engineering signals on the CAN bus to understand what they mean.

    But I now have the ability to log a large amount of parameters as I drive. I plan on sharing more in the future.

    Here is a quick video I did over the weekend basically controlling the entire instrument cluster from my laptop. Watch with captions to see descriptions of what is happening.

    https://youtu.be/kTvmovRE8No
     
    WXman and Mattyc like this.
  12. Jan 24, 2022 at 8:33 PM
    #12
    xc_tc

    xc_tc New Member

    Joined:
    Dec 28, 2021
    Member:
    #72329
    Messages:
    909
    Gender:
    Male
    Just curious how you’re logging and deciphering this data… are you running a script?
    I know there are some data loggers that connect directly to high speed CAN allowing one to read messages at 10-50 msec. But those loggers are $$$$$ (ie. vehicle spy by intrepid controls is $3k+).
     
  13. Jan 25, 2022 at 4:19 AM
    #13
    WXman

    WXman New Member

    Joined:
    Dec 19, 2021
    Member:
    #71986
    Messages:
    196
    Gender:
    Male
    Kentucky
    Vehicle:
    2016 Tundra SR5 Crew Max 4x4 5.7L
    This is cooler than the other side of the pillow.
     
  14. Jan 25, 2022 at 5:02 AM
    #14
    Jeff_5_7

    Jeff_5_7 [OP] New Member

    Joined:
    Feb 20, 2021
    Member:
    #59378
    Messages:
    1,369
    Gender:
    Male
    First Name:
    Jeff
    Houston Tx Area
    Vehicle:
    2007 RCSB 2014+ TRD Pro Conversion 5.7 4x4
    Full 2014+ Conversion Regular Cab Short Bed 4X4 2019 TRD Pro Grill, 2014+ Front End Swap 2014+ Interior/Dash Swap with TRD Pro Leather Seats, 2014+ Bed Swap with TRD Pro Stamping SOS 2/4 Drop Kit
    Yes I essentially built my own data logger that reads the entire CAN bus into a microcontroller. The code in the microcontroller deciphers the messages into something you can understand.

    Fuel consumption signal is sent every 32 milliseconds or so. Other signals with higher priority are faster while some are slower. The entire bus operates at 500kbit/sec
     
    xc_tc[QUOTED] likes this.
  15. Jan 26, 2022 at 7:44 AM
    #15
    Landodnal

    Landodnal New Member

    Joined:
    Feb 19, 2019
    Member:
    #26320
    Messages:
    55
    Gender:
    Male
    First Name:
    Ryan
    Vehicle:
    2008 Toyota Tundra Limited Slate Grey 4WD
    2" Leveling Kit
    Wow. This is truly amazing. Thank you for sharing with the community.
     

Products Discussed in

To Top