Interfacing with 12-14 volt car signal
generator
Posts: 7
What is the simplest way to monitor a 12-14 volt automobile signal with a BS1 stamp. Some suggest a voltage divider. Some suggest a 7805 regulator. I want the simplest but SAFEST way to monitor a switched line in a vehicle.
Sorry for the noob question. I've been out of the loop for some time.
Sorry for the noob question. I've been out of the loop for some time.
Comments
The PIC has internal protection diodes which should shunt
any excess voltage to ground, as long as you keep the
current low.· Using a 22 Kohm resistor will keep the current
low enough for the protection diodes to do their thing.
Note that a car's 12V line is notoriously noisy, so you may
need a low-pass filter (capacitor with resistor) to reduce
some of the hash.
·
When using this resistor in series with the signal line will the internal diode fail over time. What is the max voltage that the input can take before I let the magic smoke out?
Also do you have any suggestions for cap and resistor values to filter engine noise?
An·alternative......, but not as simple as the resistor mentioned by allan.
Get a 2n3904 transitor. Connect the emitter to ground.
Connect the collector to the stamp +5 volt line THROUGH a 10k ohm resistor
Connect the collector to the stamp input pin.
Connect the base to the cars 12 volt line THROUGH a 47k ohm resistor.
When 12 volts is present, the stamp input will read 0 volts, and visa versa.
Post Edited (KenM) : 9/7/2004 12:19:07 AM GMT
If I am wrong about the safety feature then please let me know.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office