This forum IS quiet so here are some pictures!
Next up is thermal camera. I will interface with the instrument cluster and switch between NightView assist and thermal, as needed.

E63 Biturbo, UPD Cold Air induction kit, UPD performance crank pulley and UPD adjustable rear suspension with ride height adjustment.
CL55 UPD Cold Air Boost kit, UPD 3000 stall converter, UPD 77mm SC clutched pulley and beltwrap kit, Custom long tubes, UPD crank pulley , UPD suspension kit, UPD SC pulley, Aux. HE, Trunk tank w/rule 2000 pump, Mezeire pump, UPD 5pc idler set, Aluminum rotor hats.
www.ultimatepd.com
instagram @ultimate_pd
facebook.com/ultimatepd
Interface with the CAN bus is complete. Decoded night vision status signals, buttons etc. If anyone needs this here's a short version:
Frame ID DLC 1 2 3 4 5 6 7 8 Function Cycle
187 8 80 0 0 0 0 0 0 0 Night View BTN Press Momentary
187 8 0 0 11 0 0 0 0 0 Headlght Auto Constant
187 8 0 0 80 0 0 0 0 0 Side Markers Constant
187 8 0 0 98 0 0 0 0 0 Headlight Constant
187 8 0 0 B8 0 0 0 0 0 Fogs Constant
187 8 0 0 F8 0 0 0 0 0 Rear Fogs Constant
3ED 8 2 FE 0 0 0 0 0 0 NV Status On Constant
3ED 8 0 FE 0 0 0 0 0 0 NV Status OFF Constant
Also if anyone is ever looking for this obscure info...The original Comand display and the IC display are the same. The Comand display takes TTL data directly from Comand. The IC display has a graphics chip combined with a CPU and also connects to the IC CPU. Video input (night vision) is achieved by running RGB656 (I think) from the night vision camera via LVDS to the graphics chip of the IC which in turn runs the display directly. Using one of the available video input interfaces for the original Comand won't work as all that does is spit LVDS TTL to the deserializer on the Comand display. An interface to convert from TTL to RGB656 is necessary. Also, the graphics chip on the CPU will lock if a CLK is applied to it and then paused (aka input switching) and a complete reset is necessary. You will get a "night view assist inoperative message" until power cycling the car.
Last edited by megacrazy; Feb 16, 2019 at 03:31 PM.
The Best of Mercedes & AMG
https://youtu.be/LB51h0jB09Y
Here's the reverse engineering that's been done so far:
- All chips handling video from the NV camera identified on the instrument cluster board. Obtaining some of these data sheets is not easy!
- All wires handling video have been mapped, all connectors mapped.
- All video protocols identified between camera-camera control module and camera control module-instrument cluster.
- All video timing identified in order to be able to replicate the exact format and signals.
If anyone is interested in an overview, the camera sends a feed to the camera control module. The camera control module does its thing (formats picture etc) and shoots video via LVDS to the instrument cluster. The instrument cluster has a video chip (in addition to the HP (processor)) that handles the display and does all necessary graphics like blending etc. So you get a background video feed with speed and other info overlaid on top of it. The bad news is that this is infinitely more complicated than say getting video on the COMAND/GPS screen but the good news is that the video processor has a dedicated external video feed input...so we can definitely mess with that if we get the protocols right.
Next up was picking hardware. Siwtching video will happen via CAN bus and I already have that in place. Video decoding/encoding would have to happen on the fly. Essentially we would get the FLIR feed, do all necessary calculations to it and spit it back out in the same format as the stock night vision feed. The only way I could think of doing this was with an FPGA. I also had to make a total of 3 cables with the specific Mercedes LVDS connector on one end (that you can't buy) and my own connectors on the other end. eBay was helpful here...so I bought some stock cables and cut them up.
I decided to make a custom board for the FPGA header that would handle the Serdes setup to free up processing in the FPGA. Thank god for China. 2 weeks from design start to the product being in my hand. Ordered the same chips that the instrument cluster uses to keep things as stock as possible. I know you guys like that. I will also be using the IPOD interface case...that happens to perfectly fit the FPGA...so even more stock!!!
The FPGA tends to run hot so had to custom install a fan along with a heat sink setup.
All this happened on sacrificial camera/camera control module/instrument cluster. Some chips had to be removed from the board to see what was what.
Aaaaand...decoded/deserialized video feed from the camera control module
Next up working on the actual code part of the FPGA that will switch video feeds without upsetting the video chip in the instrument cluster.
If anyone was wondering what the instrument cluster looks like here it is
Taking some measurements with the oscilloscope
Yet another sacrificial instrument cluster. That makes 3.
Original Night View Assist
.....And running some screen tests. Here I was driving an all red screen on purpose. Works. Nice.
Last edited by megacrazy; Sep 18, 2019 at 05:04 PM.
If anyone was wondering what the instrument cluster looks like here it is
Taking some measurements with the oscilloscope
Yet another sacrificial instrument cluster. That makes 3.
Original Night View Assist
.....And running some screen tests. Here I was driving an all red screen on purpose. Works. Nice.
amazing what you can do !
Yeah it's the OEM screen. The whole point of the project is to work with the stock cluster. AMG or not. Fun fact the instrument cluster screen and the navigation screen are the exact same display. They work very differently though.
I will be using it for my FLIR project but I'll leave it to you guys to figure out other stuff to hook up to the screen. I guess you could hook up your phone and run Google maps on it or something...or go a step further and have one of those Android car interfaces hooked up to it so you don't use a phone. I dunno...ideas are endless. You could always watch YouTube or something. Should be nice and safe.
Next up I get into framebuffers aligning video feeds. After that comes switching from the CAN bus from the other computer I have running in the car. The end is in sight though
Next up I get into framebuffers aligning video feeds. After that comes switching from the CAN bus from the other computer I have running in the car. The end is in sight though

I would see the IR in green, then the Thermal in red, then set high contrast to the Thermal and mix
that might do the job










