Here is a question for all you math gurus. I would like to read the speed sensor in a vehicle so here is my two part question. My vehicle has 4000 ppm so I would like to know what formula I would use in a PIC to get the speed. Would I use a count function to sample 500 mS worth of pulses? I can't imagine this would be above the level of math for a PIC and I am thinking someone has already done it.
My second question, which hopefully someone can answer, do all vehicles (or most) have the same ratio to get the speed?
Thanks,
Chris
Bookmarks