Nissan 370Z Forum  

370Z CAN Bus Proprietary PID's

Wow! You guys have made some great progress. I just started to look for info on the 350Z CAN bus but ran back across this thread and started to work

Go Back   Nissan 370Z Forum > Nissan 370Z Tech Area > Engine & Drivetrain > Tuning


Like Tree110Likes

Reply
 
LinkBack Thread Tools Display Modes
Old 10-09-2015, 05:37 PM   #76 (permalink)
A True Z Fanatic
 
sig11's Avatar
 
Join Date: Jun 2009
Location: Detroit
Posts: 1,294
Drives: 09 370Z Red Sport-MT
Rep Power: 18
sig11 has a spectacular aura aboutsig11 has a spectacular aura about
Default

Wow! You guys have made some great progress. I just started to look for info on the 350Z CAN bus but ran back across this thread and started to work on my OpenXC firmware for the 370 based on Brad's spreadsheet.

I think OpenXC is dropping messages where the dlc != 8 but I haven't finished tearing into it yet.
sig11 is offline   Reply With Quote
Old 10-10-2015, 05:58 AM   #77 (permalink)
Enthusiast Member
 
Paul_S's Avatar
 
Join Date: Sep 2009
Location: England
Posts: 258
Drives: UK Yellow 370Z
Rep Power: 16
Paul_S is on a distinguished road
Default Such a cool project!

Fantastic progress guys!

I've been away from this project but am back on board now. If there's anything I can do let me know

Quote:
Originally Posted by Brad370 View Post
I was going to go the route of building custom hardware, but then I searched for refurbished Android tablets and ended up finding a Galaxy Tab 4 (7" tablet) for under $100. I'm pairing that with an OBDLink LX Bluetooth scan tool. So far this setup seems like it will work.

Mobile programming is a huge pain and I'm not liking it so far as I slowly learn it, but you can't beat the built-in graphics, touch, and BT capabilities.
I've got an Android tablet in my 370Z now. (I might be repeating myself here...) Mine is an early one without Connect Premium. I'm doing it like this:



I've hit some problems with the whole USB OTG and power combination as well as standby power issues but I'm getting there slowly (see here).

So I'd vote to go Android!
__________________
In the UK? Check out nissansportz.com - 350Z, GT-R, 370Z and more...


2004 Sunset 350Z to 2009 Limited Edition Ultimate Yellow 370Z
Paul_S is offline   Reply With Quote
Old 10-15-2015, 03:43 PM   #78 (permalink)
Base Member
 
Join Date: Aug 2011
Location: online
Posts: 102
Drives: car
Rep Power: 14
Brad370 is on a distinguished road
Default

Quote:
Originally Posted by Knio View Post
CAN ID 0x292 is the Bosch yaw rate sensor: http://www.bosch-motorsport.com/medi...8925323pdf.pdf

The parameters are a bit different from that datasheet, probably a slightly different version.
Some info I found on the Bosch website. It listed part #'s for the 370Z 09+ models:

Yaw rate sensor, brake system
Bosch Part #: 0 265 005 806
Nissan Part #: 47931 1EA1A

Steering angle sensor, ESP (Electr. Stability Program)
Bosch Part #: 0 265 005 515
Nissan Part #: 47945JY00A

Wheel speed sensor, front
Bosch Part #: 0 265 008 025
Nissan Part #: ?

However, I can't find a datasheet for the yaw rate sensor part # listed there.
Brad370 is offline   Reply With Quote
Old 10-26-2015, 07:04 PM   #79 (permalink)
Base Member
 
Join Date: Aug 2015
Location: Mill Creek, WA
Posts: 6
Drives: 09 Touring 7AT
Rep Power: 10
VidkidZ is on a distinguished road
Default

Quote:
Originally Posted by Brad370 View Post
Your project inspired me to start working on this.

I'm working on an Android app that I have running on a cheap Samsung tablet that will fit in the cubby. I have gauges that work and look just like our center cluster gauges. It's nowhere near ready to share, but I'm slowly working on it when I have time.
i have a similar codebase on iOS and have been going through some good and some very awful bluetooth API's to access canbus/odbii.

im planning on a multiple unit LCD approach, replacing a gauge or two with android wearables, a tablet feeding the bose stereo and an ipod touch sized screen somewhere in direct line of sight.

ive been developing video games for 20+ years and have been on ios since 2008. lots of great opportunities here thats for sure. Ive been focusing on the platform, less on the presentation as I still don't know what the product will be in the end.

I'll be integrating a 370Z 3d model next, there seems to be a good supply available turbosquid.com. I'll start with the 2009 fairly "free" edition and go from there.

Attached Images
File Type: jpg IMG_2930.jpg (57.3 KB, 36 views)
File Type: jpg screenshot10-26-155.21 PM.jpg (54.5 KB, 26 views)

Last edited by VidkidZ; 10-26-2015 at 08:23 PM.
VidkidZ is offline   Reply With Quote
Old 10-30-2015, 01:51 AM   #80 (permalink)
Base Member
 
Knio's Avatar
 
Join Date: May 2011
Location: Palo Alto, CA
Posts: 141
Drives: 40th
Rep Power: 14
Knio has a spectacular aura aboutKnio has a spectacular aura about
Default

Quote:
Originally Posted by Paul_S View Post

I've hit some problems with the whole USB OTG and power combination as well as standby power issues but I'm getting there slowly (see here).

So I'd vote to go Android!
I had these same issues (though with a windows tablet) and think I finally solved them. (incredibly annoying)

1) I found an OTG USB hub that takes external power, and powers both the tablet + peripheral devices, with a built in relay. It needs to trick the host USB controller though, so only works on a few specific models of tablets.

2) USB chargers suck, and USB cables suck. at 1A of power, if you have even 1 Ohm of resistance in all your cabling and connectors, you're only getting 4V at the end. Even with the best cables I could find, I was only getting ~4.6V at the tablet, and that wasn't enough to make it charge. I ended up solving this from both sides:

- I made my own USB cables using 18Ga wires
- I got an adjustable buck converter, so I can run the source at 5.25V, and then it's still 5.0V at the tablet after all the losses.
DIGItonium likes this.
Knio is offline   Reply With Quote
Old 11-05-2015, 01:36 AM   #81 (permalink)
Base Member
 
Knio's Avatar
 
Join Date: May 2011
Location: Palo Alto, CA
Posts: 141
Drives: 40th
Rep Power: 14
Knio has a spectacular aura aboutKnio has a spectacular aura about
Default

0x245 F=64 when stability control activates
SouthArk370Z likes this.
Knio is offline   Reply With Quote
Old 11-08-2015, 12:31 AM   #82 (permalink)
Base Member
 
Knio's Avatar
 
Join Date: May 2011
Location: Palo Alto, CA
Posts: 141
Drives: 40th
Rep Power: 14
Knio has a spectacular aura aboutKnio has a spectacular aura about
Default

Quote:
Originally Posted by Brad370 View Post
Some info I found on the Bosch website. It listed part #'s for the 370Z 09+ models:

Yaw rate sensor, brake system
Bosch Part #: 0 265 005 806
Nissan Part #: 47931 1EA1A

Steering angle sensor, ESP (Electr. Stability Program)
Bosch Part #: 0 265 005 515
Nissan Part #: 47945JY00A

Wheel speed sensor, front
Bosch Part #: 0 265 008 025
Nissan Part #: ?

However, I can't find a datasheet for the yaw rate sensor part # listed there.

Found this in the service manual, the Bosch sensor isn't hooked up to the main CANbus, and is instead relayed through the ABS controller, this probably explains why the signals don't match up exactly with the Bosch datasheets

Knio is offline   Reply With Quote
Old 04-20-2016, 11:41 PM   #83 (permalink)
Base Member
 
Join Date: Aug 2011
Location: online
Posts: 102
Drives: car
Rep Power: 14
Brad370 is on a distinguished road
Default

From the link you posted:
"PID Number
Use this value to set the number of the PID that is sent with the request. This value can be one or more bytes in hexadecimal format. For mode 01 PIDs, this value should be a single byte (e.g. 04). For mode 22 PIDs, this value is typically two bytes (e.g. 0200)."

You are trying to use a 2 byte address (111F) so you'll need to use mode 22 instead of mode 01 similar to my post here:

https://projectbytes.wordpress.com/2014/06/29/nissan-370z-custom-pids/


Hopefully that'll fix it.
TDG1999 likes this.

Last edited by Brad370; 01-06-2017 at 12:47 PM.
Brad370 is offline   Reply With Quote
Old 04-21-2016, 11:44 AM   #84 (permalink)
Premium Member
 
SouthArk370Z's Avatar
 
Join Date: Nov 2010
Location: South Arkansas
Posts: 8,435
Drives: 2014 Challenger
Rep Power: 324198
SouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond repute
Default

Quote:
Originally Posted by jskracht View Post
... Equation = (A - 50) * 9 / 5 + 3
Just guessing, but:

You might be computing a number that the reader doesn't understand. Just as a check, I'd try A (or A * 1). Probably not the problem, but it's easy to try.

I'd also check and make sure the ECM's response is going to be formatted so that your reader understands it (eg, number of bytes). You may have to adjust settings in reader.
__________________
Steering Lock Links - Search The370Z Bookmarklet - FSM @ NICOclub
Mankind has progressed past the need for war but we haven't evolved that far. - NachoMahma
SouthArk370Z is offline   Reply With Quote
Old 04-21-2016, 09:21 PM   #85 (permalink)
Premium Member
 
SouthArk370Z's Avatar
 
Join Date: Nov 2010
Location: South Arkansas
Posts: 8,435
Drives: 2014 Challenger
Rep Power: 324198
SouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond reputeSouthArk370Z has a reputation beyond repute
Default

Everything I know about OBD/CAN can be found at the wiki link in my sig. I haven't updated the site in quite some time but what's there should still be valid.


Going by your description of readSaePid, it sounds like it is used to concatenate data, possibly for display purposes. But that's just a guess.
__________________
Steering Lock Links - Search The370Z Bookmarklet - FSM @ NICOclub
Mankind has progressed past the need for war but we haven't evolved that far. - NachoMahma
SouthArk370Z is offline   Reply With Quote
Old 08-19-2016, 12:10 PM   #86 (permalink)
Uxi
Enthusiast Member
 
Uxi's Avatar
 
Join Date: Apr 2015
Location: Southern California
Posts: 303
Drives: 16 NISMO Tech PW 6MT
Rep Power: 3598
Uxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond repute
Default

Great project. I am interested in doing some of this on my Nismo Tech.
Uxi is offline   Reply With Quote
Old 05-31-2018, 06:54 PM   #87 (permalink)
Track Member
 
Join Date: May 2018
Location: Farmington Hills, MI
Posts: 599
Drives: 08 Expedition
Rep Power: 6765
dts3 has a reputation beyond reputedts3 has a reputation beyond reputedts3 has a reputation beyond reputedts3 has a reputation beyond reputedts3 has a reputation beyond reputedts3 has a reputation beyond reputedts3 has a reputation beyond reputedts3 has a reputation beyond reputedts3 has a reputation beyond reputedts3 has a reputation beyond reputedts3 has a reputation beyond repute
Default

Has this gone anywhere? I just got my Z last week and I would like to get in on this! I write firmware for brake controller ECUs (nothing for Nissan), so I have a little experience.

Sent from my Pixel XL using Tapatalk
__________________
Visit my blog!
www.LeftoverPi.com

Last edited by dts3; 05-31-2018 at 06:57 PM.
dts3 is offline   Reply With Quote
Old 05-31-2018, 11:03 PM   #88 (permalink)
Base Member
 
Knio's Avatar
 
Join Date: May 2011
Location: Palo Alto, CA
Posts: 141
Drives: 40th
Rep Power: 14
Knio has a spectacular aura aboutKnio has a spectacular aura about
Default

Quote:
Originally Posted by dts3 View Post
Has this gone anywhere? I just got my Z last week and I would like to get in on this! I write firmware for brake controller ECUs (nothing for Nissan), so I have a little experience.
I haven't heard of any further progress on this in a long time, but I think we have a pretty good understanding of the CAN architecture and signals built up. Is there anything specific that you're looking for?
Knio is offline   Reply With Quote
Old 06-11-2018, 10:57 AM   #89 (permalink)
Uxi
Enthusiast Member
 
Uxi's Avatar
 
Join Date: Apr 2015
Location: Southern California
Posts: 303
Drives: 16 NISMO Tech PW 6MT
Rep Power: 3598
Uxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond reputeUxi has a reputation beyond repute
Default

Is the progress being documented somewhere other than this page? Would love to see the PID to see tire pressures, for example.
Uxi is offline   Reply With Quote
Old 06-11-2018, 12:16 PM   #90 (permalink)
Base Member
 
Knio's Avatar
 
Join Date: May 2011
Location: Palo Alto, CA
Posts: 141
Drives: 40th
Rep Power: 14
Knio has a spectacular aura aboutKnio has a spectacular aura about
Default

Quote:
Originally Posted by Uxi View Post
Is the progress being documented somewhere other than this page? Would love to see the PID to see tire pressures, for example.
Brad's dropbox sheet is probably the best documentation. TPMS is CAN ID 385
Uxi likes this.
Knio is offline   Reply With Quote
Reply

Bookmarks


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



All times are GMT -5. The time now is 08:31 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 PL2