When cleaning out my fuel tanks before starting putting Thunder Bird (26' Overnighter) back together a couple of years back I came up with the idea of doing away with those Rochester manual read gauges and wanted to get something on the dash so I could better monitor my fuel. I became intrigued with the gauge itself and how it allowed for a completely sealed gauge by using a little magnet inside the tank that would rotate with the fuel floats position. The manual gauge itself that was on the ouside of the tank just above the magnet was nothing more than a cheap compass indicating F & E instead of NSEW.
After scratching my head for a bit I thought of these field effect compasses you find in just about every vechicle now-a-days. So I found a Dinsmore Sensor for doing just that. It provided 4 outputs indicating N, E, S, & W. NE, SE, SW, and NW could be interpeted when two sensors outputs were on simutaniously.
I guess I could have been content just wiring up 4 LED's and interpeting how much fuel was in my tanks BUT how would I tell which LED's were being lit at night if all the others were off? So I determined to make a bar graph display with 8 LED's indicating the magnets position with the bottom 2 being red, middle, 3 yellow and the top 3 green. As I have had some expirence with logic circuits I set out to design a system that would light the bottom 2 red LED's when compass sensor reads west, then light the 2 reds and 3 yellows when the magnet is pointing SE relative to the sensor, and all LED's when magnet is pointing N. So N would indicate full, S would be a 1/2 tank and so forth.
Anyway I will attach my logic diagrams and pictures of what I have so far. The N,E,S,W are the outputs from the compass sensor, triangles reverse the logic and would make a +5volt 0 and 0 +5 volts. The other two type of gates I used are AND and OR. OR gates have the arc and AND gate a straight line for their base. AND gates need both inputs to be positive before the output goes positive, with an OR gate either input being positive will produce a positive output.
I should be able to pull this off with 4 logic chips, 8 LED's, a driver for the LED's and the compass sensor. We will see.