what is this thing (HDK inductive)

hello i'm french

I come from french forum it is not sufficient competence to reply to my question

i build a little standalone ECU for my diesel engine the pump is controlled by solenoide the solenoid operate at 200Hz is okay and i need the position on my pumps (RACK feedback)

the sensor is HDK sensor ? im found similar people and a same problem

please look the picture

SENDER is designed by 3 line white and the RED square is mobile level feedback

square level sender slide in 3 magnetic sender

i found basic schematic by other people look:

and video by other people

i measure the resistence on my 3 wire

red + white = 21ohm
red + yelow = 21ohm
yelow + white = 42ohm

thanks for help !!

It might help to know the make and model of the diesel motor.

yes you're right

is

E300TD W210
engine code = OM606 (inline bosch pump)

3.0L 24 valve 6 cylinder

thanks Johnwasser

Here's a maintenance manual for the Mercedes Benz OM606 engine that might help:

http://www.w124performance.com/service/Index/605_606index.html

Maybe an electrical diagram of the car would help.

I have worked with a petrol engine ECU design and the processes that run their to control the related solenoid,s , injectors etc are in need of a very fast responsive routine I would suggest using a state machine/RTOS running on the Arduino along with direct port manipulation also using least of the libraries so direct registor accessing, or else the problems keep on building up due of undershooting.

Hello

@johnwasser

I know the site but it was just talking about engine maintenance not detailed on the sensor

@NI$HANT

yes petrol ecu is hard for control on arduino

my engine is a old diesel engine is not a injector or other is just need

PWM signal at 200hz for control the electrical actuator on diesel pump
LM1815 for VR magnet sensor (RPM)
and i need RACK feedback in the pump i presume is a inductive sensor

I looked at the links many of them are described in other languages, I'm jumbled couldn't make out what you really want to achieve?

i need a conditioned analog output 0 to 5V for determine the RACK position 0% to 100% at max

the other person is successful and leave a schematic but it is not complete

look: http://dmn.kuulalaakeri.org/tmp/olefejer_hdk.jpg

It sounds to me like a differential variable inductance sensor. If so, here's one possibility. Generate a square wave (try 10kHz, since that's what the other guy used) from one of the PWM pins, feed it to the circuit shown, and measure the signal amplitude at the two analog inputs. You'll need to synchronize the ADC readings to the PWM signal. Preferably, set up the circuit and look at the voltages on the sensor pins with an oscilloscope, so that you can adjust the frequency and resistors until you get a good signal.

thank you for taking the time to make me a diagram everything seems clear to me I will test it

thank you again dc42

hello

okay i test the schema and i replace the resistance by two potentiometer
i set at 10kHz and i have 230point for val is correct or is poor ?
is very hard to found good val

look my code

int grille = 5;
int val = 0;

void setup() {
Serial.begin(9600);
pinMode(grille, OUTPUT);
tone(grille, 10000);
}

void loop() {

int sensorVal1 = analogRead(A0);
int sensorVal2 = analogRead(A1);
val = sensorVal1 % sensorVal2;

Serial.print("A0: ");
Serial.print(sensorVal1, DEC);
Serial.print(" / ");
Serial.print("A1: ");
Serial.print(sensorVal2, DEC);
Serial.print(" / ");
Serial.println(val, DEC);

}

neodelavega:
yes you're right

is

E300TD W210
engine code = OM606 (inline bosch pump)

3.0L 24 valve 6 cylinder

thanks Johnwasser

Good night,
Before anything, I'm sorry to be digging this up, but I hope there's someone who can give me some tips.

I am currently in the middle of an all-terrain project, and it will be this engine to use (OM606), however, since I do not have any ECU, I will have two options:
1 - keep the existing pump (electronics)
2 - swap to mechanical one.

i wold like to keep eletrical one, so, I started my research, and I see that there is already a solution.

I am very green in Arduino programming, it will be challenging, however I hope your help will surpass...

can you replay with your result, or status about this?

thanks a lot :slight_smile: