CANhack.de CAN-Interface RKS+CAN
Diesel technology, engine technology, vehicle diagnostics, repair & maintenance.

High beam assist on Mercedes C-Class via CAN

 
New Topic Reply 🔗 🖨 CANhack.de - Index » Vehicle-specific Hardware and Pin Assignments
Author Message
Thomas



Joined: 10/18/2020
Posts: 3
Karma: +0 / -0   Thank you, like it!


Premium Support

Post28-10-2020, 13:47    Subject: High beam assist on Mercedes C-Class via CAN Quote

Hello everyone.
I have a question.
I would like to control the high beam activation on a Mercedes W205 (C-Class, T-model, year 2019) via CAN bus. My attempts so far have only been partially successful. I've found the relevant signals on the wsgn/gn bus, which is the same as the one directly at the headlight. There are two IDs that change when the high beam is activated. If I enter these commands into the computer, at most the fan in the headlight turns on briefly.
Does anyone have a tip for me? Am I on the right bus, or are there other ways to feed in [data/information/power, etc.]?
Thank you in advance. Best regards.
Back to top Profile PM
CAN-Diagnose
Administrator
Administrator
Avatar-CAN-Diagnose

Joined: 06/07/2011
Posts: 573
Karma: +29 / -0   Thank you, like it!
Location: Ländle



Post29-10-2020, 23:02    Subject: High beam assist on Mercedes C-Class via CAN Quote

Hi,

If you simply feed the signals into the bus, please remember that the car is always sending a "horn off" signal. If you briefly send a "horn on" signal in between, the original "off" command will still remain. Try just sending your fake signal to the corresponding control unit (by disconnecting the cable).

Best regards, Rainer.
Dipl.-Ing. (FH) Rainer Kaufmann - Embedded Software Freelancer
System RKS+CAN: CANHack.de CAN-Bus Interface
Back to top Profile PM WWW
Thomas



Joined: 10/18/2020
Posts: 3
Karma: +0 / -0   Thank you, like it!


Premium Support

Post04-11-2020, 17:51    Subject: High beam assist on Mercedes C-Class via CAN Quote

Hello.
First of all, thank you for the tip. I've looked into the topic again. I found the CAN commands for turning the high beams on/off on two different buses. It seems to be true that the signals for "on" and "off" are constantly repeated by the car. This is good for monitoring, but not for controlling. A short, intermittent signal in between won't do anything. The only remaining option would be to filter the headlight protocols and inject our own, but that would be far beyond the scope of the project. For vehicles like the Sprinter and V-Class, Mercedes offers original modules for a wide variety of input and output functions, but unfortunately, this is not available for passenger cars.
Unfortunately, it's not possible to operate the headlight independently. If you disconnect it from the car's CAN bus, it goes into emergency mode (low beam on) and still doesn't respond to the input signals I'm sending. In addition, the turn signals no longer work, and the daytime running lights are also not functioning.
That probably settles it, unless someone has a revolutionary idea.
Best regards, Thomas.
Back to top Profile PM
Zampan0
CAN-Profi
CAN-Profi


Joined: 06/28/2016
Posts: 30
Karma: +20 / -0   Thank you, like it!


CAN Support

CAN-Diagnose likes this.
Post05-11-2020, 13:22    Subject: High beam assist on Mercedes C-Class via CAN Quote

For many functions, there is still the possibility to send an actuator diagnosis via the diagnostic CAN.
You could try addressing the high beam issue without having to modify the actual dataset.
Back to top Profile PM
Thomas



Joined: 10/18/2020
Posts: 3
Karma: +0 / -0   Thank you, like it!


Premium Support

Post05-11-2020, 15:36    Subject: High beam assist on Mercedes C-Class via CAN Quote

It might be possible, but I'm not aware of any affordable, small module that can be permanently installed in the vehicle's diagnostic port and intermittently turn the high beams on and off as needed. Do you have any ideas?
Back to top Profile PM
Zampan0
CAN-Profi
CAN-Profi


Joined: 06/28/2016
Posts: 30
Karma: +20 / -0   Thank you, like it!


CAN Support

CAN-Diagnose likes this.
Post05-11-2020, 15:44    Subject: High beam assist on Mercedes C-Class via CAN Quote

For this, you could use, for example, an Arduino Nano with an MCP-CAN board, but you'll need to write the software yourself.
I would simply have the diagnostic tester log the requirement and then incorporate it into the program.
Back to top Profile PM
New Topic Reply 🔗 🖨 CANhack.de - Index » Vehicle-specific Hardware and Pin Assignments
Similar articles and topics
Topic Forum
No new posts CAN im Mercedes C-Klasse (202) Vehicle-specific Hardware and Pin Assignments
No new posts Steering angle Mercedes B-Class (T 245) Vehicle-specific Hardware and Pin Assignments
No new posts Erfahrungen mit Mercedes E-Klasse Bj. 2000 Vehicle-specific Hardware and Pin Assignments
No new posts Mercedes S 500 Kilometerstand über CAN Vehicle-specific Hardware and Pin Assignments
Jump to:  
You cannot post new topics in this forum.