Button interface to Bordmonitor on BMW E39 and E46
This thread will be used as communication channel as well as documentation of common project originally started on hacktheibus.
I will edit this initial post so that latest info always will be found here.
Code, schematics, gerber files etc will be shared. Maybe with copywrite.
Objective
By removing these connectors from the E39 and placing them onto own pcb to interface the buttons on the BM there will be room to do a screen upgrade since there is no use for original BMW electronics anymore. Goal is also to make it fit the E46 as the buttons in that BM are designed in a similar fashion.
Art has reversed enginered the button pcb's of the E39
Drawing over E39 button pcb
here
I have reverese engineered button pcb's of the E46
Pictures and pinout of right pcb
here
Pictures and pinout of left pcb
here
Pictures and pinout of knobs
here
Eagle files of BMW button pcb's
here
E39 and E46 button pcb's are very similar
Originating from E46 I have added E39 specifics into Eagle project
here
There are some differences in electronics between the E39 and E46
1) E39 has diodes on all inputs, E46 has it only on some.
2) There is one extra LED on E39 for FAN
3) The eject button is connected to GND on E39
4) The common wire for Phone and Clock has no series resistor on E39
5) Button layout differ
6) LED series resistor values differ. Probably different supply voltage.
In order to interface them both onto the same pc. Design suggestion and schematics
- Remove all diodes on button pcb's.
- Add zero resistor or jumper to set cpu in E39 or E46 mode. This is the only way I have come up with to change behaviour of INFO-DISPLAY-MODE buttons.
- Use analogue inputs for buttons that has parallel resistor ladder. Will save IO, and the switches have 250-1000ohm resistors.
- "Digital" IO input for eject button on E39
- Add digital logic to decode knob pulses into pulses according to direction
I have made an initial design with Eagle
here.
It is not complete, but size of board, position of holes and connectors are correct.
Art schematics
schematics one
here
schematics two
here
Eagle symbols
The propriatory
BMW Connectors
Milexis ibus chip here TH3122
here
E46 BM button codes
here
PCB
Made as one piece to make it cheaper.
Assembled
Now there is room for the LCD interface board! You can see the flat cable that interconnects the two pcb's, and the interface cables. 12V, 0V and IBus.