I have a spst lighted switch that uses a 12vdc lamp (led w/ resistor). It's just a basic three terminal switch, one is n.o., one is common, the other is +12vdc for the lamp. I'm trying to design a circuit that's a basic as possible to drop the 115vac down to 12v. I was thinking of a capacitor in series as the current limiting element feeding a diode as a half-wave rectifier feeding a 12v zener & cap. I know design wise using a capacitor in this manner is very poor given that if it shorts line voltage will be present through the entire circuit, but in this case it is merely for a plastic switch in a plastic enclosure. Worst case, the cap shorts, it blows the led & zener & the circuit goes open. I could even put a solder terminal fuse in the circuit to make sure it doesn't catch fire. This isn't for a finished product or anything, it's just a remote switch for my tesla coil, & I'd like to have the lamp work in the switch to show if line voltage is present. I don't think I can use a full wave rectifier in this case because the diode is connected to the center terminal, wich is line neutral. Wouldn't using a full wave make the ground point lower than ac neutral? I have trouble desiging circuits, all help is appreciated.
Thanks, Steve