Click here to Skip to main content
15,867,568 members

Fuel Level Stabilization

Revision 1
Hi,

I am working on Fuel Level Sensor module. We have a Fuel Level Sensor which is dipped into the fuel tank. The sensor sends the update in each 10 seconds. The volt varies from 0 to 5, wherein 0 means 'Fuel tank is Empty' and 5 means 'Fuel tank is Full'.
Currently I am working on to stabilize the voltage that I am receiving from the sensor. Since there is a lot of fluctuation happening while the vehicle is moving, I am not able to stabilize the graph.

Currently I am getting the graph in the following manner:
<img src="http://ialert.acttechindia.com/images/current.png" width="100%">

But I want the graph something like this:
<img src="http://ialert.acttechindia.com/images/required.jpg" width="100%">

I want to remove the fluctuation happening in the 1st graph.
Below is the data that I am receiving. Please download and open it in MS Excel 2007.(Trust me it is not a virus.)
Download Excel File

Please help.
Looking ahead for a helpful logic.

Thanks in Advance.
Linto.
Posted 4-Feb-13 20:30pm by linto_11.
Tags: ,