Notices
944 Turbo and Turbo-S Forum 1982-1991
Sponsored by:
Sponsored by: Clore Automotive

Gauge Hijacking

Thread Tools
 
Search this Thread
 
Old 03-08-2015, 11:37 PM
  #1  
SCEV
Instructor
Thread Starter
 
SCEV's Avatar
 
Join Date: Apr 2012
Location: Charleston, SC
Posts: 129
Likes: 0
Received 0 Likes on 0 Posts
Default Gauge Hijacking

As some on here are aware, I've converted my 951 to electric drive. So I'm trying to gain control over all of the factory gauges.

I've already successfully got the tachometer and boost gauge (now shows amps) to work, tapping into both in a red 4-pin connector under the passenger side dash.
https://rennlist.com/forums/944-turb...e-control.html
https://rennlist.com/forums/944-turb...er-signal.html

I'm now hoping to get the temperature and fuel gauges working. The temperature would show the temperature of either my motor or controller, not sure which yet. The fuel gauge would show my battery state of charge. Does anyone know where I can tap into these gauges, and what type of signal they are looking for to make them function properly?

I'm also hoping to make the check engine light work...my controller has an output for an error light that I think would work for this. Is there a generic "check engine" light on the dash, and do you know where I could tap into the wire feeding it?

Not sure what to do with the oil pressure gauge...suggestions are welcome!
Old 03-10-2015, 10:39 PM
  #2  
SCEV
Instructor
Thread Starter
 
SCEV's Avatar
 
Join Date: Apr 2012
Location: Charleston, SC
Posts: 129
Likes: 0
Received 0 Likes on 0 Posts
Default

Anyone?

Maybe someone can point me in the direction of where I can find the electrical diagrams for an 86' 951? I tried searching on here with no luck...but might have been user error.
Old 03-11-2015, 02:10 AM
  #3  
Tom M'Guinn

Rennlist Member
 
Tom M'Guinn's Avatar
 
Join Date: Jan 2002
Location: Just CA Now :)
Posts: 12,567
Received 533 Likes on 287 Posts
Default

I missed this post. I can help with the other gauges. Temp and fuel are driven by sensors that vary resistance to ground. Will post up info tomorrow. Factory service manuals (available for download in darker corners of the internet) have very detailed schematics, though they don't show how the gauge work per se. Check clarks garage for diagnostics on the gauges, which pretty much explain how they work and the ohms needed....
Old 03-11-2015, 02:36 PM
  #4  
KevinGross
Rennlist Member
 
KevinGross's Avatar
 
Join Date: Dec 2004
Location: Stow, MA, USA
Posts: 1,481
Received 154 Likes on 101 Posts
Default

I believe they are all standard VDO gauges, and so if you can get the specs from VDO , you should have what you need.
Old 03-12-2015, 01:00 AM
  #5  
SCEV
Instructor
Thread Starter
 
SCEV's Avatar
 
Join Date: Apr 2012
Location: Charleston, SC
Posts: 129
Likes: 0
Received 0 Likes on 0 Posts
Default

Clarks Garage had a lot of good info on the gauges, but it looks like I would have to find a way to convert my analog voltages to a variable resistor?!?! Did some googling and found something called Voltage Controlled Resistors (VCRs), but not sure exactly how they work. Another option would be to use a micro controller like the Arduino to convert the analog voltages from my controller to digital signals to control "digi-pots". Both of those options sound scary...

However, these sensors that vary a resistance just change the voltage across the gauges, so I think I should just be able to use my analog voltages if I hook them up to the right place, and provide the proper voltage range (like 0-1V for the boost gauge)..right?
Old 03-12-2015, 02:56 AM
  #6  
azbanks
Freedom Enthusiast
Rennlist Member
 
azbanks's Avatar
 
Join Date: Feb 2007
Location: Phoenix Arizona
Posts: 7,905
Likes: 0
Received 3 Likes on 3 Posts
Default

Sent you a PM. I'll get you the right stuff this time.
Old 03-13-2015, 12:08 AM
  #7  
Tom M'Guinn

Rennlist Member
 
Tom M'Guinn's Avatar
 
Join Date: Jan 2002
Location: Just CA Now :)
Posts: 12,567
Received 533 Likes on 287 Posts
Default

What voltages do you want to indicate empty and full on the fuel gauge? I have a spare and can experiment a little when I get a chance...
Old 03-13-2015, 10:28 AM
  #8  
SCEV
Instructor
Thread Starter
 
SCEV's Avatar
 
Join Date: Apr 2012
Location: Charleston, SC
Posts: 129
Likes: 0
Received 0 Likes on 0 Posts
Default

I've got a 0-13.5V signal ready for the temperature gauge but not sure yet where I will get a signal from for the fuel gauge. I'm using a JDL 404 meter to count Amp Hours via voltage drop across a shunt, however there is no output from the JLD 404 I use to feed the fuel gauge. But lets just assume its 0V for empty and 13.5V for full.
Old 03-13-2015, 04:15 PM
  #9  
SCEV
Instructor
Thread Starter
 
SCEV's Avatar
 
Join Date: Apr 2012
Location: Charleston, SC
Posts: 129
Likes: 0
Received 0 Likes on 0 Posts
Default

So, for the temp gauge, according to Clarks Garage, below is a picture of the temperatures and corresponding resistances needed at the sensor.



I discovered my electric motor actually has a thermistor in it (KTY84/130). Below is a modified picture of the temp gauge showing the resistances the thermistor would provide at the desired temperatures. Somehow I would have to develop a circuit that changed these resistances to match the factory picture above.



If I want to instead use the temperature of my controller (not sure yet which is more important, the controller or the motor temp), below is a modified picture of the temp gauge showing the voltages the controller would provide at the desired temperatures. Somehow I would have to develop a circuit that changed these voltages to match the resistances in the factory picture above.



So all of the above is assuming the only way to control the temperature guage is to provide the necessary resistance at the connector specified in the Clarks Garage guides. I'm thinking there is a better way to take control of the gauge. From the below circuit diagrams, it looks like the temp gauge has 3 connections. The right connection is 12V from fuse 19 and the bottom connection is ground (MPII). The left connection confuses me a little...following the diagram, it looks like it goes to DME pin 8, then to the sensor, then to DME pin 10, then to the temperature indicator light, then to ground (the connection that goes to the light also goes to the AC Relay and Oil Pressure gauge??). However, I don't think it's actually DME pins 8/10, it looks like a 14 pin connector before the DME?? Also, pin 13 of the DME shows it is for a Temp Sensor. Can anyone shed some light on how this actually works?



Old 03-13-2015, 10:39 PM
  #10  
Tom M'Guinn

Rennlist Member
 
Tom M'Guinn's Avatar
 
Join Date: Jan 2002
Location: Just CA Now :)
Posts: 12,567
Received 533 Likes on 287 Posts
Default

That 8 is pin 8 on the 14 pin connector on the driver side firewall -- the one with the little black cover. From there is goes to the sensor -- follow the BL/GE wire all the way to the sensor in the diagram above.

The DME has it's own temp sensor in the head, the signal from which goes to DME pin 13. It's a different sensor and circuit from the temp gauge on the dash.

Have you used an Arduino before? They are remarkably easy to use, and with a few supporting components and a little ingenuity, it could translate your inputs and run both the fuel and temp gauge with one Arduino.
Old 03-14-2015, 09:33 PM
  #11  
SCEV
Instructor
Thread Starter
 
SCEV's Avatar
 
Join Date: Apr 2012
Location: Charleston, SC
Posts: 129
Likes: 0
Received 0 Likes on 0 Posts
Default

Never used an Arduino, but did do some programming on another micro controller (don't remember the brand) about 10 years ago.

I'd like to try to get the gauges working without one, but if I do end up using an Arduino, which one do you recommend?
Old 03-15-2015, 09:31 PM
  #12  
Tom M'Guinn

Rennlist Member
 
Tom M'Guinn's Avatar
 
Join Date: Jan 2002
Location: Just CA Now :)
Posts: 12,567
Received 533 Likes on 287 Posts
Default

Originally Posted by SCEV
Never used an Arduino, but did do some programming on another micro controller (don't remember the brand) about 10 years ago.

I'd like to try to get the gauges working without one, but if I do end up using an Arduino, which one do you recommend?
For learning and starting out, you can't really beat the original Uno. It has headers for connecting wires and all the pins are marked nicely and line up with the "shields" (special purpose circuits) sold for the Arduino. Once you are comfy with that, you can go to a Nano or the teensy or just the processor by itself...
Old 03-30-2015, 11:13 PM
  #13  
SCEV
Instructor
Thread Starter
 
SCEV's Avatar
 
Join Date: Apr 2012
Location: Charleston, SC
Posts: 129
Likes: 0
Received 0 Likes on 0 Posts
Default

So I bought an Arduino, but haven't started playing with it yet, I wanted to first confirm how the gauges work. First up is the temp gauge since I've already started researching that one.

I took my gauge cluster out so I could interface directly with the gauge connections. In the car, the below pictured connections are 12V on the left pin, ground on the center pin, and variable resistance to ground on the right pin. Using this setup I was able to use a 1k potentiometer and control the gauge, and the resistance to reach each notch almost exactly match what was in Clarks Garage gauge troubleshooting (first picture in above post).

However, I don't know how I could recreate this variable resistance. Using the Arduino, I could control a digital potentiometer, but the only ones I can find are 5k and above. On top of that, the "resolution" is 8-bit, meaning there are 257 steps of different resistances from 0-5k, which means each step is about 19.5 ohms. This wouldn't work for me since the resistances needed are so low, so the steps are just too large.

This brings me back to how exactly does this gauge work...is it voltage driven or current driven? I connected the center and right pins to ground, and tried different voltages at the far left pin. I don't have a variable voltage supply, so I first started with different resistors between my 12.5V battery and the left pin, and eventually just used the 1k potentiometer so I could watch the gauge move. This worked, but it didn't seem very smooth. With the highest resistor, it would take a couple seconds for the gauge to move after connecting it. Also, using the pot I almost couldn't get the gauge to stop near the middle, it would just "jump" a rather large distance.

Any thoughts on how to correctly connect/control this gauge? How can I tell if it's voltage or current driven? If it helps, I measured the resistance of the gauge itself and it was 150 ohms from left pin to right pin...





Nothing connected...





12.5V through a 1.18k ohm resistor





12.5V through a 800 ohm resistor





12.5V through a 500 ohm resistor





12.5V through a 265 ohm resistor


Old 03-31-2015, 04:02 PM
  #14  
Tom M'Guinn

Rennlist Member
 
Tom M'Guinn's Avatar
 
Join Date: Jan 2002
Location: Just CA Now :)
Posts: 12,567
Received 533 Likes on 287 Posts
Default

I bet you can use a normal 10k digital pot by running a second fixed resistor in parallel. I've used the 41010 with the arduino (on other things) and it works well. The total resistance of two resistors in parallel is equal to (R1*R2)/(R1+R2). So if you have a 300 ohm resistor and a 10k resistor connected in parallel to ground, then the total resistance to ground is (300*10000)/(10300) or about 291 ohms. So…if you run a 300 ohm resistor to ground in parallel to a 10k digital pot, the total resistance will follow that formula as the digital pot is adjusted across its range (where R1 is always 300ohms, and R2 is whatever the pot is set to). If you work out the math, you’ll see that the total resistance will never exceed the fixed resistor, so you want to pick a fixed resistor a little higher than the highest resistance you need – in this case say 300. The total resistance increases logarithmically and approaches 300 as its mathematical limit. Your Arduino code just needs to incorporate that formula so that you can set the digital pot to the resistance needed to produce the desired total resistance. The fixed resistor will also reduce the current through the digital pot, which might increase your chance of not over-loading it (since they don’t like much current). No guarantees on this -- just my off the cuff reaction -- if you can't get it working let me know and I'll give it a try...
Old 03-31-2015, 06:10 PM
  #15  
SCEV
Instructor
Thread Starter
 
SCEV's Avatar
 
Join Date: Apr 2012
Location: Charleston, SC
Posts: 129
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by Tom M'Guinn
I bet you can use a normal 10k digital pot by running a second fixed resistor in parallel. I've used the 41010 with the arduino (on other things) and it works well. The total resistance of two resistors in parallel is equal to (R1*R2)/(R1+R2). So if you have a 300 ohm resistor and a 10k resistor connected in parallel to ground, then the total resistance to ground is (300*10000)/(10300) or about 291 ohms. So…if you run a 300 ohm resistor to ground in parallel to a 10k digital pot, the total resistance will follow that formula as the digital pot is adjusted across its range (where R1 is always 300ohms, and R2 is whatever the pot is set to). If you work out the math, you’ll see that the total resistance will never exceed the fixed resistor, so you want to pick a fixed resistor a little higher than the highest resistance you need – in this case say 300. The total resistance increases logarithmically and approaches 300 as its mathematical limit. Your Arduino code just needs to incorporate that formula so that you can set the digital pot to the resistance needed to produce the desired total resistance. The fixed resistor will also reduce the current through the digital pot, which might increase your chance of not over-loading it (since they don’t like much current). No guarantees on this -- just my off the cuff reaction -- if you can't get it working let me know and I'll give it a try...
I actually had this exact same idea this morning, but then I put the numbers into an Excel spreadsheet and realized it's the exact opposite of what I need. Using the same 5k digital pot I mentioned above, and putting a 300 ohm resistor in parallel with it gives you almost the same large steps at the lower resistance range, and extremely small steps the closer you get to 300 ohms (see below).


.
.
.


I need the opposite, with extremely small steps at lower resistances. Below is a graph showing what resistances I need to recreate as the temperature rises. X is the voltage the Soliton puts out for temperature...



Quick Reply: Gauge Hijacking



All times are GMT -3. The time now is 02:56 PM.