User Name Password    
CleanMPG, Learn to raise fuel economy and lower emissions in whatever you drive.  
MENU
• What is hypermiling? •
CleanMPG to AAA:
• Hypermiling Rebuttal •
 
• Home
• CleanMPG Staff
• Articles
• Fuel Economy Forums
      • Register
Go Hypermiling!

   Car Reviews:

2013 Elantra GT

2013 Elantra Coupe

2013 Lexus ES 300h

2013 Mazda CX-5


2013 Lexus GS 450h

2012 Prius c

2013 Malibu Eco

2012 Hyundai Accent
   Bike and Gear Reviews:

HTC Thunderbolt

2010 R 1200 GS (A)

Kawasaki KLX250SF

Zero S


Aerostich Darien

Shoei Hornet DS

Honda CRF230L

Yamaha XT250


• More Reviews
• Gallery
• Mileage Logs
 
• CleanMPG Store
 
• Calendar
• Glossary
• Garage
• Files
 
• Research
• Related Sites
 
• Archives
• Arcade
 
• Monthly Fuel Efficient •
Vehicle Sales Figures


ScanGauge with X-Gauge: $159.95

Pre-programming, a CleanMPG laser cut decal, and shipping included!



Even better value for members only is available in the latest SG-II w/ X-Gauge Group Buy purchase thread.



While we strive to provide only the highest quality information through our members' offerings, if you find the information provided valuable, please consider a donation so that we can offer an even better experience for the membership and guests well into the future.

Thank you

-Wayne Gerdes
Owner/Admin
CleanMPG



Home Fuel Economy Forums Gallery Mileage Logs

Register FAQ Members List Search Today's Posts Mark Forums Read


Go Back   CleanMPG Forums » Modding and Hardware » ScanGauge


ScanGauge Anything ScanGauge related is open for discussion here.

Welcome to the CleanMPG forums.

Some posts may describe situations which may in some cases be unsafe or illegal in some jurisdictions. Please use common sense and consult your local laws to make sure you do not hurt yourself or others or break any laws.

You are currently viewing our boards as a guest which gives you limited access to view discussions, articles and access our other features. By joining our community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

XGauge (CAN-bus) for Dummies...

Tags: , , , ,

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Submit to Clesto Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Spurl
Old 06-27-2008, 05:22 PM
Dan's Avatar
Dan Dan is offline
KiloTanked in post 153451
 
Join Date: Jan 2007
Vehicles: 2007 Toyota Prius, 2008 Mercury Mariner Hybrid
Location: Houston, TX
Posts: 2,293
XGauge (CAN-bus) for Dummies...

EDIT:
Ok... I feel pretty stupid but I finally get it now. I've been trying for weeks to get my head around what XGauge was doing. Took WFEC and the revelation that we were flying blind without Battery Amps on the Prius to focus my efforts.

Well here's what I found. First let qualify that this is CAN-bus only. Since I'm a Prius Pilot that's all I've been focused on. So what I've found out is that there are two types of CanBus requests. Passive (snooping the bus) and active. Passive is kinda like ease-dropping on a conversation... the data is just there. Passive is like asking a direct question and expecting a direct answer.

Now after doing a bit of digging there is lots of data out there for the taking... Here's what I "think" we can get:

Passive
L/R GForce = TXD { 0x002A }
F/B GForce = TXD { 0x002B }
Steering degrees L/R = TXD { 0x002D }
Brake engagement % = TXD { 0x0038 }
Speed (decameters / hour ) = TXD { 0x00BC }
Gas pedal position = TXD { 0x024C }
Battery Temp = TXD { 0x03C3 }
Ignition timining = TXD { 0x052E }
EV button (on/off) = TXD { 0x0521 }
Gas Fill Level = TXD { 0x05AC }

Active
Battery SoC = TXD { 0x07E321CE }
Battery Temp = TXD { 0x07E321CF }
MG 1/2 RPM = TXD { 0x07E221C3 }
MG 1/2 RPM = TXD { 0x07E221C4 }

Now there is some other stuff like Headlights (on/off) and stuff like that that I'm not that interested in, but this data all looked pretty cool. I haven't gotten that deep into it so don't pepper me with Q's yet, but please help my "Teach Dan XGauge" thread.

If you look for the Passive commands and you can't find them, it's because the passive TXD is derived by taking the ID, left padding it with zeros and XOR'ing it wish 0x0008. Now all this is Attila Vass data, so I don't know if Ron has already tried and failed to get these to work, or if he just figured, no prius driver in his right mind would be interested in how many lateral G's he pulls in a turn. I'm obviously not in my right mind

GForce sensor is the first one I want to try to get working!

Now once I get the TXD working we can work on the rest... Here's my current reference set:
Attila Vass Can Dump (Excel)
2way's XGauge Coding walkthru
PriusChat XGauge Coding walkthru (Passive Can)
Prius Tech Info
PriusChat Known SGII Glide Bug
11011011
__________________

Best commute = 14.3mi @ 114 MPG (sg2)
Best (non-trivial) tank = 1101mi @ 91.2 MPG (fcd)
MPG Centurion-Hybridfest 2007-Prius II-26mi @ 106 MPG (sg2)
Dan <11011011>

Last edited by Dan : 06-30-2008 at 03:53 PM.
Reply With Quote
Sponsored Links
 




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
So, should I stop taking the bus? bomber991 The Daily Grind 26 06-07-2008 09:24 PM
Napa's School District Receives CA's First Plug-In Hybrid School Bus. tarabell In the News 0 08-09-2007 04:53 PM
Vail's hybrid bus goes into service. xcel In the News 1 11-27-2006 11:48 AM
District among first to get PHEV bus. xcel In the News 2 09-12-2006 07:57 AM
DaimlerChrysler Delivers California’s First Diesel-Hybrid Bus to San Francisco. xcel In the News 0 07-01-2006 10:27 PM



All times are GMT -5. The time now is 04:20 PM.

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2006 - 2013, Clean MPG LLC. All Rights Reserved.