Measure Fuel Level With Arduino: Instructables
Measure Fuel Level With Arduino: Instructables
by jmorles
The sensing unit usually uses a float connected to a would allow the driver to run out of fuel with no prior
potentiometer, typically printed ink design in a notification). Corrosion or wear of the potentiometer
modern automobile. As the tank empties, the float will provide erroneous readings of fuel level.
drops and slides a moving contact along the resistor, However, this system has a potential risk associated
increasing its resistance.[2] In addition, when the with it. An electric current is sent through the variable
resistance is at a certain point, it will also turn on a resistor to which a float is connected, so that the
"low fuel" light on some vehicles. value of resistance depends on the fuel level. In most
automotive fuel gauges such resistors are on the
Meanwhile, the indicator unit (usually mounted on the inward side of the gauge, i.e., inside the fuel tank.
dashboard) is measuring and displaying the amount Sending current through such a resistor has a fire
of electric current flowing through the sending unit. hazard and an explosion risk associated with it.
When the tank level is high and maximum current is These resistance sensors are also showing an
flowing, the needle points to "F" indicating a full tank. increased failure rate with the incremental additions
When the tank is empty and the least current is of alcohol in automotive gasoline fuel. Alcohol
flowing, the needle points to "E" indicating an empty increases the corrosion rate at the potentiometer, as it
tank. is capable of carrying current like water.
Potentiometer applications for alcohol fuel use a
The digital fuel gauge in a 2012 Hyundai Elantra pulse-and-hold methodology, with a periodic signal
showing a full tank along with a distance to empty being sent to determine fuel level decreasing the
display. corrosion potential. Therefore, demand for another
safer, non-contact method for fuel level is desired.
The system can be fail-safe. If an electrical fault
opens, the electrical circuit causes the indicator to Wikypedia
show the tank as being empty (theoretically provoking
the driver to refill the tank) rather than full (which
Step 1: Theory
Magnetic switch:
This sensor have many diferent values resistors (Low level 240 ohm High level 30 ohm), that conmutes to "GND"
(Not necessarily).
Ohms law:
if we can apply a fixed voltage and a fixed resistor we can apply the Ohms law.
and measure the voltage in any given level, so we transfom digital commuting analogic.
-Arduino Nano
-Oled Display
-Breadboard
-Level Sensor
-2 2.2K resistors
-2 100ohm resistors
https://tuppens.com/kus-wema-fuel-water-tank-level...
we first take notice what value we get at the low level and the high level
i got
min = 295
max = 785
Like this.
Download
https://www.instructables.com/ORIG/FCO/R1PM/JBQUKVSA/FCOR1PMJBQUKVSA.rar
…
How about the flammable fuels? if the sensors produce heat/current it would make fire isn't it?
thank you