I'm pretty sure your dash lights don't run from -12V (relative to the car's chassis) because that would require a DC-DC inverter to invert the battery voltage. Sometimes, +12V is supplied continuously and the ground is switched/connected to turn the light on.
If you really needed to detect the presence or absence of -12V, that could be done with an optical isolator. Or, it could even be done with a relay. That's easier than actually inverting the voltage.
-12volt can also be detected with a simple voltage divider.
e.g with a 10k pull-up resistor to 5volt, and a 33k resistor to -12volt.
0volt will read as "high", and -12volt will read as "low".
I also have never seen a car with a +12volt and -12volt system.
Leo..
You say "some things need a top switch or current sourcing" that means you have to supply +12 to them as the other end is already connected to ground.
And "some things need a bottom switch or current sinking" that means one end is already connected to +12V and you have to switch the other end to ground.
Grumpy_Mike:
You say "some things need a top switch or current sourcing" that means you have to supply +12 to them as the other end is already connected to ground.
And "some things need a bottom switch or current sinking" that means one end is already connected to +12V and you have to switch the other end to ground.
ok thanks now i know the correct terminology
how would i go about sensing something with a bottom switch ?
should i use a Relay or an Optical isolator or maby Voltage divider
or something completely different ?
I would favor an optical isolator. Wire a resistor to 12V then to the opto. then the other end of the opto to your device, so that when it gets connected to ground so does the opto. Then wire the output of the opto, emitter to ground, collector to the Arduino input and enable the internal pull up resistors.