BMW M3 Forum
BMW M3 Forum BMW M3 Gallery BMW M3 Reviews BMW M3 Social Groups BMW M3 Chat M3Forum Sponsors >>
Loading


Mobile M3forum
Go Back   BMW M3 Forum.com (E30 M3 | E36 M3 | E46 M3 | E92 M3 | F80/X) > BMW M3 Discussions > E46 M3 (2001-2006) > Coding and Tuning
Tire Rack Buy Winter Tires Now!
Not a member? Register Now!
Register Gallery All Albums Garage Search Today's Posts Mark Forums Read Calendar FAQ

Coding and Tuning Discuss all avenues of coding and tuning here!


Reply
 
Thread Tools Display Modes
Old Wed, Aug-16-2017, 05:06:58 PM   #1
e36 323ti
Registered User
 
e36 323ti's Avatar
 
Join Date: Sep 2011
Posts: 201
In the garage:
Reputation: 0 e36 323ti is on a distinguished road

Norway




Default Visualization of CAN data related to the e46 M3

Based on the work around the mysterious MK60, I have learned that there is so much data on the CAN bus that might be of interest, especially if one take the car to the track.

Instead of making the already messy MK60 thread even more messy, I start a thread dedicated to more on the CAN than only related to the MK60.

I'm aiming for a low cost system able to do logging of various data from my car for both visualization and telemetry. I have tried to visualize what I'm aiming for in the figure below.



The system will consist of various parts:

1:DualCAN for taking the e46 CAN data to 1Mbit (and not to disturb the stock CAN bus by more CAN traffic).
Status: Both HW and SW finalized. As a spin off: Emulators for helping enthusiasts that need some sort of IKE/MSS54 emulation for running MK60 in not-fully-e46-m3 transplanted cars.

2:HMI display for real time visualizing CAN data.
Staus: SW finalized (rc0). 3D printed bezel (Rev0) for AirVent location of display finished.

3:CAN2HMI for converting CAN data to a format required by the display.
Status: Both HW and SW finalized.

4:IR2CAN for reading brake rotor temperatures.
Status: Rev0 of HW PCB ready, SW ready. Remains to mount and test the parts. Drawings for HW Rev1 ready. Developed a custom algorithm with wheel velocity dependent sampling of the brake rotor temperatures such that the average rotor temperature is measured in increments of 10mm.

5:Analog2CAN for reading engine BrakePressure and OilPressure by direct measurements on the pressure sensors for reporting the data to CAN . Status: HW PCB Rev0 ready. SW ready to be tested.

6:Analog2CAN for reading GearBox and Diff temperatures by direct measurements on the temperature sensors for reporting the data to CAN . Status: HW PCB Rev0 ready. SW ready to be tested.

7:Transfer data to a secondary system. Aiming for using a RaspberryPi for transmitting the data to the Azure Cloud using a cell phone with 4G as router.
Status: HW, SW and HowTo ready. Need to find the time to do it.

8:KBUS2CAN: Take measurements only available on KBUS to CAN.
Status: Protocol coded. HW and SW finalized.


Some visuals:

Test fit of 3.5" in AirVent:


CAN2HMI card. Attached it to my bench and streamed a logged CAN sequence from one of my e46 towards it. Works like a charm.



HMI GUI development:

Did some calculations on the CAN messages from the ECU and made some stuff for presenting the results on the HMI...



Nice to know that the engine oil temp is also available on CAN on the non-M cars...


Brake rotor temps:


Oil pressure:


Selection of MAX values:


Realtime update of temperatures:


Max values G-Forces (taken from the MK60):


Switch between the display windows by touching the screen or using the steering wheel buttons.

More to come...

Last edited by e36 323ti; Mon, Oct-23-2017 at 06:04:21 PM.
Jump to top e36 323ti is offline   Reply With Quote
Sponsored Links
Register now and remove these ads
Old Wed, Aug-16-2017, 07:01:27 PM   #2
0-60Motorsports
Established 1998....
 
0-60Motorsports's Avatar
 
Join Date: Mar 2004
Posts: 14,204
In the garage:
Reputation: 0 0-60Motorsports is on a distinguished road
Location: Al Manama, Bahrain

Bahrain




Default Re: Visualization of CAN data related to the e46 M3

This is so awesome. Will there be a Celsius option?
__________________
EURO 04 M3 Mods: GC DA's / Eibach Sways / PF RTABs / RE RCAs / INTRAVEE II / ///MFEST Badges / M5 SMG Knob / VCSL: Bumper + Race Lip, CF Trunk, CF Diffusor / DIETZ TV in Motion / SuperSprint: Stepped Headers, Cat Deletes, Res X-pipe, Sport Muffler / Z8 Starter Button / Lamin-X / STM Paddles / OEM CSL: Steering, Interior, Intake, CF Roof / Terra MSS54HP CSL Clone + TTFS Tune / BBS CH's, LIGHTWERKZ / ST40's / DINAN RSB / RE Race Brace / BW Oil Cooler / 3.91 gears / Radium OCC
Jump to top 0-60Motorsports is offline   Reply With Quote
Old Wed, Aug-16-2017, 07:22:34 PM   #3
e36 323ti
Registered User
 
e36 323ti's Avatar
 
Join Date: Sep 2011
Posts: 201
In the garage:
Reputation: 0 e36 323ti is on a distinguished road

Norway




Default Re: Visualization of CAN data related to the e46 M3

Easy to make Celsius to Fahrenheit.
Jump to top e36 323ti is offline   Reply With Quote
Old Wed, Aug-16-2017, 07:37:39 PM   #4
0-60Motorsports
Established 1998....
 
0-60Motorsports's Avatar
 
Join Date: Mar 2004
Posts: 14,204
In the garage:
Reputation: 0 0-60Motorsports is on a distinguished road
Location: Al Manama, Bahrain

Bahrain




Default Re: Visualization of CAN data related to the e46 M3

Quote:
Originally Posted by e36 323ti View Post
Easy to make Celsius to Fahrenheit.


Perfect. What will the price range for this be?
__________________
EURO 04 M3 Mods: GC DA's / Eibach Sways / PF RTABs / RE RCAs / INTRAVEE II / ///MFEST Badges / M5 SMG Knob / VCSL: Bumper + Race Lip, CF Trunk, CF Diffusor / DIETZ TV in Motion / SuperSprint: Stepped Headers, Cat Deletes, Res X-pipe, Sport Muffler / Z8 Starter Button / Lamin-X / STM Paddles / OEM CSL: Steering, Interior, Intake, CF Roof / Terra MSS54HP CSL Clone + TTFS Tune / BBS CH's, LIGHTWERKZ / ST40's / DINAN RSB / RE Race Brace / BW Oil Cooler / 3.91 gears / Radium OCC
Jump to top 0-60Motorsports is offline   Reply With Quote
Old Wed, Aug-16-2017, 08:23:02 PM   #5
Tchleung
Registered User
 
Join Date: Sep 2009
Posts: 3,035
Reputation: 0 Tchleung is on a distinguished road

Canada




Default Re: Visualization of CAN data related to the e46 M3

Wow amazing!! Will those support the non MK60 M3's too?
__________________
Follow me on Instagram @tommtomm84

03 Carbon Black X5 4.4 - Parts Hauler/Daily

02 Carbon Black M3 6MT - Fun Car
462whp/311wtq @ 9.5psi(SuperFlow)
4.10 / Headers / ESS VT2-550+

Jump to top Tchleung is offline   Reply With Quote
Old Wed, Aug-16-2017, 09:28:29 PM   #6
e36 323ti
Registered User
 
e36 323ti's Avatar
 
Join Date: Sep 2011
Posts: 201
In the garage:
Reputation: 0 e36 323ti is on a distinguished road

Norway




Default Re: Visualization of CAN data related to the e46 M3

I imagine that the CAN info sent from the MK20 follows the same format as the CAN info sent from the MK60. The other modules are the same w.r.t CAN as far as I know. If that is the case, it should work in a non-MK60 M3 as well.

Last edited by e36 323ti; Sat, Aug-19-2017 at 09:44:26 AM.
Jump to top e36 323ti is offline   Reply With Quote
Old Wed, Aug-16-2017, 09:44:12 PM   #7
Tchleung
Registered User
 
Join Date: Sep 2009
Posts: 3,035
Reputation: 0 Tchleung is on a distinguished road

Canada




Default Re: Visualization of CAN data related to the e46 M3

Sign me up! I wanted the Awron one but it ahs compatibility issues with American/Euro tunes sometimes depending what you are running.
__________________
Follow me on Instagram @tommtomm84

03 Carbon Black X5 4.4 - Parts Hauler/Daily

02 Carbon Black M3 6MT - Fun Car
462whp/311wtq @ 9.5psi(SuperFlow)
4.10 / Headers / ESS VT2-550+

Jump to top Tchleung is offline   Reply With Quote
Old Wed, Aug-16-2017, 10:16:14 PM   #8
cossie1
Registered User
 
Join Date: Dec 2013
Posts: 413
Reputation: 0 cossie1 is on a distinguished road

United Kingdom




Default Re: Visualization of CAN data related to the e46 M3

Quote:
Originally Posted by 0-60Motorsports View Post
Perfect. What will the price range for this be?
+1 on this
Jump to top cossie1 is offline   Reply With Quote
Old Wed, Aug-16-2017, 11:27:28 PM   #9
Biosphere
Registered User
 
Join Date: Feb 2012
Posts: 448
In the garage:
Reputation: 0 Biosphere is on a distinguished road
Location: Stavanger

Norway




Default Re: Visualization of CAN data related to the e46 M3

very cool keep it up
Jump to top Biosphere is offline   Reply With Quote
Old Thu, Aug-17-2017, 01:01:12 AM   #10
PITT M3 RR
PA
 
PITT M3 RR's Avatar
 
Join Date: Apr 2009
Age: 32
Posts: 1,209
In the garage:
Reputation: 0 PITT M3 RR is on a distinguished road
Location: Pittsburgh

United States




Default Re: Visualization of CAN data related to the e46 M3

sub'd
__________________
S54 E36 BUILD
Jump to top PITT M3 RR is online now   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

Forum Jump



All times are GMT. The time now is 03:59:40 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
M3Forum.com and M3forum.net is in no way sponsored, endorsed or affiliated by or with BMW NA / BMW AG or any of it's subsidiaries or vendors.
BMW and M3 (E90 M3 | E92 M3 | E93 M3 | E46 M3 | E36 M3 | E30 M3) are registered trademarks of BMW AG.
M3Forum Terms of Service
Copyright 1999-2017 M3Forum.com
Discussing Comprehensive MSS50 DME information (Euro E36 M3 S50B32 321 PS) in the Coding and Tuning Forum - Discuss all avenues of coding and tuning here! at BMW M3 Forum.com (E30 M3 | E36 M3 | E46 M3 | E92 M3 | F80/X)