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

Read CAN data and output values as control signals

 
New Topic Reply 🔗 🖨 CANhack.de - Index » CAN Bus General
Author Message
eldu



Joined: 03/25/2023
Posts: 3
Karma: +0 / -0   Thank you, like it!


Free account, no CAN development support

Post25-03-2023, 18:39    Subject: Read CAN data and output values as control signals Quote

Hi everyone,

I'm new here, and this whole topic is quite new to me. I'm facing a problem and I'm looking for a way to convert CAN bus values into 12V control signals. I essentially need a programmable/configurable CAN bus interface.

Background: We are converting US-made vehicles to meet EU standards. In some cases, these vehicles transmit additional data via the brake/turn signal lights, or modulate the signals in a way that prevents the use of standard control systems for separating brake and turn signal functions.

I am therefore looking for a way to read information directly from the bus, instead of relying on a brake/turn signal separation, and to send corresponding signals to the turn signals via relays. Online, I've found some pre-built interfaces that, for example, output a control signal when the ignition is active, at different light settings, or even when the turn signals are on. This could be used for video surveillance tools, for instance: turning on the left turn signal could trigger a control signal to activate the left camera.

However, what I'm missing is: hazard warning lights.
I absolutely need to redirect the hazard light signal to both turn signals (using a relay).

We are looking for an interface that reads 3 CAN values and provides 3 control signals accordingly.
- Left turn signal active.
- Right turn signal active.
- Hazard lights activated.

I haven't found anything that's ready. Are there any interfaces that are so individually programmable?
If so, which ones - and which ones would you recommend for implementing something like that?
...or perhaps there's someone out there who has experience with this, wants to earn a few extra euros, and could build it for me?

Best regards from Salzburg, and many thanks.
David.
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



Post25-03-2023, 22:20    Subject: Read CAN data and output values as control signals Quote

Hi David,

You need to know which messages are being transmitted on which CAN bus in your vehicle. That also varies depending on the vehicle.

Best regards, Rainer.
Dipl.-Ing. (FH) Rainer Kaufmann - Embedded Softwareentwicklung
CANhack.de System RKS+CAN: CAN-Bus Interface
Back to top Profile PM WWW
eldu



Joined: 03/25/2023
Posts: 3
Karma: +0 / -0   Thank you, like it!


Free account, no CAN development support

Post25-03-2023, 22:39    Subject: Read CAN data and output values as control signals Quote

Hello Rainer,
Thank you for your quick response!
It's a Ford Lightning F150.
So, the new electric version of the F-150.
Does that help?
Best regards,
David.
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



Post25-03-2023, 23:11    Subject: Read CAN data and output values as control signals Quote

eldu wrote:
Hello Rainer.
Thank you for your quick response!
It's a Ford Lightning F150.
So, the new electric version of the F-150.
Does that help?
Best regards,
David

Not to me, but to you. icon_mrgreen.gif

You need to determine which CAN bus contains the signals you require. I suspect it's the CAN bus for comfort functions. For example, it can also be connected to a radio.
Okay, so I need to obtain circuit diagrams, tap into the CAN bus, and listen to what data is being transmitted and when.
KCANMonitor has a feature that highlights only the time differences in messages, which makes it quick to identify relevant functions.

Best regards, Rainer.
Dipl.-Ing. (FH) Rainer Kaufmann - Embedded Softwareentwicklung
CANhack.de System RKS+CAN: CAN-Bus Interface


Last edited on 25-03-2023, 23:12, edited 1 time in total.
Back to top Profile PM WWW
eldu



Joined: 03/25/2023
Posts: 3
Karma: +0 / -0   Thank you, like it!


Free account, no CAN development support

Post26-03-2023, 0:20    Subject: Read CAN data and output values as control signals Quote

I would connect the "high" and "low" signals directly to the control unit where the turn signals are also connected.
Using the logger you linked and a PC, I can probably figure out how the turn signal signals are being sent, right?
And what hardware converts the signals into control signals when they are active? So, what else do I need?
It would need to be a component that can accomplish this without requiring significant processing power, startup time, delay, or power consumption. Something based on microcontrollers, or how should I imagine that?
Thank you again, and I'm sorry that I'm missing all this basic knowledge. I'm starting from 0, but I'm ready to learn quickly icon_wink.gif.


Last edited on 26-03-2023, 0:22, edited 1 time in total.
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



Post26-03-2023, 13:32    Subject: Read CAN data and output values as control signals Quote

Hello.

Quote:
With the logger you linked and a PC, I assume I can figure out how the turn signal signals are being sent - is that correct?


Quote:
And which hardware converts the signals into control signals when active? So, what else do I need?
It would need to be a component that can accomplish this without requiring significant processing power, startup time, delay, or power consumption. Something based on microcontrollers, or how should I imagine that?

Yes, some kind of microcontroller that listens to the CAN bus, analyzes the signals, and generates the switching signal you want based on that analysis.

I would be interested to know which provider you choose and what reasons you have for that decision.

Best regards, Rainer.
Dipl.-Ing. (FH) Rainer Kaufmann - Embedded Softwareentwicklung
CANhack.de System RKS+CAN: CAN-Bus Interface
Back to top Profile PM WWW
New Topic Reply 🔗 🖨 CANhack.de - Index » CAN Bus General
Similar articles and topics
Topic Forum
No new posts Arduino + MCP2515 Werte aus Auto auslesen Microcontrollers and Electronics, Programming
No new posts Daten per CAN auf dem Audi FIS ausgeben Interior / Comfort CAN
No new posts Daten per CAN auf dem VW passat B6 FIS ausgeben Interior / Comfort CAN
No new posts CAN Bus auslesen mit AVR Butterfly ? CAN Bus General
Jump to:  
You cannot post new topics in this forum.