The M57 looks like it may have the same can messages if it was installed in an E46 or E39. They are going to program the DME to use the bus messages the rest of the car needs to see (DSC, IKE, etc). IF the M57 came from an E90 then no it's going to use the E90 messages. Comparing what DME it's using might be more helpful. or just sample the can messages.
The item in the link you sent appears that it ADDS messages to the bus. Not blocks them. If you want to eliminate messages from the bus you need to use a Can bus Gateway between the module you want to suppress and the rest of the car.
On the E46 M3 (US 2005) has anyone solved the Brake pressure on CAN issue? Using an AiM SoloDL hard wired into the CAN bus. According to AiM, the European M3s have Brake Pressure available on the CAN. The US M3s do not. I assume the ABS system must be on a separate bus. But perhaps the Euro DME repeats the info onto the primary bus (on the OBD2 port)? If that's the case, I wonder if any of the tuners have discovered a switch in the DME that can be set?
If it was a dash, I would just add/tap into a sensor. But the SoloDL does not support analog channels.
Anybody?
Peter Carroll - http://www.driversmeeting.com/pcarroll
BMW Club Instructor & Club Racer, 1997 BMW M3 GTR #321
2008, 2009, & 2011 BMW CCA National C-Mod Champion
Videos channels at:
http://vimeo.com/pcarroll/videos
http://www.youtube.com/user/pc270
Have a look at page 4
http://www.bmwtech.ru/pdf/e46/ST034/...Internet-1.pdfThis will explain the bus structure and answer your question about the ABS and the can bus. FYI. "D-bus" and "OBDII" lines are for diagnostics. Data transmission between modules is done via Kbus, and Can bus. Doesn't mean that someone couldn't get brake pressure by sending a request over the D-bus (Like when using INPA or DIS). but that's not what the Aim Dashboard is likely to do.
Have you tried the above? I Believe the above was found from USA versions of the car. Probably not even M versions. Dunno haven't tested myself. There are several versions of the ABS/DSC system. They may not all be the same.
I think AiM is wrong since the US and Euro M3s have the same DSC modules and wiring. No E46 runs the can wires to the OBDII port, and both the DME and DSC sit on the same CAN bus. Now the DME does have a second CAN-bus onboard, but that is used for SMG and a few development/debug messages.
I don't have 1F8 in my can logs. The only IDs < 1FF that I have are 153, 1f0, 1f3, and 1f5. My car is a 10/2004 US M3 (though I am running a CSL DME)
Last edited by TerraPhantm; 07-01-2015 at 12:57 PM.
might as well ask here;
continuing on from my earlier question, how hard would it be to-
-write arduino code that can send and receive Kcan signals
-sniff out the Kcan signals for the windows rolling up and down
-inject Kcan commands to control the window motors through arduino
furthermore i have no idea how low down those Kcan messages are.
for instance, would i have to write code that can be aware of when the window has hit top/bottom of travel and basically re-invent the window controller?
OR are the messages abstract enough that all i need to do is send something like "WINDOWS DOWN" and the it'll just behave like if you pressed the window switch fully to engage one touch window operation?
Last edited by joekitch; 07-01-2015 at 01:49 PM.
Looking for an e39 Touring black carpet set, including the rear cargo cubbies and side sections!
ALSO looking for 540i 6speed manual transmission sets (2001+ pedals with switches, driveshaft, gearbox), for the 6speed swap! Probably not for a while....
GN92489
540i msport touring; jet black on grey
Progress Thread (general)
Progress thread (touring specific)
Kcan or Kbus. E46's don't have KCan so can't provide much help. But this website would be very handy.
http://www.festival.loopybunny.co.uk/CarPC/k_can.html
If you are interested in Kbus check out this document. If you haven't already.
http://web.comhem.se/mulle2/IBUSInsideDRAFTREV5.pdf
i/Kbus it's not really related to Can bus in anyway. See my ipod controller link in my sig for info on connecting to kbus.
Hope this points you in the right direction.
oh whops, i must have misinterpreted an earlier answer then
or maybe my whole plan isn't going to work out...
basically, CAN i have an arduino sit somewhere on the canbus/ibus/schoolbus and control the operation of the windows or hvac system?
Looking for an e39 Touring black carpet set, including the rear cargo cubbies and side sections!
ALSO looking for 540i 6speed manual transmission sets (2001+ pedals with switches, driveshaft, gearbox), for the 6speed swap! Probably not for a while....
GN92489
540i msport touring; jet black on grey
Progress Thread (general)
Progress thread (touring specific)
If anything it would be the K-bus. But I don't know if those modules have any protocol accept commands from other modules to control their peripherals. May have to use diagnostic commands
TerraPhantm - I don't have 1F8 on my car ether. I do know that the pressure is available in INPA, but i have not seen it on the CAN bus.
-Matt
The 1F8 seems to be present on those with Hill Desent Control and 4wd. The receiver of 1F8 is the EGS. The format of the brake pressure in byte 2 is: Value=1*(HEX) [bar], range 0-254 [bar]. The brake pressure is also present on the K-Bus by requesting function call 22 01 F5, 21 06 or 21 02 to the mk60. Haven't had time to investigate which one of them it is, but they are the telegrams INPA sends to the mk60 when the screen showing the brake pressure is active.
Happiness isn't around the corner - happiness is the corner!
What you want to do sounds very possible. But not with Can bus. This thread is closer to what you want to do.
http://www.bimmerforums.com/forum/sh...9#post26478499
Might find better information there. But also see these links.
Collection of I/K bus messages. See if the ones you want are in there
https://drive.google.com/drive/folde...GVEaHRKX3RfaTQ
How to build an interface for I/K bus.
http://e46canbus.blogspot.com/2014/0...r-arduino.html
And this is a must read. It makes a difference if it's the k-bus i-bus or school busIf you don't connect to the right wire you won't get the messages you want.
http://web.comhem.se/mulle2/IBUSInsideDRAFTREV5.pdf
Also search for Ibus analyzer program in your favorite search engine. It is very helpful.
Look forward to seeing you in one of the I/K bus threads :-)
Thaniel
- - - Updated - - -
Checked my logs and it doesn't seem to be on all cars. The only one I'm seeing it on I think was a 2002 AWD wagon.
Which seems to be in line with the AWD / descent control idea.
Thanks for the confirmation, Thaniel.
-Matt
Hi,
just read through all the posts, excellent work!
I got my cluster wired up to my CAN card and got most of it working.
One question:
How can I get the yellow DSC light in the middle of the cluster to turn off???
Thanks
Klaus
ah hah, seems there's a big collection of commands specifically for window operation, in the "codes" page of that I-K Bus codes v6 excel file
and there's even commands for folding/unfolding the mirrors!
there's some special and expensive module thingies that can tie lock/unlock to folding and unfolding of the mirrors as a special feature on them, but with this information i could have my arduino just listen for those lock/unlock commands and inject the mirror fold/unfold commands right afterwards.
that said, the excel says the "from" is DIS unknown and the "destination" is General news 1....not really sure what those are, or if they're placeholder values or something
Last edited by joekitch; 07-15-2015 at 10:46 AM.
Looking for an e39 Touring black carpet set, including the rear cargo cubbies and side sections!
ALSO looking for 540i 6speed manual transmission sets (2001+ pedals with switches, driveshaft, gearbox), for the 6speed swap! Probably not for a while....
GN92489
540i msport touring; jet black on grey
Progress Thread (general)
Progress thread (touring specific)
Hello Klaus,
Depends on why it is on. It can be on for several reasons. One being the ABS computer sending a code to turn it on. Another being the IKE not getting messages from the ABS computer. If you have a bare cluster out of the car try coding out the ABS in the IKE. Think that's what I did.
Has anyone here (Thaniel?) done any work with the MOST-bus generation cars, and is there any information you'd be willing to share? Was playing with the PT-CAN bus on an E60 535, and quickly whipped up some code to get RPM working. Going to have to do more work to find other values, but if it's already documented somewhere, I'd love to take a look
Last edited by TerraPhantm; 07-29-2015 at 04:56 PM.
I have not done anything on the E60, but I have been doing some work on a 997 GT3 RS...There are a LOT of similarities. Turns out, even some differences across model lines though (to my annoyance). I have been working on the disassembly for about a month for the CAN stuff, and have made major progress in the last few days. That's about all I can say.
-Matt
I had found this when looking into the NBT retrofit: http://www.m5board.com/vbulletin/e60...e-hacking.html. It's got some good links.
- - - Updated - - -
Also found this: http://www.e90post.com/forums/showthread.php?t=177272
-Paul
2003 "M5" - Full M5 conversion, AMG C63S 6 piston front calipers, Porsche Panamera 4 piston rear calipers, GC Coilovers, Eibach ARBs, UUC Evo3/DSSR, Borla Exhaust w/Muffler Delete, BMW NBT with Carplay/Android Auto, Bi-Xenons, e38 Style 37 M-Pars, e60 Hubs 530i 6-speed swap build thread2006 Porsche Cayman S - 987.2 MA1.21 3.4L Engine/Drivetrain Swap, AST 5100 Coilovers, GiroDisc Rotors, 718 Spyder wheels
I did end up finding coolant and oil temp (though they don't update nearly as fast as the E46 cluster expects, so I had to revise my code a bit). Speed is easy enough too, just haven't really tested on the road.
Have you seen this page http://www.festival.loopybunny.co.uk/CarPC/k_can.html I think it's the same can data as the car you are looking at.
The one data stream form an E90 I was given had many of the "K-can" values repeated on the "PT-CAN". So the decoder was more useful for the PT can then it first appeared.
Hi,
I am currently attacking the iBus on my E46 cluster.
Already got my interface, but now I need to find some iBus messages to talk to the cluster.
Does anybody have some messages to get me started?
E.G. left/right/hazards turn indicator on / off
Thanks
Klaus
Guten Tag Klaus,
Ibus isn't really part of this thread. But on my google drive you will find some ibus info https://drive.google.com/drive/folde...GVEaHRKX3RfaTQ
HI Thaniel,
Great work. I have been watching for awhile and have learned quite a bit. I got lost in your description of the relationship between fuel usage and speed and the calculation for moving the MPG gauge. Can you re-describe? Im not using can Im shaping the signals to the cluster. I have the tach responding properly and the MPG jumps to the other side. Im trying to understand the linear relationship between the signals. therre is a single input for fuel economy that probably is processed in the e36 tach compared to speed. I'll then create a frequency relationship to get what I want out of the gauge and im using your descriptions of signals to create a model that helps me understand the relationship. can you go back over it? I dont need byte info or speed of implicit or explicit messages, just the big picture.
You mention E36. If you understand how that works the E46 is similar. But the signal comes from the can bus instead of the injector pulse width. Or in other words the IKE calculates the MPG using the wheel speed input and injector pulse width. When using an IKE on the bench it has to have something on the speedometer and Tach and receive an indication of amount of fuel being used at that moment (More or less the injector pulse width). I can't remember my E36 gauges well anymore. But I think the E46 inverted which side of the gauge the MPG needle rests on. So at zero speed the needle swings all the way to the other end. A bit annoying but that's how it is.
On the Can bus the amount of fuel being consumed isn't a flat number. It's the difference between two numbers factoring in the time between the time both numbers were received. We had a difficult time getting the needle to stabilize due to timing differences. Since then we've improved our timing and I think it should work perfect. but not tried it. Maybe this winter when I'm not working on my cars because of the cold I'll try it again :-)
Bookmarks