Friday, January 31, 2014

BMW cruise buttons





 Inside the BMW cruise buttons.  The chip on the left is an Ibus transceiver with built in voltage regulator.

1 Jan 2018 update:
Well we got a oscilloscope for Christmas.  The perfect thing to try out on the cruise buttons.  But first let's talk about the LH buttons, the stereo and phone buttons.  As mentioned above there is an ibus transceiver and a micro controller on the RH button circuit board.  But I don't believe the RH buttons use ibus.  To be sure opened up a set of LH buttons.  And yes.  No big chips.  See below



So all the converting to digital is done by the RH buttons.  As I had expected.  Back to decoding the cruise data stream.  Hooked up the cruise buttons as shown in the MFL button wiring diagram from the WDS.  this time I had a MFL wiring harness (LH and RH buttons complete).  When hooking it up I found it odd that Red (pin4) was the Cruise signal.  Not the usual color.  Lots of testing and not much success.  Pulled the circuit board out and my son traced the signal circuit.  It didn't make much sense as it seemed it'd never see or make pulses.  Then the thought ""Maybe the signal and 12V in are switched".  Well anything is worth a try and well it worked.  Then we pulled up the wiring diagram for the Volute spring.  Guess what it shows.  The red (pin4) was power and the Gray (pin2) was the cruise signal.  UGH.... All this time we weren't getting it because the one MFL diagram was wrong.  Seriously.  But now we have a nice wave form that differs based on each button pressed.  Here are some examples;
 

It appears to be a PWM signal.  The last pulse is the toggle bit.  Which simply cycles back and forth every so often unrelated to if the button is pressed or not.The rest vary 1 or 2 of the pulses when a button is pressed (not counting the toggle bit).  Armed with this and a little Arduino magic we are able to get the arduino to tell us which button we are pressing.  Whoo hoo.  Finally mystery solved.

It's a start.

During 2012-2013 while temporarily living in Sweden, my son and I started learning about micro controllers and electronics.  This kept us busy on those dark Scandinavian nights. Since then we have learned and collected a lot of information and written many programs which may be helpful to other DIY's.   The difficult is putting it into a coherent useful format.

In this we will post some of our "electronics" projects and information. E46 Tuning, Ibus Kbus, ipod and Arduino. To start here are some links to a google drive where we will house some of the diagrams, spreadsheets and programs.  Click on the links to be taken to the google drive with the relevant information: