register gallery
 

Go Back   Mazdaspeed Forums >
MAZDASPEED SECTION
>
Mazdaspeed 3/6 MZR Gen1 Forums (2006-2009)
> MazdaSpeed 3/6 - Car Audio & Electronics

MazdaSpeed 3/6 - Car Audio & Electronics MazdaSpeed 3/6 - Car Audio & Electronics - Tired of that stock stereo? Installing Nav units or mods to your current system? Come talk about it here.


Welcome to Mazdaspeed Forums .

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

*When you join MSF as a registered user, there will be No Ads.

*Registered Members get access to the Off Topic Area of the Forum

*Registered Members have an opportunity to upgrade their accounts to VIP, which brings a host of goddies for supporting MSF such as Raffles, Additional Forum Access, More PM Storage, The ability to upload more Images and many other enhancements.

*Registered members also get access to the live chat box!
Reply
 
Bookmark and Share LinkBack Thread Tools Search this Thread Display Modes
 Old 03-14-2010, 10:06 PM   #1
 
-cj-'s Avatar
 
Join Date: Apr 2009
Location: Great White North
Posts: 649   (View Stats)
iTrader: (1)
Rep Power: 484
-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world
Thanks: 1,214
Thanked 748 Times in 233 Posts
Groans: 21
Groaned at 13 Times in 7 Posts
(Thread Starter)
Not Ranked  0 score     
Default Interfacing with the CAN Network

Hey guys,

I originally posted this on my local forums, but I'm curious if anyone has interfaced with CAN network for the purposes of controlling the LCD screen/fuel computer?

Following some documentation I found on the Internet, I created an ODBII cable that would allow me to interface with the medium speed and high speed (MS-CAN, HS-CAN) networks in our cars. The HS-CAN interfaces with vital shit you really don't want to mess with (brakes, engine stuff, etc), but the MS-CAN interfaces with your LCD screen among other things.

I picked up an inexpensive CAN-USB Adapter off the 'net for like $100 shipped and started logging CAN messages.

In case you're wondering WHY, my only goal is to replicate the 'INFO' button on my Bose stereo, which I lost when I installed an aftermarket radio.

I'm not really any closer to my goal and as I told someone on the shout box the other day, after like many hours of messing around all I managed to do was display 12:00 on the LCD screen

... Okay, not entirely true. I figured out how to write messages on the LCD screen. Although it isn't practical yet:



Note: I'm using the original stereo in this picture. That's why the fuel computer shows up. All that I managed to do was create a custom message on the LCD screen. I'm not naming a file on an MP3 disc, FYI.


A LOT of the information I gathered came from this source: Madox.NET Mazda CAN Bus

This person mapped out most of the CAN Message ID's on his car... Unfortunately, it seems Mazda uses a lot of different message ID's between models and perhaps between different regions as well.

If anyone is interested in getting access to their LCD and/or fuel computer, maybe we can share some information/tools/resources, etc.


Here's some cool things you can do once you interface with the CAN network (This guy already figured it out... Those crazy Russians are always a step ahead)



The last one is very cool. He's interfaced a backup sensor with his LCD screen....
__________________
Mod List: ATP 3071R @ 22 psi, Grimspeed in 3-port mode, Steedspeed Manifold, Snow Performance Stage 2 Meth Kit, Cobb AP, CP-E 3" Nano SRI, CP-E Big Inlet TIP, Cobb "Stage 2" Suspension Kit, CP-E FMIC, CP-E DP, CP-E HPFP, CP-E MM, TWM STS, Custom Tuned by Fobio.
-cj- is offline   Reply With Quote
The Following User Says Thank You to -cj- For This Useful Post:
phillyb (03-15-2010)
 Old 03-15-2010, 03:31 PM   #2
 
free_refil's Avatar
 
Join Date: Jul 2009
Location: Sulphur, LA
Posts: 349   (View Stats)
iTrader: (2)
Rep Power: 145
free_refil has a reputation beyond reputefree_refil has a reputation beyond reputefree_refil has a reputation beyond reputefree_refil has a reputation beyond reputefree_refil has a reputation beyond reputefree_refil has a reputation beyond reputefree_refil has a reputation beyond reputefree_refil has a reputation beyond reputefree_refil has a reputation beyond reputefree_refil has a reputation beyond reputefree_refil has a reputation beyond repute
Thanks: 116
Thanked 81 Times in 52 Posts
Groans: 4
Groaned at 1 Time in 1 Post
Not Ranked  0 score     
Default

Wow, that's pretty tight... I'm sure there are a lot of possibilities available there... Although it looks like in the first to last video they're interfacing directly to the LCD, not to the ODB-II port...
__________________
'09 MS3 Sport, cp-e Xcel CAI w/Hydroshield, Cobb TIP, Forge BPV, TRZ RMM, JBaron SSP, MSD DH w/cp-e mount, Koni FSD's, Viper 5701 Remote Start/Alarm, AVIC-F700BT & JL 8W7 in Modified Stealthbox
free_refil is offline   Reply With Quote
 Old 03-15-2010, 03:42 PM   #3
 
MattJackson86's Avatar
 
Join Date: Dec 2008
Location: Los Angeles, CA
Posts: 1,407   (View Stats)
iTrader: (6)
Rep Power: 0
MattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the world
Thanks: 541
Thanked 680 Times in 387 Posts
Groans: 3
Groaned at 15 Times in 10 Posts
Not Ranked  0 score     
Default

I have done like you and been able to display text on the LCD. Did you run into issues though with the Radio overwriting your text? I had to continuously write my text, but this then caused flickering between my text and the HU's text. If I sent it too fast the HU basically shutdown and it all seems to fall apart. The only practical way I found would work (but didn't test it) was to cut the wire going to the LCD and intercept the HU messages. This would allow me to send my messages and not be screwed up by the HU's. If I turned my device off I would then be able to pass through the HU's message.

I didn't get a true plug n play device working like I wanted.

I did map out some of the message details in a lot more detail than the Maddox site using an application I wrote. I was able to tell the LCD what images to show or find out if the AC was on face/face-feet/window etc. Nothing super useful though.

Originally Posted by free_refil View Post
Although it looks like in the first to last video they're interfacing directly to the LCD, not to the ODB-II port...
Exactly the issue I found. From my testing I found you would need to tap into the LCD wiring for it to work nicely.
__________________
GTX3071 - SURE 3.25" Full3 Aeros - CP-E FMIC - CP-E Catted Downpipe - CNT Catback Exhaust - HKS SSQV BPV - James Barone 88 Trilogy - KMD CDFP Internals - CP-E Injector Seals - Cobb EBCS - ITV22 at .025 - 3 Bar MAP


Bitwise Motorsports http://www.bitwise-motorsports.com -
Mazdaspeed 3 BAR MAP Harness, Torque Plugins for Android, and 3-Port EBCS (coming soon!)
MattJackson86 is offline   Reply With Quote
 Old 03-15-2010, 04:19 PM   #4
Lex
Engineered Tuning

 
Lex's Avatar
 
Join Date: Jun 2008
Location: Vancouver, Canada
Posts: 12,648   (View Stats)
iTrader: (6)
Rep Power: 11991
Lex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the world
Thanks: 6,485
Thanked 23,341 Times in 6,955 Posts
Groans: 13
Groaned at 44 Times in 38 Posts
Not Ranked  0 score     
Default

The OBD port is likely on a different CAN network that the LCD display. Good work.
Lex is offline   Reply With Quote
 Old 03-15-2010, 05:26 PM   #5
 
MattJackson86's Avatar
 
Join Date: Dec 2008
Location: Los Angeles, CA
Posts: 1,407   (View Stats)
iTrader: (6)
Rep Power: 0
MattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the world
Thanks: 541
Thanked 680 Times in 387 Posts
Groans: 3
Groaned at 15 Times in 10 Posts
Not Ranked  0 score     
Default

Originally Posted by Lex View Post
The OBD port is likely on a different CAN network that the LCD display. Good work.
No it is on the same network. The issue is I send my text and the HU sends its text. The LCD displays the text as it receives it so it flickers between the two. If I send mine fast enough the flicker is almost not there, but the issue is that you really need to cut out the HU text all together.

Making a device to do it would be easy, and it could be plug n play, but would require plugging in the device behind the HU. I thought about it but no way near enough demand to make any money off it and I have no personal need for it yet.
__________________
GTX3071 - SURE 3.25" Full3 Aeros - CP-E FMIC - CP-E Catted Downpipe - CNT Catback Exhaust - HKS SSQV BPV - James Barone 88 Trilogy - KMD CDFP Internals - CP-E Injector Seals - Cobb EBCS - ITV22 at .025 - 3 Bar MAP


Bitwise Motorsports http://www.bitwise-motorsports.com -
Mazdaspeed 3 BAR MAP Harness, Torque Plugins for Android, and 3-Port EBCS (coming soon!)
MattJackson86 is offline   Reply With Quote
 Old 03-15-2010, 05:30 PM   #6
Lex
Engineered Tuning

 
Lex's Avatar
 
Join Date: Jun 2008
Location: Vancouver, Canada
Posts: 12,648   (View Stats)
iTrader: (6)
Rep Power: 11991
Lex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the world
Thanks: 6,485
Thanked 23,341 Times in 6,955 Posts
Groans: 13
Groaned at 44 Times in 38 Posts
Not Ranked  0 score     
Default

Originally Posted by MattJackson86 View Post
No it is on the same network. The issue is I send my text and the HU sends its text. The LCD displays the text as it receives it so it flickers between the two. If I send mine fast enough the flicker is almost not there, but the issue is that you really need to cut out the HU text all together.

Making a device to do it would be easy, and it could be plug n play, but would require plugging in the device behind the HU. I thought about it but no way near enough demand to make any money off it and I have no personal need for it yet.
The link above shows 2 networks - 1 is high speed and the other is low speed.

Are engine running parameters posted on the high speed (500kbps) network?

Would be very sweet if the PID list was public.
Lex is offline   Reply With Quote
 Old 03-15-2010, 10:00 PM   #7
 
MattJackson86's Avatar
 
Join Date: Dec 2008
Location: Los Angeles, CA
Posts: 1,407   (View Stats)
iTrader: (6)
Rep Power: 0
MattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the world
Thanks: 541
Thanked 680 Times in 387 Posts
Groans: 3
Groaned at 15 Times in 10 Posts
Not Ranked  0 score     
Default

Yes, all the engine stuff is on the high speed network. The LCD etc is on the medium speed. All of the standard PIDs are documented online. Its the Mazda specific ones that are not (that I am aware of).
__________________
GTX3071 - SURE 3.25" Full3 Aeros - CP-E FMIC - CP-E Catted Downpipe - CNT Catback Exhaust - HKS SSQV BPV - James Barone 88 Trilogy - KMD CDFP Internals - CP-E Injector Seals - Cobb EBCS - ITV22 at .025 - 3 Bar MAP


Bitwise Motorsports http://www.bitwise-motorsports.com -
Mazdaspeed 3 BAR MAP Harness, Torque Plugins for Android, and 3-Port EBCS (coming soon!)
MattJackson86 is offline   Reply With Quote
 Old 03-15-2010, 10:25 PM   #8
 
-cj-'s Avatar
 
Join Date: Apr 2009
Location: Great White North
Posts: 649   (View Stats)
iTrader: (1)
Rep Power: 484
-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world
Thanks: 1,214
Thanked 748 Times in 233 Posts
Groans: 21
Groaned at 13 Times in 7 Posts
(Thread Starter)
Not Ranked  0 score     
Default

From my understanding, there are two different networks that meet at the gauge cluster. The cluster acts as a gateway between the two networks. The other way to tap into the network is via the ODBII port, but you can only talk to one at a time, as far as I'm aware (I could be wrong).

Matt, I ran into the exact same issue with the HU trying to overwrite the text. I believe I came across a sequence that you can send over the CAN Network that would either cause the LCD to ignore the HU or cause the HU to stop transmitting -- I don't know which. I believe it was on the Madox site. The other option is to unplug the HU, which I've done now that I have an aftermarket HU. My goal was just to get the fuel computer to do it's thing (Better idea than my first plan, which was to strip down a stock HU and stick it in the glove box... I got it pretty small, but there are two 90 degree boards which need to be resoldiered to make them flush/sandwich like) without the stock unit.

All you need to do is buy a board that has a CAN Controller onboard and you can program that to send your Message-ID's over the network. That would eliminate the computer.... and most of the work would be done for you, you're just left with programming it.... (That's what the Russian dude up above did).

Another idea that I tossed around, I never looked at my Cobb AP pinouts, but I'm pretty sure they're talking on these networks. I proposed that they create an 'INFO' button on their AP, but they promptly ignored me lol.

BTW the Russian dude sells his CAN Interface for like $150 if I'm not mistaken... I thought about buying it to reverse engineer (for personal purposes, not to resell) it since he wasn't very helpful. =)
__________________
Mod List: ATP 3071R @ 22 psi, Grimspeed in 3-port mode, Steedspeed Manifold, Snow Performance Stage 2 Meth Kit, Cobb AP, CP-E 3" Nano SRI, CP-E Big Inlet TIP, Cobb "Stage 2" Suspension Kit, CP-E FMIC, CP-E DP, CP-E HPFP, CP-E MM, TWM STS, Custom Tuned by Fobio.
-cj- is offline   Reply With Quote
The Following User Says Thank You to -cj- For This Useful Post:
Fobio (03-15-2010)
 Old 03-15-2010, 11:01 PM   #9
 
MattJackson86's Avatar
 
Join Date: Dec 2008
Location: Los Angeles, CA
Posts: 1,407   (View Stats)
iTrader: (6)
Rep Power: 0
MattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the world
Thanks: 541
Thanked 680 Times in 387 Posts
Groans: 3
Groaned at 15 Times in 10 Posts
Not Ranked  0 score     
Default

Hmm...I never found a sequence that would block the HU text or stop it from being sent. I did have some issues though where sending the text too often would stop the HU from sending text, but no way to fix it unless you restart the car. Unplugging the HU (or sitting in the middle) is the best option really.

I have programmed microchips before and I looked into making a simple board that would be able to send text to the HU. Just no real need for it other than a fun project.

Hope you get it all working like you want.
__________________
GTX3071 - SURE 3.25" Full3 Aeros - CP-E FMIC - CP-E Catted Downpipe - CNT Catback Exhaust - HKS SSQV BPV - James Barone 88 Trilogy - KMD CDFP Internals - CP-E Injector Seals - Cobb EBCS - ITV22 at .025 - 3 Bar MAP


Bitwise Motorsports http://www.bitwise-motorsports.com -
Mazdaspeed 3 BAR MAP Harness, Torque Plugins for Android, and 3-Port EBCS (coming soon!)
MattJackson86 is offline   Reply With Quote
 Old 03-15-2010, 11:19 PM   #10
Banned
 
phillyb's Avatar
 
Join Date: Jun 2008
Location: misery
Posts: 14,702   (View Stats)
iTrader: (7)
Rep Power: 0
phillyb is the leader of the worldphillyb is the leader of the worldphillyb is the leader of the worldphillyb is the leader of the worldphillyb is the leader of the worldphillyb is the leader of the worldphillyb is the leader of the worldphillyb is the leader of the worldphillyb is the leader of the worldphillyb is the leader of the worldphillyb is the leader of the world
Thanks: 11,510
Thanked 18,750 Times in 5,168 Posts
Groans: 1,940
Groaned at 886 Times in 632 Posts
Not Ranked  0 score     
Default

tl; dr
i do care though. this is interesting.
if people upgrade their head unit, one most likely loses their ability to use that screen, eh?
phillyb is offline   Reply With Quote
 Old 03-16-2010, 11:01 PM   #11
 
-cj-'s Avatar
 
Join Date: Apr 2009
Location: Great White North
Posts: 649   (View Stats)
iTrader: (1)
Rep Power: 484
-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world-cj- is the leader of the world
Thanks: 1,214
Thanked 748 Times in 233 Posts
Groans: 21
Groaned at 13 Times in 7 Posts
(Thread Starter)
Not Ranked  0 score     
Default

Matt: Hopefully I'll pick up the ball on this again soon and start digging in... I'll post any new findings in this thread. As you probably already know, getting the left side to display anything useful is a pain in the ass, compared to getting the main LCD stuff to do anything...

Philly: Come on mang, read. But yeah, you remove your original HU and you lose your fuel computer and the center part of the LCD. The right side will still display climate control stuff. The only way around this right now is to set your fuel computer or clock to where you want it and unplug your HU... As long as you don't unplug your battery, it should retain this setting. The other method, is this one... Which is a work in progress....
__________________
Mod List: ATP 3071R @ 22 psi, Grimspeed in 3-port mode, Steedspeed Manifold, Snow Performance Stage 2 Meth Kit, Cobb AP, CP-E 3" Nano SRI, CP-E Big Inlet TIP, Cobb "Stage 2" Suspension Kit, CP-E FMIC, CP-E DP, CP-E HPFP, CP-E MM, TWM STS, Custom Tuned by Fobio.
-cj- is offline   Reply With Quote
 Old 03-16-2010, 11:23 PM   #12
 
MattJackson86's Avatar
 
Join Date: Dec 2008
Location: Los Angeles, CA
Posts: 1,407   (View Stats)
iTrader: (6)
Rep Power: 0
MattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the world
Thanks: 541
Thanked 680 Times in 387 Posts
Groans: 3
Groaned at 15 Times in 10 Posts
Not Ranked  0 score     
Default

Yea. I wrote an app that logged all the messages on the can bus and tried to analyze them as I pushed buttons in the car. Found a bunch which changed the right side (AC) part of the LCD. I would have to go back and see how to get the left side to switch. Ill let you know if I start up again and find anything.
__________________
GTX3071 - SURE 3.25" Full3 Aeros - CP-E FMIC - CP-E Catted Downpipe - CNT Catback Exhaust - HKS SSQV BPV - James Barone 88 Trilogy - KMD CDFP Internals - CP-E Injector Seals - Cobb EBCS - ITV22 at .025 - 3 Bar MAP


Bitwise Motorsports http://www.bitwise-motorsports.com -
Mazdaspeed 3 BAR MAP Harness, Torque Plugins for Android, and 3-Port EBCS (coming soon!)
MattJackson86 is offline   Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://www.mazdaspeedforums.org/forum/f13/interfacing-can-network-51173/
Posted By For Type Date
Carputer Project ? Learning Diogo's blog This thread Pingback 01-01-2013 11:08 AM
Hacking Mazda: Introduccin y primeros pasos. This thread Refback 10-30-2012 05:00 AM
Hacking Mazda: Introduccin y primeros pasos. This thread Refback 02-13-2012 08:01 AM
Hacking Mazda This thread Refback 05-09-2011 05:33 PM
Madox.NET Mazda CAN Bus This thread Refback 03-08-2011 12:40 PM
Madox.NET Mazda CAN Bus This thread Refback 03-29-2010 09:15 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
GM slashes Canadian dealership network by 42% Haltech Automotive News 0 05-21-2009 09:10 AM
Volvo will tighten U.S. dealer network Haltech Automotive News 0 07-11-2008 02:10 PM
Network Solutions $10 off $75+, $25 off $100+, 20% off Coupon Code at Network Solutions Haltech Hot Deals Section 0 04-14-2008 10:40 AM
Airplane GSM network supplied to Mongolia Haltech Computers & Technology News 0 04-10-2008 04:41 AM
35% Off Cat6e Network Cable Haltech Hot Deals Section 0 03-31-2008 06:12 AM


All times are GMT -7. The time now is 11:36 PM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
vB.Sponsors
Template-Modifications by TMS
Copyright 2008 ; 2014 Cymru Internet Services LLC | FYHN Autosports HQ
Ad Management plugin by RedTyger
Page generated in 0.36116 seconds with 24 queries