Hello! I have a question concerning filtering noise produced by the system surrounding my Arduino and circuit. So for a project for my class, I've (sort of) designed a project that will be able to take the digital tachometer signal produced by my car, have the Arduino process it, and have it displayed on an LCD screen. I was actually able to install it, but I'm running into a few hiccups.
So far I've been able to run the signal through a voltage divider to a digital pin on the board. I wrote a shell of a code to display the values and I took it out to test it. The RPM displayed at idle is accurate, however when I rev the engine or drive it, the error in the displayed value gets worse as the RPM gets higher. I suspect that this is due to external noise because I had a few ferrite core clamps lying around and when I strapped them to the power wire, the error was smaller. So my question is this - does anyone know of any way I can use hardware to filter this external noise? To stay within the project guidelines, I need to use components like capacitors and transistors and such. I think the direction I need to head in is designing a high pass filter, but I'm not sure if that's right.
TL,DR: I have a project for class that's encountering external noise, and I need to figure out what hardware/circuitry to use to fix it. I think I need a high pass filter but I'm not sure.
Thanks so much in advance!!!