FRAMING JOHN DELOREAN - ON VOD www.framingjohndeloreanfilm.com
Page 5 of 5 FirstFirst ... 3 4 5
Results 41 to 47 of 47

Thread: New Fuel Gauge Circuit

  1. #41
    absotively posilutely bytes311's Avatar
    Join Date:  Sep 2014

    Location:  Modesto, CA

    Posts:    356

    Quote Originally Posted by Bitsyncmaster View Post
    I don't switch the sender connection. I drive it with 5.0 volts through a resistor equal to the maximum sender resistance. Therefor I would read 2.50 volts on the green/black wire with full tank. (Some senders have the values swapped) I read the voltage on that green/black wire to determine the tank level. I guess you could switch that drive off and on to save a little power (10 ma. with a 250 ohm value at full and 17 ma. with the 40 ohm value at empty).

    With the stock setup there is a lot more current flowing through the sender.
    Thanks!

  2. #42
    '82 T3 FABombjoy's Avatar
    Join Date:  May 2011

    Location:  Lansing, MI

    Posts:    1,227

    My VIN:    10270

    You can PWM drive the gauge with an N-channel MOSFET. I'm using a ground-switched output on my Haltech to do the same thing. That might make the circuit simpler for arduino use.

    I connect a 200-ohm resistor between the gauge sender to ground, and then the low-side driver to the gauge/resistor junction. If there is a circuit disconnect the needle points around the "E" in fuel letting you know there is an Error. Your output D/C isn't linear to gauge reading but a 4-point correction curve will get it close enough. Use the highest PWM you can for smoothest gauge movement. Then you can use a second MOSFET to trigger the low-fuel light at whatever measured fuel level you like.

    For a sender I'm using a Dorman 55818 with a 2-part 3d printed adapter to set it in the stock sender hole. It's easier (imo) than fiddling around with the fuel module float arm kinematic ship in a bottle puzzle.
    Luke S :: 10270 :: 82 Grey :: Supercharged K24 / G96 Swap (in progress)

  3. #43
    absotively posilutely bytes311's Avatar
    Join Date:  Sep 2014

    Location:  Modesto, CA

    Posts:    356

    Quote Originally Posted by FABombjoy View Post
    You can PWM drive the gauge with an N-channel MOSFET. I'm using a ground-switched output on my Haltech to do the same thing. That might make the circuit simpler for arduino use.

    I connect a 200-ohm resistor between the gauge sender to ground, and then the low-side driver to the gauge/resistor junction. If there is a circuit disconnect the needle points around the "E" in fuel letting you know there is an Error. Your output D/C isn't linear to gauge reading but a 4-point correction curve will get it close enough. Use the highest PWM you can for smoothest gauge movement. Then you can use a second MOSFET to trigger the low-fuel light at whatever measured fuel level you like.

    For a sender I'm using a Dorman 55818 with a 2-part 3d printed adapter to set it in the stock sender hole. It's easier (imo) than fiddling around with the fuel module float arm kinematic ship in a bottle puzzle.
    Thanks! That's super helpful.

    Is your 200-ohm resistor connected permanently between the gauge's sender terminal and ground, in parallel with the Haltech output? And have you measured the gauge's current draw, or encountered any issues driving it directly without an additional current-limiting circuit?

  4. #44
    '82 T3 FABombjoy's Avatar
    Join Date:  May 2011

    Location:  Lansing, MI

    Posts:    1,227

    My VIN:    10270

    Quote Originally Posted by bytes311 View Post
    Is your 200-ohm resistor connected permanently between the gauge's sender terminal and ground, in parallel with the Haltech output? And have you measured the gauge's current draw, or encountered any issues driving it directly without an additional current-limiting circuit?
    I measured the total current using a DC supply at about 200mA @ 14.5v. I'm not sure where you'd limit the current since you need current for the gauge to move? If you're wondering if you can drive the guage right from an ardino pin, I would not.

    The 200ohm is permanent. Or will be as it's all been bench tested but the install isn't complete yet. I have a separate oil/fuel gauge that I ran a bunch of bench tests with just to be sure you could raise/lower a sender float and see the gauge respond in kind. I'll be controlling all gauges this way on my engine swap without using Tee'd senders or similar.

    Also there is not really much damping on the fuel gauge so you'll want a timed average on your fuel sender sample. I expected the fuel gauge to be lazy based on prior reading but it's real-time, just not quite as twitchy as the oil gauge could be @100mA
    Luke S :: 10270 :: 82 Grey :: Supercharged K24 / G96 Swap (in progress)

  5. #45
    absotively posilutely bytes311's Avatar
    Join Date:  Sep 2014

    Location:  Modesto, CA

    Posts:    356

    Quote Originally Posted by FABombjoy View Post
    I measured the total current using a DC supply at about 200mA @ 14.5v. I'm not sure where you'd limit the current since you need current for the gauge to move? If you're wondering if you can drive the guage right from an ardino pin, I would not.

    The 200ohm is permanent. Or will be as it's all been bench tested but the install isn't complete yet. I have a separate oil/fuel gauge that I ran a bunch of bench tests with just to be sure you could raise/lower a sender float and see the gauge respond in kind. I'll be controlling all gauges this way on my engine swap without using Tee'd senders or similar.

    Also there is not really much damping on the fuel gauge so you'll want a timed average on your fuel sender sample. I expected the fuel gauge to be lazy based on prior reading but it's real-time, just not quite as twitchy as the oil gauge could be @100mA
    My concern was more about short-circuit protection. I wanted to make sure that if something shorted or the MOSFET failed, it wouldn't damage anything. I added a current limiter into the circuit, but then started questioning whether I'm overengineering something simple.

    Your measurement is particularly helpful because I didn't really have a reliable baseline for the gauge's normal current draw.

  6. #46
    '82 T3 FABombjoy's Avatar
    Join Date:  May 2011

    Location:  Lansing, MI

    Posts:    1,227

    My VIN:    10270

    Quote Originally Posted by bytes311 View Post
    My concern was more about short-circuit protection. I wanted to make sure that if something shorted or the MOSFET failed, it wouldn't damage anything.
    If the MOSFET goes open, it points to "E" in FUEL due to the 200 ohm resistor.
    If the MOSFET shorts to ground, the fuel gauge reads empty. Like as if the stock float sender was at 0 ohms.
    The Arduino board's 1117 regulator has current limiting / thermal protection.
    I'm not sure where an overcurrent situation occurs in this scenario unless connected to the car with micron-thickness wire
    Luke S :: 10270 :: 82 Grey :: Supercharged K24 / G96 Swap (in progress)

  7. #47
    absotively posilutely bytes311's Avatar
    Join Date:  Sep 2014

    Location:  Modesto, CA

    Posts:    356

    Quote Originally Posted by FABombjoy View Post
    If the MOSFET goes open, it points to "E" in FUEL due to the 200 ohm resistor.
    If the MOSFET shorts to ground, the fuel gauge reads empty. Like as if the stock float sender was at 0 ohms.
    The Arduino board's 1117 regulator has current limiting / thermal protection.
    I'm not sure where an overcurrent situation occurs in this scenario unless connected to the car with micron-thickness wire
    Yeah, I was being overly cautious. I started overengineering something that's relatively straightforward.

Page 5 of 5 FirstFirst ... 3 4 5

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •