Pullup resistors
-
- Posts: 17
- Joined: Thu Mar 15, 2012 5:38 am
- ECU Model: S100 Pro
- Distributor: QED Motorsport
- Firmware Version: 78.01
Pullup resistors
Would someone mind explaining the whole pullup resistor thing? What's their purpose? How do you know if you need one or which one to use? TIA!
-
- Posts: 35
- Joined: Mon Aug 06, 2012 11:36 am
- ECU Model: S40 Pro
- Distributor: VW Speed Shop
- Firmware Version: 63
Re: Pullup resistors
If you use a resistive type sensor such as a oil pressure or oil temp into an input that looks for voltage then you need a pull up resistor and a 5 volt supply to give it the voltage dependant on the resistance of the sensor.
-
- Posts: 3588
- Joined: Tue Aug 02, 2011 12:08 pm
- ECU Model: No ECU
- Location: Norn Iron
Re: Pullup resistors
On topic, I was asked about 4 wire coils and a P8Pro.
What role does the pullup resistor have here, and where does it get wired in ? And what ohms would be needed ?
I think it goes between either 12v/5v and the ecu coil trigger ?
What role does the pullup resistor have here, and where does it get wired in ? And what ohms would be needed ?
I think it goes between either 12v/5v and the ecu coil trigger ?
Re: Pullup resistors
I guess you're talking about amplified coils.
The P8, opposed to the S- series, does not have internal pull-up resistors on the coil outputs, meaning that the outputs are floating when not active(off). As most amplified coils need a positive signal to fire them, you need a pull-up on the DTA coil output, and reverse the action.
Thus when not firing the coils, the outputs need to be grounded(on), when firing a coil the dedicated output turns off, and the pull-up resistor fires the coil.
A good starting point for a pull-up resistor would be 1K, or less. the smaller the resistor, the faster the switching time, but also the more heat it will produce. You'll also notice that when the DTA is configured for amplified coils, the case heats-up when the engine is not running.
Most coils do handle 12V on the trigger, but if it can't, then wire the pull-up one side on the +5V output(or use a resistor divider from +12V), and the other to the output.
The P8, opposed to the S- series, does not have internal pull-up resistors on the coil outputs, meaning that the outputs are floating when not active(off). As most amplified coils need a positive signal to fire them, you need a pull-up on the DTA coil output, and reverse the action.
Thus when not firing the coils, the outputs need to be grounded(on), when firing a coil the dedicated output turns off, and the pull-up resistor fires the coil.
A good starting point for a pull-up resistor would be 1K, or less. the smaller the resistor, the faster the switching time, but also the more heat it will produce. You'll also notice that when the DTA is configured for amplified coils, the case heats-up when the engine is not running.
Most coils do handle 12V on the trigger, but if it can't, then wire the pull-up one side on the +5V output(or use a resistor divider from +12V), and the other to the output.
-
- Posts: 17
- Joined: Thu Mar 15, 2012 5:38 am
- ECU Model: S100 Pro
- Distributor: QED Motorsport
- Firmware Version: 78.01
Re: Pullup resistors
Just to drag this back up....Efi Guy wrote:If you use a resistive type sensor such as a oil pressure or oil temp into an input that looks for voltage then you need a pull up resistor and a 5 volt supply to give it the voltage dependant on the resistance of the sensor.
So I have a 2-pin oil temp sensor which is 2800Ω @ 10ºC and 80Ω @ 120ºC
How do I determine which rating of resistor I need? Also, how do I then translate the temp/resistance scale I have into mV to use in DTA? Is it V = IR? If so, does the pull-up resistor determine the value of I?
TIA
Edit: Found some info here: http://www.autosportlabs.org/viewtopic. ... 93120bd144
Mentions a 5k resistor, others mention a 1k or even a 2.2k - does it actually matter? Similarly, some say bridge the two pins with the resistor, some suggest you just have it on Vin, which is it?
Amazed DTA manual/wiring sheet doesn't mention much on this.
-
- Posts: 3588
- Joined: Tue Aug 02, 2011 12:08 pm
- ECU Model: No ECU
- Location: Norn Iron
Re: Pullup resistors
Wiring diagram, bottom corner of page 6 mentions it.
http://www.dtafast.co.uk/Downloads/Wiri ... iagram.pdf
The actual resistance isnt important, but obviously it will have an effect on the reading. Unfortunately no real easy way of scaling it though without testing which for temperature sensors can be awkward.
http://www.dtafast.co.uk/Downloads/Wiri ... iagram.pdf
The actual resistance isnt important, but obviously it will have an effect on the reading. Unfortunately no real easy way of scaling it though without testing which for temperature sensors can be awkward.
-
- Posts: 17
- Joined: Thu Mar 15, 2012 5:38 am
- ECU Model: S100 Pro
- Distributor: QED Motorsport
- Firmware Version: 78.01
Re: Pullup resistors
Had a play with the Vout=(Rsens/(Rsens+Rpullup))*Vin formula in excel and basically it seems that the higher the pullup resistor, the smaller the voltage swing.
For instance, with a 5k resistor across the above sensor, the swing should be 1820mV to 78mV. With a 1k resistor, the swing should be 3705mV to 366mV. Playing further, I found that for this sensor, the optimal resistor with the biggest swing was a 480 with a 4282-707mV swing. Any smaller and it starts to go down again. The lower resistor will cause more current draw but I assume the higher voltage resolution will make the reading more reliable/accurate?
Regarding the actual scale, if you have a sensor with no scale info, just contact the tech support dept. of non-OE manufacturer and ask them for a copy of theirs. Plenty of sites out there that will cross-ref OE part numbers to aftermarket - and vice versa.
For instance, with a 5k resistor across the above sensor, the swing should be 1820mV to 78mV. With a 1k resistor, the swing should be 3705mV to 366mV. Playing further, I found that for this sensor, the optimal resistor with the biggest swing was a 480 with a 4282-707mV swing. Any smaller and it starts to go down again. The lower resistor will cause more current draw but I assume the higher voltage resolution will make the reading more reliable/accurate?
Regarding the actual scale, if you have a sensor with no scale info, just contact the tech support dept. of non-OE manufacturer and ask them for a copy of theirs. Plenty of sites out there that will cross-ref OE part numbers to aftermarket - and vice versa.
Re: Pullup resistors
On which pin will it be connected, Ana1-3, or oil temp input?
The dedicated oil temp sensor input on the S80, does not need(has it internally) a pull-up resistor.
Thus, which input will you be using for that sensor?
The dedicated oil temp sensor input on the S80, does not need(has it internally) a pull-up resistor.
Thus, which input will you be using for that sensor?
-
- Posts: 17
- Joined: Thu Mar 15, 2012 5:38 am
- ECU Model: S100 Pro
- Distributor: QED Motorsport
- Firmware Version: 78.01
Re: Pullup resistors
Unless I'm going mad, can't see that mentioned in the manual or wiring diagrams? Makes sense though, seeing as there's a few pre-defined sensor scales - made me wonder why they hadn't specified a resistor to use anywhere.MarcoV6T wrote: The dedicated oil temp sensor input on the S80, does not need(has it internally) a pull-up resistor.
So I take it that is true for all the temp. sensor inputs? Is it a 1k internal pullup like the coils (so i can figure out the scale)?
Re: Pullup resistors
DTA uses a 1K to 5v on any pin thats for temperature.