It is easy to do it with a single-chip microcomputer, but if you use analog circuits and digital circuits to build such a complex function, I am afraid that it will be dozens of times larger than the existing cost meter, and it will consume huge amounts of power and cost more. Gao, why do you need to do this? Just because you haven’t learned anything, should you waste it regardless of the cost?
If you are in urgent need, you can spend money to recruit someone who understands microcontrollers to do it. No one can provide a circuit that does not use a microcontroller. It is too complicated and impossible to implement.
First of all, it depends on whether the output of the mileage sensor is analog or digital.
No matter what kind of mileage sensor,
You can use a digital integrator, which is simpler; you can also use an analog integrator, which makes the design and debugging very difficult.