Originally Posted by mister_e
I think U cant make odometer with just Hall sensor. What U need is Quadrature optical unit. By this U can sense whether car is going forward or reverse!!
Unless U want the reverse distance travelled also added. With quadrature opto unit and 2 JK flipflops U can generate + & - ve pulses per
revolution and then just count them and divide by pulses/mile or Km whatever
is Ur unit. Also then U can calculate the speed also to be alternately displayed. All cumulative distance should be written to EEPROM when switching off occurs and read again after next switch off.
I leave it to masters for genarating code on this line. I have serviced
such Odometer used in runway painting. It was based on Z80.
Bookmarks