Advertisement
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Home Who's Online Today's Posts HP Calculator CompD Gift Shop Mark Forums Read
Go Back   Competition Diesel.Com - Bringing The BEST Together > Tech- General Diesel > Diesel Conversions
Register Members List Timeslips EFI Live Library Invite Your Friends FAQ Calendar

Diesel Conversions Powerplant swaps, Repowers, etc.

Reply
 
Thread Tools
Old Yesterday, 08:31 AM   #1
biggy238
 
biggy238's Avatar

Name: biggy238
Title: Too Much Time
Status: Not Here
Join Date: Aug 2008
Location: Just North of Wrong
Member`s Gallery
Posts: 10,868
CAN bus sniffing

I'm working on a project that requires data from the vehicle canbus. I'm a newborn when it comes to actually retrieving data, so I'm hoping someone here has info surrounding the topic.

I'm using an Arduino based can tool and open source code to retrieve data. I've got the basic engine speed, coolant temp, RPM being pulled from 0x7E8 (engine ECM) address.
What I'm struggling with is filters and masks.

If I understand correctly, the mask is simply the highest address we can receive from, and the filters set what bytes we are receiving?

The typical starter code is init mask of:
(0, 0, 0x7FC)
(1, 0, 0x7FC)

With 6 filters (mcp2515 can only have 6) set for 0x7E8

So basically the mask is the range we can monitor, the filters are what we pass through?



Sent from my motorola one 5G using Tapatalk
__________________
Check out @bdmaximusworx

05.5 Campanella White TDi Jetta 5spd 45.5MPG
-Little Sexy
'10 Silver F250 CCLB 4X4 6.4L cummins Swapped
Insta @trash.panda250
  Reply With Quote
Old Yesterday, 08:14 PM   #2
biggy238
 
biggy238's Avatar

Name: biggy238
Title: Too Much Time
Status: Not Here
Join Date: Aug 2008
Location: Just North of Wrong
Member`s Gallery
Posts: 10,868
I found what I was after. Will post up this weekend.

Sent from my motorola one 5G using Tapatalk
__________________
Check out @bdmaximusworx

05.5 Campanella White TDi Jetta 5spd 45.5MPG
-Little Sexy
'10 Silver F250 CCLB 4X4 6.4L cummins Swapped
Insta @trash.panda250
  Reply With Quote
Reply


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

Forum Jump


All times are GMT -5. The time now is 09:47 AM.

 


Powered by vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2006 - 2024, CompetitionDiesel.com
all information found on this site is property of www.competitiondiesel.com