@paulS I am honored that you care about my safety , I have an electronics background and i am a plc programmer. I know how to meaure time witha plc where you are constantly polling a register but i am not so familiar with c programming indeed. I will not put it in my car untill it is fully tested
i'm not measuring yet, i calculated the time frame according to wheel diameter x pi, so when i,m drivind 100km/h the wheel revolutions are 51340rev/hr equals 14,26 rev/sec equals app. 70 msec/rev. but the calculation is not the problem, its making the arduino understand how to measure the time between the pulses so that i can compare it with my setpoint and control the throttle with a pwm output and a simple pid sketch
Hi, I am a newbee :-[ I'm trying to figure out how to measure time between 2 incoming pulses that are approx 70 msecs apart. when i attach a sensor to my cars wheel axis and i am driving 100 km/h this is about the time frame. My question is : could anyone give me a hint how to store the value so i can compare it with a setpoint? :-?