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
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.
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
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.
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
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?