MEGAsquirt A place to collectively sort out this megasquirt gizmo

Adding a resistive sensor

Thread Tools
 
Search this Thread
 
Old 05-24-2015, 10:54 AM
  #1  
Senior Member
Thread Starter
iTrader: (1)
 
Schuyler's Avatar
 
Join Date: Apr 2011
Location: Columbia, SC
Posts: 1,332
Total Cats: 87
Default Adding a resistive sensor

So I am attempting to add a resistive coolant temp sensor from a saturn for my oil temp. I had found it online, on msextra I think, where people recommended using it. However, my understanding was I just put 1 lead to ground and 1 lead to an analog input (EGO2) on the ms3x card. Set to GM calibration. Did not work, and the values are crazy, and jumped a lot. Do I need to a 12V pullup with a 1k resistor to make this work? Or is there something else I am doing wrong?
Schuyler is offline  
Old 05-24-2015, 12:43 PM
  #2  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

Originally Posted by Schuyler
I am attempting to add a resistive coolant temp sensor(...) to an analog input (EGO2) on the ms3x card

Do I need to a 12V pullup with a 1k resistor to make this work?
Yes, and they've made this easy for you.

(Oh, and it's 5v, not 12v. If you apply 12v directly to a CPU input pin, you'll probably kill the chip.)

(And you should use 2.49k rather than 1k, as that's the de-facto standard for MS pullups. This affects the calibration.)

Here's the MS3X schematic for the analog inputs:



R65, 66 and 67 are pullup resistors. Now, normally pullups aren't needed for inputs from things like MAP and EGO sensors, as these devices output their own positive voltage. So their presence on the schematic might seem odd until you look at the actual board itself:


(Image from DIYAutoTune)

See those holes labeled R65 through R67 right in the middle of the board? Very nice of the designers. Recognizing that people might want to use these inputs for other sensors, they provided a place for a pullup but left it unpopulated, as its presence would have interfered with the devices which those ports were originally intended for.

So all you gotta do is stick a 2.49k resistor into the spot marked R66, and you'll be good to go.
Attached Thumbnails Adding a resistive sensor-ms3x_schem2.gif   Adding a resistive sensor-ms3x.jpg  
Joe Perez is offline  
Old 06-09-2015, 09:33 PM
  #3  
Senior Member
Thread Starter
iTrader: (1)
 
Schuyler's Avatar
 
Join Date: Apr 2011
Location: Columbia, SC
Posts: 1,332
Total Cats: 87
Default

I read this, took the advice, and ordered resistors. But apparently I completely spaced and forgot to say thank you!

Appreciate it Joe.
Schuyler is offline  
Old 06-10-2015, 06:08 AM
  #4  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

You're welcome.
Joe Perez is offline  
Old 06-10-2015, 12:39 PM
  #5  
Junior Member
iTrader: (1)
 
leboeuf's Avatar
 
Join Date: May 2013
Location: Sandia Park, NM
Posts: 451
Total Cats: 50
Default

Schuyler, can you post the link to the oil temp sensor you're using?
leboeuf is offline  
Old 06-10-2015, 12:48 PM
  #6  
Senior Member
Thread Starter
iTrader: (1)
 
Schuyler's Avatar
 
Join Date: Apr 2011
Location: Columbia, SC
Posts: 1,332
Total Cats: 87
Default

http://m.ebay.com/itm/170849326469?nav=SEARCH

Got it at O'Reily, like that one though.

I'll post here confirming it works when I get the resistors.
Schuyler is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
bigmackloud
Miata parts for sale/trade
19
01-08-2021 11:24 AM
StratoBlue1109
Miata parts for sale/trade
21
09-30-2018 01:09 PM
slomiata
MEGAsquirt
5
10-07-2015 01:11 PM
Greasyman
General Miata Chat
2
09-28-2015 10:44 AM



Quick Reply: Adding a resistive sensor



All times are GMT -4. The time now is 07:42 PM.