Nissan 370Z Forum  

370z CAN Bus Data & Question?

Mini Update: This afternoon was fun... By sending out CAN bus data, I can now fully control the instrument panel: Tomorrow, I will re-verify today's work, just to make sure

Go Back   Nissan 370Z Forum > Nissan 370Z General Area > Nissan 370Z General Discussions


Like Tree55Likes

Reply
 
LinkBack Thread Tools Display Modes
Old 07-23-2021, 04:06 PM   #1 (permalink)
Base Member
 
Join Date: Nov 2016
Location: Toronto
Posts: 232
Drives: G37 Sport
Rep Power: 6789
MotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond repute
Default

Mini Update:
This afternoon was fun...
By sending out CAN bus data, I can now fully control the instrument panel:


Tomorrow, I will re-verify today's work, just to make sure all is accurate.
Attached Images
File Type: jpeg 8K_RPM_sm.jpeg (117.5 KB, 201 views)
gbrettin, JARblue, cv129 and 2 others like this.
MotorvateDIY is offline   Reply With Quote
Old 07-23-2021, 08:29 PM   #2 (permalink)
A True Z Fanatic
 
gbrettin's Avatar
 
Join Date: Oct 2010
Location: Portage, MI
Posts: 2,301
Drives: Tricycle
Rep Power: 589151
gbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond repute
Default

I sent a message to you on Facebook.

Sent from my SM-G975U using Tapatalk
gbrettin is offline   Reply With Quote
Old 07-27-2021, 01:30 AM   #3 (permalink)
Base Member
 
Join Date: Nov 2016
Location: Toronto
Posts: 232
Drives: G37 Sport
Rep Power: 6789
MotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond repute
Default

Since my last post, I have an additional 30+ hours reverse engineering the gauges. I really don't know what is wrong with me, but I LOVE this type of work!!


On the CAN bus I have found:
Paddle shifters (up & down), outside temp, all of the LCD images (middle of the G37 gauges), all of the warning lights, driver & passenger seat belt buckle status,
and two very interesting ones:

• Amount of fuel consumed since engine start
• Raw data of the fuel level float. I had no idea how much those float arms move!!

To give you an idea of the scope of the task here is some simple math:
Each ID the gauges receive typically have a payload of 8 data bytes.
That 8 bytes can be 8 values for an analog sensor, or 64 bits used for switch (lights on) or system status (engine off, engine running)
-OR- any mix of the above.

Now that was for a single CAN ID, most modules receive data from multiple IDs and the only way to find out, is to send specific data to a specific ID and see what happens.

In the next few days I will have some CAN logs from a 370z and will feed it to my G37 gauges. I am 99% certain everything will work as I would think the encoding is the same.

By the way, while sending speedometer data to the gauge cluster to figure out the "fuel consumed" my odometer went up just over 320 KM / 199 miles while on my desk!
MotorvateDIY is offline   Reply With Quote
Old 07-27-2021, 02:02 AM   #4 (permalink)
A True Z Fanatic
 
madwi's Avatar
 
Join Date: Sep 2012
Location: West Michigan
Posts: 31,410
Drives: Granma red Z
Rep Power: 2684429
madwi has a reputation beyond reputemadwi has a reputation beyond reputemadwi has a reputation beyond reputemadwi has a reputation beyond reputemadwi has a reputation beyond reputemadwi has a reputation beyond reputemadwi has a reputation beyond reputemadwi has a reputation beyond reputemadwi has a reputation beyond reputemadwi has a reputation beyond reputemadwi has a reputation beyond repute
Default

Very nice! Thanks.
madwi is offline   Reply With Quote
Old 07-28-2021, 02:47 PM   #5 (permalink)
A True Z Fanatic
 
gbrettin's Avatar
 
Join Date: Oct 2010
Location: Portage, MI
Posts: 2,301
Drives: Tricycle
Rep Power: 589151
gbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond repute
Default

That's very cool!
gbrettin is offline   Reply With Quote
Old 07-28-2021, 03:01 PM   #6 (permalink)
Base Member
 
Join Date: Nov 2016
Location: Toronto
Posts: 232
Drives: G37 Sport
Rep Power: 6789
MotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond repute
Default

Just having a little fun & re-verifying the CAN bus commands:
(I do have some 370z logs on their way to me and I expect them to me mostly the same and should work with both gauge clusters.
I will give an update after the analysis is done)

http://www.youtube.com/watch?v=lWDMs2Ql58g
JARblue, Rusty, Uxi and 1 others like this.

Last edited by MotorvateDIY; 07-28-2021 at 03:03 PM.
MotorvateDIY is offline   Reply With Quote
Old 07-28-2021, 03:14 PM   #7 (permalink)
Track Member
 
SeeThruHead's Avatar
 
Join Date: Jun 2020
Location: Toronto
Posts: 716
Drives: Red '18 Sport Manual
Rep Power: 23499
SeeThruHead has a reputation beyond reputeSeeThruHead has a reputation beyond reputeSeeThruHead has a reputation beyond reputeSeeThruHead has a reputation beyond reputeSeeThruHead has a reputation beyond reputeSeeThruHead has a reputation beyond reputeSeeThruHead has a reputation beyond reputeSeeThruHead has a reputation beyond reputeSeeThruHead has a reputation beyond reputeSeeThruHead has a reputation beyond reputeSeeThruHead has a reputation beyond repute
Default

you can record my can bus if you want.

also this guy has some stuff on his blog
https://projectbytes.wordpress.com/2...z-can-hacking/
https://www.dropbox.com/s/cfpzb2mpj4...0CAN.xlsx?dl=0
also this
https://github.com/rampage128/niscan

https://github.com/rampage128/cardro...ontroller.java
maybe this can help too
JARblue and MotorvateDIY like this.
__________________
My Build thread STH Build Plan Thread
Images too big fix here

Last edited by SeeThruHead; 07-28-2021 at 03:25 PM.
SeeThruHead is offline   Reply With Quote
Old 07-28-2021, 08:30 PM   #8 (permalink)
Base Member
 
Join Date: Nov 2016
Location: Toronto
Posts: 232
Drives: G37 Sport
Rep Power: 6789
MotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond repute
Default

Quote:
Originally Posted by SeeThruHead View Post
Thanks for the links... I think I have already read them, but I will double check.

I will send you a PM about logging CAN bus data.
Thanks for the offer!!
JARblue likes this.
MotorvateDIY is offline   Reply With Quote
Old 07-31-2021, 10:15 AM   #9 (permalink)
Base Member
 
Join Date: Nov 2016
Location: Toronto
Posts: 232
Drives: G37 Sport
Rep Power: 6789
MotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond repute
Default

Small update:
Thanks to a tuning shop in Poland, I have some 370z logs -AND- when I played them back on my G37 gauges, everything worked as expected!!

There are more 370z logs on their way to me and I will verify them against my G37 logs.

All of this will allow different engine swaps to have functioning stock gauges
and it will also allow the required ECU data to be translated and sent to different transmission control module, like the wonderful ZF 8HP for proper integration and function.

When I have looked at the other CAN logs, I will update the thread here.
If there is enough interest, I could put together and episode or two on how to get started with Nissan/Infiniti's (or any) CAN bus.
gbrettin, JARblue and madwi like this.
MotorvateDIY is offline   Reply With Quote
Old 08-02-2021, 10:49 AM   #10 (permalink)
Base Member
 
Join Date: Apr 2021
Location: Florida
Posts: 216
Drives: G37S
Rep Power: 26849
THE BULL has a reputation beyond reputeTHE BULL has a reputation beyond reputeTHE BULL has a reputation beyond reputeTHE BULL has a reputation beyond reputeTHE BULL has a reputation beyond reputeTHE BULL has a reputation beyond reputeTHE BULL has a reputation beyond reputeTHE BULL has a reputation beyond reputeTHE BULL has a reputation beyond reputeTHE BULL has a reputation beyond reputeTHE BULL has a reputation beyond repute
Default

Bump for this.
THE BULL is offline   Reply With Quote
Old 08-03-2021, 08:23 AM   #11 (permalink)
A True Z Fanatic
 
gbrettin's Avatar
 
Join Date: Oct 2010
Location: Portage, MI
Posts: 2,301
Drives: Tricycle
Rep Power: 589151
gbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond reputegbrettin has a reputation beyond repute
Default

I am so damn excited about this!
JARblue and madwi like this.
gbrettin is offline   Reply With Quote
Old 03-23-2022, 07:04 PM   #12 (permalink)
Uxi
Enthusiast Member
 
Uxi's Avatar
 
Join Date: Apr 2015
Location: Southern California
Posts: 303
Drives: 16 NISMO Tech PW 6MT
Rep Power: 3599
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

Any updates?

Kinda hoping to get something going to replace the left dot gauges with more useful info, especially having TPMS, temp, time, MPG, etc all in one little screen.
Uxi is offline   Reply With Quote
Old 03-24-2022, 08:58 AM   #13 (permalink)
Base Member
 
Join Date: Nov 2016
Location: Toronto
Posts: 232
Drives: G37 Sport
Rep Power: 6789
MotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond repute
Default

Quote:
Originally Posted by Uxi View Post
Any updates?
Kinda hoping to get something going to replace the left dot gauges with more useful info, especially having TPMS, temp, time, MPG, etc all in one little screen.
YES!

Unfortunately, I created multiple threads so the updates are in a few places.
Here is my attempt to get everything into one thread:
LCD Gauge Update #3: 35 Data Items on 16 Pages!

TL;DR
https://youtu.be/lndZiRxDNOo
JARblue, Uxi and redondoaveb like this.
MotorvateDIY is offline   Reply With Quote
Old 09-14-2022, 10:48 AM   #14 (permalink)
Base Member
 
INV_MY_370's Avatar
 
Join Date: Mar 2018
Location: Illinois
Posts: 84
Drives: 2012-Gun Metallic-MT
Rep Power: 3363
INV_MY_370 has a reputation beyond reputeINV_MY_370 has a reputation beyond reputeINV_MY_370 has a reputation beyond reputeINV_MY_370 has a reputation beyond reputeINV_MY_370 has a reputation beyond reputeINV_MY_370 has a reputation beyond reputeINV_MY_370 has a reputation beyond reputeINV_MY_370 has a reputation beyond reputeINV_MY_370 has a reputation beyond reputeINV_MY_370 has a reputation beyond reputeINV_MY_370 has a reputation beyond repute
Default

I found few ways to do complete scan and ways to send raw commands with the elm Bluetooth devices

If anyone knows the command that can be sent to clear the low tire light. Let me know please. I have already been able to do the basic, like honk the horn and headlights. Even the wippers.

Last edited by INV_MY_370; 09-14-2022 at 10:51 AM.
INV_MY_370 is offline   Reply With Quote
Old 09-15-2022, 07:15 AM   #15 (permalink)
Base Member
 
Join Date: Nov 2016
Location: Toronto
Posts: 232
Drives: G37 Sport
Rep Power: 6789
MotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond reputeMotorvateDIY has a reputation beyond repute
Default

Quote:
Originally Posted by INV_MY_370 View Post
I found few ways to do complete scan and ways to send raw commands with the elm Bluetooth devices

If anyone knows the command that can be sent to clear the low tire light. Let me know please. I have already been able to do the basic, like honk the horn and headlights. Even the wippers.
Since you are using an ELM327, you must be using UDS (unified diagnostic services) commands... good work! Did you reverse engineer them from a scan tool, or use that UDS spreadsheet that is floating around?

There is a CAN bus message that turns on/off the TPMS light and this is sent by the BCM depending on the TPMS status.

You might think that all we need to do is to send the command to turn off the TPMS light, but that won't work.

Here is why:
The BCM is also sending the command to have the light turn on 10 times per second.

Unfortunately, the result is an unpredictable / flickering TPMS light.
We can't have 2 devices sending opposing commands.

Turning off the TPMS light is something we have been working on for the last year and will be testing 2 different solutions on my G37 this fall.

One is an RF solution (simulates TPMS data) and the other is via the OBD port.
I'm sure many people would like to turn that TPMS light off... I know I want to!
sx moneypit and SeeThruHead like this.
MotorvateDIY 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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
370Z Exhaust Sound Clip data base Minicobra1 Intake/Exhaust 383 04-26-2021 10:47 AM
2009 370Z - Questions about Data logs, confusing information. Sh0velMan Tuning 14 02-23-2012 05:10 PM
370Z who have already been tuned - post data if poss? Kastley85891 Tuning 8 11-25-2009 01:57 PM
350z / 370z Event Data Recorder (EDR) 05_350Z Nissan 370Z General Discussions 11 08-25-2009 11:15 AM


All times are GMT -5. The time now is 03:24 PM.


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