I'm trying to convert 12v from an ignition live down to around 3.5v which will be an input into my ecu. I've been looking up how to do it
and have come across this circuit diagram that uses an LM317 and a potentiometer. While I can make this circuit easily enough can I not just use a
potentiometer in series to reduce the voltage?
a stable voltage using the circuit you have detailed is much, much better than just a series resistor/potentiometer , though I would have thought
using a simpler 7805 (5V max 1A) would be the way to go.
ps, don't forget a heatsink for the regulator
[Edited on 3/4/15 by gremlin1234]
Ok, thanks for the help. I assume the only difference is the 7805 is a maximum 5v so it won't go above and damage anything?
7805 is a fixed 5V regulator, so requires less external components than a 317 (variable voltage)
common 7805 circuits deliver a max current of 1Amp.
If you really do require 3.5 volts, I would stick with the 317.
If 5 volts is ok, go with the 7805.
HTH
Len.
Yes definitely need around 3.5v. I need to stimulate about 80 percent on the tps to fool an ecu into open loop.
Using a potentiometer will simply split the input voltage, and with an average car circuit going between 11 and 15 volts there would be a corresponding change in output (probably not good for an ECU). The LM317 puts out a fixed voltage as long as the input voltage stays within the operating range.
quote:ah, if its just a voltage to an input, then 317 is the way to go, you can get very low power versions on these, and you won't need a heatsink.
Originally posted by Davegtst
Yes definitely need around 3.5v. I need to stimulate about 80 percent on the tps to fool an ecu into open loop.
Hi, Is there not already a 5V supply coming from the ECU that supplies the TPS? I did something similar and just made a voltage divider using 2
resistors between the pins on the ECU.
Cheers
Marc
If it's a 5v feed to the TPS and you just want to fool the ECU (not actually draw power to run something) just use two resistors.
1.8k (1800 ohms)
820 ohms
Wire them like this:
5v ----[ 820 ] -----*------- [ 1.8k ]----- 0v
Connect the TPS input to the ECU to where the star is.
You should see 3.43v which should be close enough?
Cheers, Chris
Trouble is its very sensitive to the voltage. I haven't checked exactly what voltage I need yet but 4v is too much and 3v won't put the car in open loop. I need the potentiometer to set the voltage just right.
quote:
If it's a 5v feed to the TPS and you just want to fool the ECU (not actually draw power to run something) just use two resistors.
1.8k (1800 ohms)
820 ohms
Wire them like this:
5v ----[ 820 ] -----*------- [ 1.8k ]----- 0v
Connect the TPS input to the ECU to where the star is.
You should see 3.43v which should be close enough?
Cheers, Chris
This had definitely only got one 0 to 5v input. It also starts at 12 percent and stops at around 80 percent. If the ecu sees anything above 80 or below 12 percent it brings on the check engine light.
quote:
Originally posted by Marcos Controls
also, most ecus use 2 different TPS inputs. one reading 0-5V while the other mirrors it reading in reverse from 5-0V. Cross-checking I believe it's called. It's to prevent you losing throttle control if one of the two potentiometers fail, but I'm no expert and please someone correct me if I'm mistaken.
Just a quick point, really you should have a lot more supporting circuitry not just the 7805 in a harsh environment like a car electrical system.not unusual to see spikes much higher than the 7805 Max input voltage for example, plus you want protection from a failed 7805 taking out other systems. If its going into a known load and fed from a known preconditioned power source you may be OK, but then you may be OK with just a pot too in that case.
I made it today using an lm317. It works perfectly, thanks for all your help.