why is that sir can you explain a bit , it may helps me one day.Really, this is simulating the operation of a system used to monitor the position of the ram in hydraulic cylinders. We had a "go-around" with that function a few years back. The capacitor for timing the receive-enable was a bit deffective in the production run units we received. THAT caused a few serious problems.
That system sends a magnetic pulse down a steel rod, and when the pulse passes a magnet it sens an electrical pulse back up the rod. So the time difference indicates the distance traveled. The actual scheme is proprietary.why is that sir can you explain a bit , it may helps me one day.
So may it is because the magnetic field or electric field effects upon the cap ?That system sends a magnetic pulse down a steel rod, and when the pulse passes a magnet it sens an electrical pulse back up the rod. So the time difference indicates the distance traveled. The actual scheme is proprietary.


I do plan to detect it using mcu input.Hi demi,
Usually, when using a Comparator, some level of Hysteresis is added from the Output to the Non Inverting input. ie; positive feedback via a high value resistor.
How do you plan to use the output pulse?
If it is being detected by an MCU input, all that you are interested in , is the first rising edge of the pulse.
Hint: If you reduce R5 to say 20k, it will reduce the Vout pulse to ~+5V max
Added: and change VDD on R18 to VGND
E
Added a PDF.
Hi , I do know interupt system that I used in stm32 before but I haven't used in arduino yet. I may code an alrogithm that uses digital real rapidly Idk.hi,
Are you going to use a high going Pin Interrupt?
E
Okay sir I will upload when I process.Hi demi,
When you have written the Arduino Sketch, post it and I can run a check on my system.
E

