Jump to content

Forums/Z31P/z31-repairs-forums electronics/Fuel Level Sender Operation with Digital Dash

From Z31 Library
Revision as of 05:15, 15 May 2026 by z31p_Dafunkmonster (talk | contribs) (Forum archive import (z31performance))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Imported from Z31Performance.com Forums{{#if:dafunkmonster| — original post by dafunkmonster}}{{#if:2017-02-15 19:04:49|, posted 2017-02-15 19:04:49}}{{#if:25| · 25 post{{#ifeq:25|1||s}}}}{{#if:/Z31performance_archive/forum/z31-repairs-forums/electronics/534330-fuel-level-sender-operation-with-digital-dash.html|
Local archive: view archived thread on dev.z31library.com}}

dafunkmonster: (2017-02-15 19:04:49)

I recently acquired a 1986 Turbo GLL that has some issues, one of them being a faulty fuel level sender. The previous owner indicated that the sender itself had a loose connection or something, and that it could probably be soldered.

Rather than mess around with trying to repair the sender (which I suspect is the original factory cylindrical design, not the updated swing-arm float design), I decided to look for an OEM replacement.

I attempted to order the updated design for digital dash units, only to discover that not a single one exists in any Nissan dealer inventory nationwide. Bummer. I haven't yet attempted to order the original factory part number, but I'd sooner repair my existing unit than order a brand new unit that is likely to fail within a few years. It appears that the "analog dash" version of the updated sender is still available, though.

In the part catalog diagram for the GLL, there is a part number for an adapter box (the silver box that plugs in between the sender and the harness). From my research online, it appears that this box takes the analog signal from the sender and converts it into a signal that the digital dash can interpret. My suspicion is that the only difference between the updated "analog dash" sender and the updated "digital dash" sender is that the digital version comes with this converter box, and that the in-tank sensor is identical between the two. Unfortunately, this adapter box is no longer available from Nissan, either. I suspect that this is the reason why the "digital dash" fuel sender is no longer available - the digital dash sender is probably just the analog sender packaged with one of these adapter boxes, and the adapter boxes weren't in production nearly as long as the analog fuel senders (which were probably used in other car models well into the 90s).

My theory is that, if I could find a working adapter box, I could order in an "analog dash" fuel sender of the updated design, and the adapter box would convert the analog signal to the signal the digital dash is expecting. Of course, finding a working used adapter box might prove difficult.

But then I got to thinking: that signal converter can't be all that complicated. If I could just figure out what signal the digital dash is expecting, I could design a replacement converter box that anyone could use to translate analog fuel sender signals (or even universal fuel level sender signals) to digital dash signals.

Does anyone know what type of signal the digital dash is expecting from the fuel sender? Is it just a level-shifted analog signal, or is it expecting PWM or something?


Z_Karma: (2017-02-15 22:26:38)

Great question.

An earlier thread pretty much surmised the same thing. The level sensor is the same between the analog dash and digital dash kit, one just comes with the A2D box and one does not. I've not seen a thread before though where someone has put an oscilloscope on the output of the converter and characterized it.

However, there are plenty of other electrical assemblies on these cars that suffer from failed solder joints and one of my first troubleshooting steps would be to crack that box open and touch up all the solder joints. Dried up capacitors are another failure mechanism and if there is any of those in there (it's been awhile since i looked in one) it might be worth it to update them with newer parts.

I would guess someone familiar with the Arduino and programming code could create a converter, but i'm not that someone.


dafunkmonster: (2017-02-18 19:30:25)

So, I finally got around to pulling the fuel level sender out of the tank. This was still plugged into the harness, so I'm glad that none of these leads shorted out on each other. This was basically a gas bomb waiting to go off. Sure, it would have required running the tank mostly empty in order to get the right fuel/air mix inside the tank, but its still a damned scary situation.

The contacts are all corroded, and the potentiometers are worn out, so I don't think its worth trying to repair it.

[archived image: uTx9jCZ.jpg]

[archived image: xCQl5Qp.jpg]

If this fuel level sender is original to the car (and I have no reason to doubt that it is - the top plate and bolts are just as rusted as the tank), then it appears that the digital dash is still getting an analog signal from the fuel level sender. The only components inside this thing are the float, the potentiometers on the shaft, the wiring, and case. I suspect that its just a different voltage range than the analog dash receives. The digital dash probably requires a 0-5V signal or something where the analog dash requires a 0-12V signal, and the resistance values of the digital fuel level sender are modified to send a reduced voltage to the dash.

I could try and create a map of all the different resistance values and figure out how the signals relate to fuel levels, but I think it might be easier to just reverse engineer one of the converter boxes. If it is really just a level converter, it should be super easy to build an exact replacement.


dafunkmonster: (2017-02-27 19:48:58)

Since the analog float-arm fuel level senders are still available, I ordered one in. I got the genuine Nissan part, but there's a ton of aftermarket float-arm fuel senders available - unfortunately, they're for analog dash only.

The adapter box is apparently very difficult to find. So far, I've only seen one on ebay, and it had been sold a week prior.

My next plan of attack is to figure out how fuel levels map to resistance values on the digital version versus the analog version. If somebody has a working sender for a GLL (without the adapter box) and would be willing to help me out by recording some resistance values for me, that would be awesome.

Once I have a table of resistance values for each version of the sender, I should be able to reverse engineer the function of the adapter box. My suspicion is that its just a resistor network that shifts 0-12V signals down to some range that the digital dash can read.

Alternatively, if somebody has an adapter box that they'd be willing to either A. let me borrow, or B. disassemble and take pictures of the innards, that would also be awesome.


NissanXRMA: (2017-03-01 03:48:46)

Alex Millward (Banned on here) is working on this very study. He might be worth contacting on Facebook.


DraycosDrasilova: (2017-03-22 23:59:42)

{{#if:dafunkmonster|dafunkmonster wrote:|Quote:}}

Since the analog float-arm fuel level senders are still available, I ordered one in. I got the genuine Nissan part, but there's a ton of aftermarket float-arm fuel senders available - unfortunately, they're for analog dash only.

The adapter box is apparently very difficult to find. So far, I've only seen one on ebay, and it had been sold a week prior.

My next plan of attack is to figure out how fuel levels map to resistance values on the digital version versus the analog version. If somebody has a working sender for a GLL (without the adapter box) and would be willing to help me out by recording some resistance values for me, that would be awesome.

Once I have a table of resistance values for each version of the sender, I should be able to reverse engineer the function of the adapter box. My suspicion is that its just a resistor network that shifts 0-12V signals down to some range that the digital dash can read.

Alternatively, if somebody has an adapter box that they'd be willing to either A. let me borrow, or B. disassemble and take pictures of the innards, that would also be awesome.

I've taken some pictures of the box from mine. It should be noted that my gauge does not work properly but I suspect it's the float and not this converter box. It goes down far too quickly and "Empty" is only about 7 gallons from full.

I do have another sending unit that I could take readings off of if you'd like but I have no way of knowing if it is good or bad.

http://imgur.com/a/CjV9w

Hope this helps! I'd really like to be able to order the analog sending unit and keep using my converter box so I can have a working gauge again!


Z_Karma: (2017-03-23 00:45:06)

Looks like that Hitachi HA1813 is a voltage comparator. NLA with no interchange

HA1813.JPG

This was clipped from a line catalog from 1981

https://archive.org/details/bitsaver…puter_14828946

Attached Files

HA1813.JPG (41.8 KB)


bonfire79: (2017-03-23 01:06:27)

Have you looked over at nissanpartsdeal.com to see if they have that part? they seem to have a lot of parts that courtesy Nissan doesn't carry anymore. just a thought.

Bon


DraycosDrasilova: (2017-03-23 01:23:09)

{{#if:bonfire79|bonfire79 wrote:|Quote:}}

Have you looked over at nissanpartsdeal.com to see if they have that part? they seem to have a lot of parts that courtesy Nissan doesn't carry anymore. just a thought.

Bon

I had not seen that site in my searches for the part number but I just put in an order for one there, hopefully they actually have it. Thanks very much!


Zuphoria: (2017-03-23 13:20:12)

Try www.300zxpartsforyou.com


Zuphoria: (2017-03-23 13:28:18)

[archived image: ggsua-38.jpg]Gas Gauge Sending Unit Fuel Pressure Adapter

This plugs inline with the GGSU above & is bolted to the gas tank floor pan


bonfire79: (2017-03-23 13:54:49)

{{#if:DraycosDrasilova|DraycosDrasilova wrote:|Quote:}}

I had not seen that site in my searches for the part number but I just put in an order for one there, hopefully they actually have it. Thanks very much!

i started using them instead of courtesy nissan just because the ease of the site, the diagrams, and parts availability. plus, they ship to military APO, which is good for me [archived image: smile.png]

one option they have is you can check availability of any part. if it says "limited availability", just send them an email with that part number, or just follow the part link, and they will respond to you in a day or two and say if they can get it from Japan. you will know for sure.

also, like whats already been stated, check 300zxpartsforyou.com give Steve a call, he has it for 45 bucks. and besides he needs our buisiness. i just got a turbo ECU from him yesterday.

glad to be of help.

Bon


DraycosDrasilova: (2017-03-23 18:58:28)

{{#if:bonfire79|bonfire79 wrote:|Quote:}}

i started using them instead of courtesy nissan just because the ease of the site, the diagrams, and parts availability. plus, they ship to military APO, which is good for me [archived image: smile.png]

one option they have is you can check availability of any part. if it says "limited availability", just send them an email with that part number, or just follow the part link, and they will respond to you in a day or two and say if they can get it from Japan. you will know for sure.

also, like whats already been stated, check 300zxpartsforyou.com give Steve a call, he has it for 45 bucks. and besides he needs our buisiness. i just got a turbo ECU from him yesterday.

glad to be of help.

Bon

Unfortunately they didn't have it/can't get it either; they emailed me back just now.

I didn't think of contacting Steve for one (though I have bought from him before, great guy) as I thought he only dealt with used parts. I'll check his site when I get back home, it usually makes my phone have a cow.


bonfire79: (2017-03-23 22:04:21)

yeah, I just talked with him tonight about an idle control valve that I need. his stuff is used, but he pulls and inspects everything himself. he won't sell you a bad part, trust me. and he has your part… I saw it on there. ask him to make sure its in stock. he takes CC numbers over the phone with me, or you can do the pay pal thing. hope he can get you what you need. I'm actually amazed at the amount of hard to find parts I was able to get from partsdeal.... and Steve is pretty much my go-to guy for everything used that I can't find anywhere else. Tell him you mentioned my name, Ben from the UAE.

Bon


dafunkmonster: (2017-04-03 16:23:45)

Apparently, my email notifications are getting sent to the spam folder or something, because I didn't see any for these replies.

Nissan parts deal is my go-to place for parts online. They didn't have any of these adapter boxes in stock. I tried a bunch of different places, including some Ebay sellers who specialized in salvaged Nissan parts. Nobody had them. I managed to find one guy who had a salvaged cylinder-type fuel level sender for a GLL, so I bought that just to get an idea of how the thing works.

Since NOS of these adapter boxes has been apparently exhausted (or if it hasn't, its close), I decided to continue pursuing the reverse-engineering. I have a prototype for a replacement almost ready - I just need to do some tweaks and then spend an afternoon calibrating. It's going to be an arduino-based unit with some external DACs. I decided to go this route because it makes it easy to calibrate. I can translate any analog input voltage to any analog output voltage, so in theory, this box could be used to translate ANY fuel level sender (even a universal one) to something the digital dash can understand.

Thanks, Draycos! Your picture confirms what I suspected - the factory adapter box is doing the conversion with a BJT and a comparator. (To answer your question: Yes, You should be able to order a brand new analog float-arm sender and it should work fine with your adapter box.)

The following is what I discovered, for posterity's sake.

The digital dash fuel level sender (for GLL) basically sends three different signals. It has 4 wires: B - black (ground), Y - yellow (full-range signal), YG - yellow with green stripe (quarter-tank signal), and R - red (empty signal). When left open, Y and YG both read 5.1V, and R reads around 10V.

At full tank, the digital sender pulls Y and YG to ground and R is left open.

At half tank, Y shows a resistance to ground of a couple hundred ohms or so, and YG is still essentially a short to ground. R is still open.

At a quarter tank, the resistance from YG to ground starts to rise. R is still open

At empty tank, Y and YG show resistances to ground of 1.2Kohm and 500ohm respectively, and R gets pulled to ground.

Essentially, for the digital dash, both pots run from low resistance to high resistance as you go from full tank to empty tank. In other words, they go from ~0V at full to ~5V at empty.

The float-arm analog fuel level sender operates similarly, except that one of the signals goes from a high resistance at full to a low resistance at empty (high voltage at full to low voltage at empty). It also has a float switch to signal when the tank is empty. The maximum resistance of each pot is also an order of magnitude lower than that of the digital fuel level sender.

The adapter box appears to borrow the voltage from R to power its circuitry. When R gets pulled to ground at the point where the tank is empty, this essentially leaves Y and YG at open circuit, which confirms the "empty" state.

Rather than do all the math of trying to figure out how to translate these signals using transistor logic, I decided to go with a microcontroller-based approach. I'm essentially translating the resistance of the pots on the analog sender into voltages that I output to the harness. I'm also piggybacking off of the 10V R line for power, but my adapter will probably pull even less current than the Nissan adapter box.

So far, I've created a rough map of how voltages translate to fuel levels on the digital dash. What I need to do now is map out how actual fuel levels map to resistance values with the analog sender, and to do that, I need to have the analog sender in the tank (and be able to reliably measure how much fuel I've put into it). It will be a tedious process, but once I'm done doing that, I should be able to create the final lookup table and have a 100% working prototype.


dafunkmonster: (2017-04-03 16:35:03)

After I have the prototype working, then I'll start looking having some PCBs and enclosures made.

How much interest would there be in a drop-in replacement like this? And would people want to have factory connectors, or would people be OK with splicing in non-standard aftermarket connectors for use with this adapter box?

If interested, how much would you be willing to pay for one of these? Nissan had the factory adapters listed at $85, IIRC. It looks like I could probably have a run of these made and sell them for a bit less than that, depending on how much the connectors cost (factory connectors may drive the price up). Of course, the smaller the run, the higher the price per unit.

I managed to track down part numbers for the 4-pin connectors that Nissan used for these senders. They were made by either Sumitomo or Yazaki - they're 58 series S-type connectors. I believe Nissan classifies them as "S04FW" (s-type, 4-pin, female, white) and "S04MB" (s-type, 4-pin, male, blue). Unfortunately, they appear to be hard to find items. I have only found one distributor that has any in stock, and they don't quote a price on their site.

Obviously, it would be ideal to use factory connectors - that way, this would be a 2 minute drop-in job - but if that isn't feasible due to availability of the connectors, then it may have to be a splice-your-own deal.


daleinslc: (2017-06-13 03:49:37)

Great write up. I would be interested in one when you get something working.... I have a analog sending unit and a digital dash. Dale


tkulachanpises: (2017-08-25 21:45:51)

Same here… I would be interested in one. Don't mind paying OEM price for it. Keep up the good work. We need more people like you to keep the Z31 running


dafunkmonster: (2019-01-02 02:08:40)

Update on progress:

I got a breadboarded proof of concept working. Then the project got shelved for a while. Now I'm back at it.

Components for a functional prototype are on order. Next step is to chart fuel volume in the tank vs sender level and then start building once components arrive. I plan to run with one of these units installed in my Z for a while before committing to the design and ordering components for a production run.


nibor17: (2019-01-30 01:59:35)

I followed this thread last year, hoping that the project would take place. I have an 87T GLL with a bad sending unit. I'd like to drop in an analog sending unit, as you describe. Since this is an essential part, I'd be willing to pay OEM pricing as well.

Looking forward to more updates!


TX300ZX: (2019-02-05 04:29:59)

My fuel gauge isn't working and I suspect the box to be the issue. I'd be willing to buy one when they're ready.


Acmex: (2022-09-07 15:03:50)

Time for some thread necromancy…

I started work on this 18 months ago with some help from Z_Karma, who fully characterized several digital fuel level sending units and an updated analog level sending unit. His results are here:

https://github.com/Z-Karma/Z31-fuel-…racterization/

I designed a board to perform measurements and actually convert the level values, something the Nissan box does not do. I then set the project down for 16 months because I couldn't be bothered to actually write the code. Today I finished writing the code and checking out the level input calculation:

Code: Heartbeat AVR Volts:4.47 Supply Volts:4.87 Main Level Counts: 308

 Reading (Ohm): 46.88
 Level (Gal): 5.69

Sub Level Counts: 491

 Reading (Ohm): 219.04
 Level (Gal): 7.63

This is on the bench with known value resistors, at 47.5 and 218 Ohms for the main and sub level, respectively. The quantity lookup table is working correctly, as the calculated resistance values match the characterized values for the indicated level values.

My remaining task is to include the output code (PWM between 4.5 and 0.5V depending on calculated level), crimp up a wiring harness to install it in the car, and finally perform a couple months of aimless driving (sorry, extended testing). Rev 2 of the board is already in work, to correct some poor component and layout choices.

I intended this to be a highly flexible general utility board, so it's got three analog inputs, four low-side PWM outputs, and CAN communication provisions.

Forgive the terrible quality assembly, I've gotten better footprints and soldering technique since I put this together.


Acmex: (2022-09-14 03:52:56)

It's in the car now. Some time ago I measured the stock "converter" box as a constant 14mA draw, pretty tough on the old electrical systems for cars that don't get driven. Well, this one shuts off entirely when the ignition is off and waits for the cluster sense voltages before powering up. That all works nicely so far.

Output map is initially a simple linear interpolation: main 0-19gal is 4.7V-0.5V; sub 0-6gal is 4.5-0.5V. The output map should be another LUT since the cluster is (probably) expecting a nonlinear voltage based on the attached curves. However, it's already more accurate than it was so I'll run this for a little while to see if it's worth the effort to upgrade the code.


Z_Karma: (2022-09-14 20:33:34)

Eventually it would be cool to characterize a fuel level sender that is still readily available that could be adapted to the stock Z31 fuel sender tank plate (though it only has the 4 wire pass thru points and no bracketry to speak of.

Reason being: I bought a 25060-17P65 analog sender for ~210USD in June of 2022 from Amazon, they are now at 361USD.

For the sake of keeping it Nissan, a 25060-ZS00B, it appears to have dual resistance strips on a single float.

Maybe a piece of erector set for a adapter bracket .

I should have maybe kept my old rusty tank for a mock-up.


Acmex: (2022-09-15 01:56:58)

25060-17P65 was ~$230 November 2021 when I ordered mine. They still seem to be in production judging by the date on my box, though. note that 25060-ZS00B is a single wipe, they just doubled up the track to get the sensitivity range they wanted. The dual float is nice to have but not really relevant since we can let one capacity measurement drive both outputs on different scales.

What I want is a capacitive level sensor. No moving parts, easy fabrication, just electronics and math. Calibration for a roll-your-own is a pain though, and commercial parts are $$$. Japan-market digital-dash Leopards used a rather complex capacitive plate arrangement to accurately detect fuel level at any orientation. The internet claims the Ford Falcon ("XF") used a PCB-based capacitive sensor. They're also everywhere in aviation, just a lot more of them per vehicle.