Nissan 370Z Forum  

370Z CAN Bus Proprietary PID's

I have an ELM-based CAN-to-USB adapter. Would it be possible to get a copy of your program?

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


Like Tree110Likes

Reply
 
LinkBack Thread Tools Display Modes
Old 05-08-2014, 10:41 PM   #1 (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

I have an ELM-based CAN-to-USB adapter. Would it be possible to get a copy of your program?
__________________
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 05-09-2014, 11:44 AM   #2 (permalink)
Base Member
 
Join Date: Jan 2014
Location: California
Posts: 165
Drives: 09 Nissan 370Z GM M6
Rep Power: 6722
radensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond repute
Default

Quote:
Originally Posted by SouthArk370Z View Post
I have an ELM-based CAN-to-USB adapter. Would it be possible to get a copy of your program?
I don't believe my code will help you in your case. My code is C++ firmware code that gets loaded to an Arduino and communicates directly to a MCP2515 CAN controller chip via the SPI protocol. That data is then translated to UART to communicate to the PC to see the results.


I just used Hercules to view the COM port.

RS232 terminal, serial port terminal, udp terminal, tcp/ip client server - Hercules

The hardware you have should do this already. If you use Hercules, you can log data just as I have.

The advantage of having such a low level interface is that once I start understanding what the data is, I can program my Arduino to start doing stuff with it!

I am writing a program now that will allow me to view all the data on the CAN simultaneously by PID. That way, I can start messing with stuff in the car and see what data changes and how.
gomer_110 likes this.
radensb is offline   Reply With Quote
Old 05-09-2014, 03:43 PM   #3 (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 radensb View Post
I don't believe my code will help you in your case. My code is C++ firmware code that gets loaded to an Arduino and communicates directly to a MCP2515 CAN controller chip via the SPI protocol. That data is then translated to UART to communicate to the PC to see the results.
Ah. OK.

Quote:
Originally Posted by radensb View Post
I just used Hercules to view the COM port.
RS232 terminal, serial port terminal, udp terminal, tcp/ip client server - Hercules ...
The hardware you have should do this already. If you use Hercules, you can log data just as I have. ...
The hardware/software I have found work great for monitoring params if you know the PID, but I haven't found a free program that will do bus sniffing.


Please keep us posted on your progress.
__________________
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 05-13-2014, 01:30 AM   #4 (permalink)
Base Member
 
Join Date: Jan 2014
Location: California
Posts: 165
Drives: 09 Nissan 370Z GM M6
Rep Power: 6722
radensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond reputeradensb has a reputation beyond repute
Default Update

I wrote a test tool for the incoming CAN data. The program reads in the CAN stream from the arduino and displays unique ID's and their data length. When the ID repeats, the line containing that ID gets updated. This allows me to view a static arrangement of all the PID's and watch how their data changes in real time.

Output format:
XXX: XX XX XX XX XX XX XX XX
PID: D0 D1 D2 D3 D4 D5 D6 D7


radensb is offline   Reply With Quote
Reply

Bookmarks

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

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:01 AM.


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