I apologize in advance if there is a better location for this, I did look but didn't see a logical spot for "CAN Bus", so I posted it in general.
|
|
LinkBack | Thread Tools | Display Modes |
07-21-2021, 11:24 PM | #1 (permalink) |
Base Member
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789 |
370z CAN Bus Data & Question?
I apologize in advance if there is a better location for this, I did look but didn't see a logical spot for "CAN Bus", so I posted it in general.
I have been doing a lot of research and reverse engineering my G37's CAN bus. AND I would like to understand what is the same and what is different on the 370z's CAN bus. However, I don't have access to a 370z to capture the CAN bus data (they are too quick for my G37!) By chance, does anyone have or can get CAN bus data from their 370z? There isn't any personal information in the data, no location and not even a VIN. -OR- if you are in the Toronto area, if I buy you a coffee could I record it while you drive around the block? The main reason for doing this is to make engine swaps easier and have working factory gauges. Something like a plug and play black box. Thanks in advance! |
07-22-2021, 08:19 AM | #2 (permalink) |
A True Z Fanatic
Join Date: Mar 2011
Location: Austin, TX
Age: 43
Posts: 36,450
Drives: 11 Z34, 98 E36 M3
Rep Power: 2684440 |
There's a few people who have tried. Here's a couple of threads on the subject.
370Z CAN Bus Proprietary PID's Can bus Hacking
__________________
2011 370Z 6MT Sport Gun Metallic | ARC | CJM | Ecutek | FI | Fujimura | R2C | SPL | Stillen | TWM | Z1 | ZSpeed | |
07-22-2021, 09:17 AM | #3 (permalink) | |
Base Member
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789 |
Quote:
I feel like I have searched every inch of the internet for Nissan CAN bus logs and have been up and down those threads many times Most people that want to reverse engineer CAN bus like to do so on an electric car, as they want to know more about the battery state of charge. However, there is a lot of interesting data on our own CAN bus that could be useful. For example, here is the raw data from the steering wheel position sensor: The steering wheel data is updated 100 times per second, and it contains the steering wheel angle, rate of steering wheel turning (degrees/sec) and some other stuff I haven't figured out. Just hoping to wet someone's appetite Last edited by MotorvateDIY; 07-22-2021 at 09:24 AM. |
|
07-22-2021, 12:21 PM | #4 (permalink) |
Base Member
Join Date: May 2021
Location: US
Posts: 5
Drives: 2020 370Z AT
Rep Power: 4 |
Hi,
I must have a CAN bus adapter somewhere and can get an ODB2 connector. Care to share more details on how you are grabbing the logs and save me the googling part? Sort of interested on this as well. |
07-22-2021, 03:26 PM | #6 (permalink) | |
Base Member
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789 |
Quote:
I designed, built and programmed a CAN bus to SD card recorder. It uses an $8 ESP32, a $2 CAN bus transceiver and a $2 SD card module. I simply plug it into my car and go for a drive. It records all the CAN bus data to the SD card. On a manual transmission G37, it records close to 1200 CAN bus messages per second and on an automatic G37 with AWD, that jumps up to 2200 CAN bus messages per second. (Thanks again Kevin & Andy!!) Then I use SavvyCAN to visualize the data, reverse engineer it and build a "DBC" file that defines everything. (well not everything... some items are very difficult to figure out!) The CAN bus data is saved in a "SavvyCan" format, so it makes it easy to open it in the FREE and EXCELLENT SavvyCAN program. I am 90% done designing an easy to assemble kit that allow you to do this without any electronic or programming skills. I think everyone should be able to do this for under $50 an not spend $300+ for the commercial CAN to USB/SD kits. |
|
07-23-2021, 10:41 AM | #7 (permalink) |
Base Member
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789 |
Small update:
I now have full control of the G37 instrument panel/gauges using the CAN bus! When I get 370z CAN bus logs, I will get it to work on the G37. If needed I can make up "translation gateway" to resolve any non-functional gauges. Down the road, I should be able to get the 350/370 gauges to work with any other engine/ECU (VR, LS, HR to VQ, etc) The 370 gauges are a little simplier to use, as they connect directly to the CAN bus. On the G35/G37 the "Unified Meter & A/C Amp" connects to the CAN bus and uses a serial connection to control the gauges. Here is a before and after picture: |
07-23-2021, 03:42 PM | #10 (permalink) |
A True Z Fanatic
Join Date: Oct 2010
Location: Portage, MI
Posts: 2,284
Drives: Tricycle
Rep Power: 589151 |
I am very interested in this. I have a standalone ECU, MS3, and an LS swap on my car. I'm literally about to button up the engine in Aug. I'd LOVE to have all OE gauges work. If you have something to make my life easier for the CAN setup... My PayPal is ready to go.
Last edited by gbrettin; 07-23-2021 at 04:01 PM. |
07-23-2021, 05:06 PM | #11 (permalink) |
Base Member
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789 |
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. |
07-23-2021, 05:11 PM | #12 (permalink) | |
Base Member
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789 |
Quote:
Later this evening, I will dig thought the MS3 documentation to understand their CAN bus system. I don't think it will be too difficult... Once I know more, I'm sure I will have some questions. |
|
07-23-2021, 09:08 PM | #13 (permalink) | |
Base Member
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789 |
Quote:
• Do you know what firmware version you have? • What is missing/unplugged in the car? |
|
07-27-2021, 02:30 AM | #15 (permalink) |
Base Member
Join Date: Nov 2016
Location: Toronto
Posts: 216
Drives: G37 Sport
Rep Power: 6789 |
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! |
Bookmarks |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
370Z Exhaust Sound Clip data base | Minicobra1 | Intake/Exhaust | 383 | 04-26-2021 11:47 AM |
2009 370Z - Questions about Data logs, confusing information. | Sh0velMan | Tuning | 14 | 02-23-2012 06:10 PM |
370Z who have already been tuned - post data if poss? | Kastley85891 | Tuning | 8 | 11-25-2009 02:57 PM |
350z / 370z Event Data Recorder (EDR) | 05_350Z | Nissan 370Z General Discussions | 11 | 08-25-2009 12:15 PM |