No, you can't abandon that and still do a good electronic design.So my usual "think first, then act" approach might not be the best fit for electronics
But suppressing noise and its effects is far from an exact science.
No, you can't abandon that and still do a good electronic design.So my usual "think first, then act" approach might not be the best fit for electronics
The Arduino processor isn't handling any pulses. It just ask the motorcycle's ECU for the rpm a few times per second. The Arduino can show the rpm and be idling 99.9% of the time.My guess is that the problem has nothing to do with the power supply, but that the processor is not fast enough to handle the pulses as the engine runs faster. This is simple to verify by temporarily powering the circuit from a battery instead of the electrical system. Observe the reading at idle, and then increase the engine speed . My experienced guess is that the problem will remain.
The solution is to not use a computer for a tachometer application, but rather use a tachometer IC, such as the LM2917. Still available after many years because it works so very well. AND it includes an internal voltage regulator circuit.
OK, perhaps the engine controller gets too busy to reply. And with the price of an ECU being what they are, I would not touch it. An external tach is much safer in that it does not risk damaging the ECU.The Arduino processor isn't handling any pulses. It just ask the motorcycle's ECU for the rpm a few times per second. The Arduino can show the rpm and be idling 99.9% of the time.
working example on youtube
I am willing to take that risk, since I am not tampering with the ECU. I am just asking it for information in the same way that the OEM tach would. The ECU is working within normal operating conditions.OK, perhaps the engine controller gets too busy to reply. And with the price of an ECU being what they are, I would not touch it. An external tach is much safer in that it does not risk damaging the ECU.
by Jake Hertz
by Jake Hertz