...Vped- how do I determine the correct resistor size?...
...If the illumination is an incandescent bulb, just read the bulbs resistance with an ohm-meter and get a similar resistance resistor...
This won't work for incandescent. A filament light bulb is a Positive Temperature Coefficient Resistor, meaning it starts at nearly zero resistance when cool and then climbs in resistance as it gets warmer, until it reaches the designed equilibrium power for the voltage. If it's incandescent, you need the wattage of the bulb, then divide that by the voltage - that will give you the current of the light bulb at design rating. Then use Ohm's law to figure out what resistor you need in order to "consume" the extra voltage of the system over the design voltage of the incandescent bulb:
28.8 (alternator running)
-14V (light bulb)
=14.8V
14.8V / (lamp current) = RequiredResistance
Then take the resistor's voltage (14.8 here) tie the current to get the power the resistor needs to be rated for, example:
1watt 12v lamp = 83.333miliamps (0.083333Amps)
28.8 - 12 = 16.8V for the resistor to "consume"
16.8 / 0.083333 = 201.6Ohms
Look up a
standard resistor value that is equal or just above that value (less resistance = less voltage consumption and will over-volt your bulb). I use 5% or 10% because they are cheaper and more common...
Closest one is 220 Ohm.
16.8 * 83.333miliamps = 1.4Watts
Again pick a resistor that is rated equal (bare minimum) or higher power (better) that this value. Resistors turn energy directly into heat, the power rating is what power the resistor can safely dissipate into the environment around it - you can imagine what happens if you undersize this (think electrical fire).
I your switch has an LED inside it, try taking one apart, they usually already have a current limiting resistor, and you can just put in a different one and keep it clean. Most small LEDs are good for 20miliamps, and any range from 15-20 will work fine - too little and it may have a color shift or not light, too much and you will have a color shift as it overheats and it'll burn out quickly.