
Originally Posted by
Buzo
Another part of the project, is to design a circuit to bring the Low Fuel Level Warning Light back to life. Since now I can log any data I want, I started logging the fuel level sender's voltage. The signal is very noisy so put some filters until got a stable signal like the one attached, which only follows the car's movement. I guess I captured this chart when the tank was 1/2.
The circuit should be easy to build with parts easy to buy (no microcontrollers!) So far the logic to follow would be, if {the 50 previous FLS values read are different than the current value, ignore} else {compare and turn on/off the warning light in the dash accordingly} So we should be comparing only when the car is at idle or in a steady speed.
The fuel level voltage is the one called gpioadc1, sorry forgot to update the name in the chart. It is not properly scaled neither, but its OK just to communicate the idea.
Bookmarks