PriusChat Forums  

 
Spy
Go Back   PriusChat > Toyota Prius Forums > Prius Technical Discussion

Prius Technical Discussion This is a discussion on CAN Query / Response PIDs within the Prius Technical Discussion forums, part of the Toyota Prius Forums category; I've heard that there are a number of PIDs in the Prius through CAN Query/Response that are accessible on a ...


Reply
 
LinkBack Thread Tools
Old 08-14-2007, 01:33 AM   #1
Dan.
MPG Centurion
 
Join Date: Sep 2005
Location: Houston, Texas
Posts: 211
My Car: 2007 Prius
Package: #3
Nominated 0 Times in 0 Posts
TOTM Awards: 0
Send a message via ICQ to Dan. Send a message via AIM to Dan. Send a message via MSN to Dan. Send a message via Yahoo to Dan.
Friends: 2
Default

I've heard that there are a number of PIDs in the Prius through CAN Query/Response that are accessible on a Prius, provided you know the right query and how to decode the response. One in particular I'm interested in is battery SoC.

Does anyone know / have a list of the PIDs or where to get them? Cheap is good, free is better.

I'm hoping I can start picking at some of this data with my ScanGaugeII since it supports Query / Response.

11011011
Dan. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 08-14-2007, 09:11 AM   #2
FireEngineer
Senior Member
 
Join Date: Oct 2004
Location: SW-Side of Chicago, IL
Posts: 752
My Car: 2005 Prius
Package: #6
Nominated 0 Times in 0 Posts
TOTM Awards: 0
Friends: 3
Default

Dan have you tried some of the old posts at PriusTechnicalStuff Yahoo group. Also Attila Vas was one of the first to decipher some of this and posted some, you may be able to google up some of that.

Wayne
FireEngineer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-14-2007, 10:17 AM   #3
Dan.
MPG Centurion
 
Join Date: Sep 2005
Location: Houston, Texas
Posts: 211
My Car: 2007 Prius
Package: #3
Nominated 0 Times in 0 Posts
TOTM Awards: 0
Send a message via ICQ to Dan. Send a message via AIM to Dan. Send a message via MSN to Dan. Send a message via Yahoo to Dan.
Friends: 2
Default

Dang... ignore this one.. double post.
Dan. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-14-2007, 10:20 AM   #4
Dan.
MPG Centurion
 
Join Date: Sep 2005
Location: Houston, Texas
Posts: 211
My Car: 2007 Prius
Package: #3
Nominated 0 Times in 0 Posts
TOTM Awards: 0
Send a message via ICQ to Dan. Send a message via AIM to Dan. Send a message via MSN to Dan. Send a message via Yahoo to Dan.
Friends: 2
Default

<div class='quotetop'>QUOTE(FireEngineer @ Aug 14 2007, 08:11 AM) [snapback]495321[/snapback]</div>
Quote:
Dan have you tried some of the old posts at PriusTechnicalStuff Yahoo group. Also Attila Vas was one of the first to decipher some of this and posted some, you may be able to google up some of that.

Wayne
[/b]
Before I start my google attack, could you let me know if my grammer is correct.

keywords are to include {PID, SOC, "State of Charge", CAN, Query, Response, Attila}. Any other key words of low frequency you could think to narrow the field?

11011011
Dan. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-14-2007, 11:00 AM   #5
TheForce
RonPaul For Liberty,not Empire
 
TheForce's Avatar
 
Join Date: May 2005
Location: Wheelersburg, Ohio
Posts: 1,974
My Car: 2006 Prius
Package: #7
Nominated 7 Times in 2 Posts
TOTM Awards: 0
Friends: 15
Default

Here is his website. Lots of good information.

http://www.vassfamily.net/ToyotaPrius/index.html
TheForce is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-14-2007, 03:37 PM   #6
Dan.
MPG Centurion
 
Join Date: Sep 2005
Location: Houston, Texas
Posts: 211
My Car: 2007 Prius
Package: #3
Nominated 0 Times in 0 Posts
TOTM Awards: 0
Send a message via ICQ to Dan. Send a message via AIM to Dan. Send a message via MSN to Dan. Send a message via Yahoo to Dan.
Friends: 2
Default

OK... found them.

http://autos.groups.yahoo.com/group/Prius_...ff/message/5303
http://autos.groups.yahoo.com/group/Prius_...ff/message/5352
http://autos.groups.yahoo.com/group/Prius_...ff/message/5309
http://autos.groups.yahoo.com/group/Prius_...iles/OBD%20Info (priuspids.zip)

Don't quite understand the encodings, and I don't think anyone (including me) have tested any of these on a Prius II, but for Classic Owners... have fun

I'll try Battery SoC and might try Pack Temp or MG Temp.

11011011
Dan. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-14-2007, 09:48 PM   #7
hobbit
Senior Member
 
hobbit's Avatar
 
Join Date: Mar 2005
Location: Bahstahn
Posts: 2,812
My Car:
Package:
Nominated 0 Times in 0 Posts
TOTM Awards: 0
Friends: 0
Default

Okay, but note carefully the difference in what you're asking vs.
what Attila sniffed out: The Scangauge depends on sending a QUERY
to a given ECU and getting a response back, as opposed to passively
sniffing a reported value that's flying across the bus periodically.
This is very different, and unfortunately I haven't been able to get
the full picture on how all the protocol is constructed yet. Norm,
the guy behind CanView, would probably be able to reel off the right
bits in his sleep, but I was unable to get him to really explain it
to me back when I was trying to really understand this stuff.
.
_H*
hobbit is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-14-2007, 10:03 PM   #8
Dan.
MPG Centurion
 
Join Date: Sep 2005
Location: Houston, Texas
Posts: 211
My Car: 2007 Prius
Package: #3
Nominated 0 Times in 0 Posts
TOTM Awards: 0
Send a message via ICQ to Dan. Send a message via AIM to Dan. Send a message via MSN to Dan. Send a message via Yahoo to Dan.
Friends: 2
Default

<div class='quotetop'>QUOTE(hobbit @ Aug 14 2007, 08:48 PM) [snapback]495776[/snapback]</div>
Quote:
Okay, but note carefully the difference in what you're asking vs.
what Attila sniffed out: The Scangauge depends on sending a QUERY
to a given ECU and getting a response back, as opposed to passively
sniffing a reported value that's flying across the bus periodically.
This is very different, and unfortunately I haven't been able to get
the full picture on how all the protocol is constructed yet. Norm,
the guy behind CanView, would probably be able to reel off the right
bits in his sleep, but I was unable to get him to really explain it
to me back when I was trying to really understand this stuff.
.
_H*
[/b]
Ahh, that does jive with what I was looking at. I saw some stuff about sniffing, and couldn't correlate the query / response stuff with it. I'll keep a subscription on this thread and start trying to get my head around this stuff. I'm starting to think I might need a OBD-II to PC accessory to properly dig into this stuff. I might also tap some of the CanView users out there for some leads or at least sanity checks for what I'm doing.

11011011
__________________
Dan is an official (Honda) Hydrogen Economy Convert!
Houston Hybrid and Hypermilers Club <106mpg.com>
Click the image to open in full size.Click the image to open in full size.
Best commute = 14.3mi @ 114 MPG (sg2)
Best (non-trivial) tank = 769mi @ 85.7 MPG (fcd)
MPG Centurion-Hybridfest 2007-Prius II-26mi @ 106 MPG (sg2)
Dan <11011011> @ CleanMPG.com
Dan. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-14-2007, 10:22 PM   #9
ken1784
SuperMID designer
 
ken1784's Avatar
 
Join Date: Dec 2003
Location: Yokohama, JAPAN
Posts: 1,264
My Car: 2004 Prius
Package: G Touring
Nominated 0 Times in 0 Posts
TOTM Awards: 0
Friends: 2
Default

The battery SOC data is always available on the CAN message, and I believe Scangauge is for OBD-II protocol only.
Attila's spreadsheet shows the CAN message ID and the byte position for the SOC data.
http://www.vassfamily.net/ToyotaPrius/CAN/cindex.html
http://www.vassfamily.net/ToyotaPriu...PriusCodes.xls

CAN message ID: 0x3CB
SOC data: byte #2 and #3

Ken@Japan
ken1784 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-15-2007, 01:02 AM   #10
Dan.
MPG Centurion
 
Join Date: Sep 2005
Location: Houston, Texas
Posts: 211
My Car: 2007 Prius
Package: #3
Nominated 0 Times in 0 Posts
TOTM Awards: 0
Send a message via ICQ to Dan. Send a message via AIM to Dan. Send a message via MSN to Dan. Send a message via Yahoo to Dan.
Friends: 2
Default

<div class='quotetop'>QUOTE(ken1784 @ Aug 14 2007, 09:22 PM) [snapback]495814[/snapback]</div>
Quote:
The battery SOC data is always available on the CAN message, and I believe Scangauge is for OBD-II protocol only.
Attila's spreadsheet shows the CAN message ID and the byte position for the SOC data.
http://www.vassfamily.net/ToyotaPrius/CAN/cindex.html
http://www.vassfamily.net/ToyotaPriu...PriusCodes.xls

CAN message ID: 0x3CB
SOC data: byte #2 and #3

Ken@Japan
[/b]
Got it ( I think ). There are two ways to get SOC, one is by snooping for message 0x3CB, the other is to send the SoC request PID to the Battery ECU. The PID request is what I was hoping to figure out, and found the problem

SGII does support CAN, but it's not snooping the bus (like CANView), but instead sending a series of Query PIDs every few milliseconds. Specifically:

0x0104 (LOD)
0x0105 (ºcWT)
0x010C (RPM)
0x010D (KPH)

So it does do CAN, but only to implement the OBD-II list of standard PIDs. So what I'm waiting for is when I can request a PID from a specific ECU (Battery ECU = D5$) and send a Vehicle specific PID.

So hopefully, in the future I can send a request something like:

D5F10191 where:

0xD5 = ECU to target (HV battery ECU)
0xF1 = Custom code for Toyota Prius II (signature byte)
0x01 = Show current status
0x91 = PID for Battery SoC on battery ECU.

but if you want to do PID banging for the OBD-II standard PIDs here's a list to try

11011011
Dan. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yet Another Bluetooth Phone query jfschultz Audio and Electronics 2 07-19-2006 01:41 PM
TAX QUERY PetersPrius Prius Main Forum 1 11-10-2005 11:38 PM
Prius Performance Query agill Prius Main Forum 19 10-25-2005 12:05 PM
Eficiency Scenario Query PhilCase Fuel Economy 5 05-22-2005 02:42 AM
Security system query knowledgeseeker Prius Main Forum 1 05-02-2004 12:42 AM


All times are GMT -4. The time now is 06:57 AM.


Find us on Facebook!
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0