For starters, this is NOT in a road-going vehicle, but I suppose it might be considered an "auto application", because its being used on an engine in a stationary dyno cell/room.
I have the appropriate "clean power" circuits in place for the Picaxe 08m.
What I am trying to do is "tap into" or "piggyback" on the coolant temperature sensor circuit that goes to the engine's ECU. I am going to use the Picaxe to monitor the existing coolant temperature sensor to turn on some radiator fans in the dyno room.
Here is the circuit that the factory ECU uses to monitor the coolant temp sensor. Its a simple thermistor that ranges from 47ohms at 302*F (150*C) to 100700ohms at -40*F (-40*C). So basically from 50ohms to 100k.
The ECU monitors the thermistor ("ECT", engine coolant temperature) like this:
There is only one ECU obviously, the diagram shows "two" just to make it easier to draw.
One side to ground, the other to the ECU's internal +5v reference with a pullup resistor, and then goes to the ECU's 10-bit ADC. (0 = 302*F, 1024 = -40*F)
To generate a basic "map" for the Picaxe, I started the engine cold, then ran it up to operating temperature, and monitored the Picaxe's ADC value in the debug window. The way I have it wired is I tapped into the +5v reference side of the thermistor, and went straight to the Picaxe ADC input. (with a resistor in series) I then had my ECU scantool hooked up to the ECU to monitor "actual" temperature. Then I would simply make notes on what Picaxe ADC value corresponded to what "actual" temperature as displayed by the ECU scan tool.
Worked perfectly. Starting at 37*F, the Picaxe ADC was reading 190, then it would ramp down to 165 at 50*F, 80 at 100*F, 70 at 110*F, 60 at 120*F....
HOWEVER...something "odd" happens (to the Picaxe's ADC value) around ~130*F (as indicated by the scan tool). At ~130*F, the Picaxe ADC value jumped back up to 200. Then at 140*F, the ADC would go down to 190, 150*F, ADC would go down to 170, etc and then the ADC value would go down from there.
I cant figure out why, the scale seems to "start over again" from 200 ADC-value (and ramp down as temp goes up) at around ~130*F.
Its not a "special" thermistor or anything.
The thermistor's resistance at ~130*F is around 820ohms. Is there something internal on the Picaxe ADC that would cause it to start reading differently and rescale if it sees less than ~820ohms on the ADC input?
Im stumped on this one...I tried adding pullup and pulldown resistors on the Picaxe's ADC input, did not seem to do anything. I have no idea what the ECU's internal pullup resistor value is, im not sure if that would make a difference...
I have the appropriate "clean power" circuits in place for the Picaxe 08m.
What I am trying to do is "tap into" or "piggyback" on the coolant temperature sensor circuit that goes to the engine's ECU. I am going to use the Picaxe to monitor the existing coolant temperature sensor to turn on some radiator fans in the dyno room.
Here is the circuit that the factory ECU uses to monitor the coolant temp sensor. Its a simple thermistor that ranges from 47ohms at 302*F (150*C) to 100700ohms at -40*F (-40*C). So basically from 50ohms to 100k.
The ECU monitors the thermistor ("ECT", engine coolant temperature) like this:
There is only one ECU obviously, the diagram shows "two" just to make it easier to draw.
One side to ground, the other to the ECU's internal +5v reference with a pullup resistor, and then goes to the ECU's 10-bit ADC. (0 = 302*F, 1024 = -40*F)
To generate a basic "map" for the Picaxe, I started the engine cold, then ran it up to operating temperature, and monitored the Picaxe's ADC value in the debug window. The way I have it wired is I tapped into the +5v reference side of the thermistor, and went straight to the Picaxe ADC input. (with a resistor in series) I then had my ECU scantool hooked up to the ECU to monitor "actual" temperature. Then I would simply make notes on what Picaxe ADC value corresponded to what "actual" temperature as displayed by the ECU scan tool.
Worked perfectly. Starting at 37*F, the Picaxe ADC was reading 190, then it would ramp down to 165 at 50*F, 80 at 100*F, 70 at 110*F, 60 at 120*F....
HOWEVER...something "odd" happens (to the Picaxe's ADC value) around ~130*F (as indicated by the scan tool). At ~130*F, the Picaxe ADC value jumped back up to 200. Then at 140*F, the ADC would go down to 190, 150*F, ADC would go down to 170, etc and then the ADC value would go down from there.
I cant figure out why, the scale seems to "start over again" from 200 ADC-value (and ramp down as temp goes up) at around ~130*F.
Its not a "special" thermistor or anything.
The thermistor's resistance at ~130*F is around 820ohms. Is there something internal on the Picaxe ADC that would cause it to start reading differently and rescale if it sees less than ~820ohms on the ADC input?
Im stumped on this one...I tried adding pullup and pulldown resistors on the Picaxe's ADC input, did not seem to do anything. I have no idea what the ECU's internal pullup resistor value is, im not sure if that would make a difference...