Converting GND switch states to two resistance values to GND

Thread Starter

marcus905

Joined Aug 20, 2018
2
Hello everyone,
I'm trying to connect a universal gauge to a motorcycle. This gauge includes a fuel indicator that basically shoes a bar display measuring a resistance to ground, with 10ohms for a full tank to 90ohms for an empty tank.
The fuel tank itself though has a much simpler design: if the fuel is low it will short a signal to ground, if it's not low the signal is left floating.

Basically I'm trying to devise a simple circuit that will convert a floating input to a 10ohms resistance to ground and a grounded input to a 90ohms resistance to ground.

I have no clue how to do this, if you have an idea or can point me in the right direction I'd be very grateful.

Thank you very much!
 

crutschow

Joined Mar 14, 2008
23,377
Here's a simple circuit using one transistor and three resistors to do what you want.

When the switch is open, the transistor is on, connecting R2 to ground, and the resistance value seen by the gauge to ground is R2 and R3 in parallel, which is 10.05 ohms.

When the switch is closed, the transistor is off, so the gauge sees only R3 or 90.9 ohms.

upload_2018-8-20_13-28-10.png
Sound okay?
 

Thread Starter

marcus905

Joined Aug 20, 2018
2
Hello!

Yes, it's perfect! I will replace the R2 resistor with a series of a 10 and a 1.2 ohm and the R3 resistor with a series of a 68 and a 22 ohm to achieve roughly the same effect.

Thank you very much both for the circuit and for a new found interest in electronics.

I will try to implement the circuit and I'll let you know!

Thanks again!
 
Top