They make specialized capacitors that are meant to deal with AC mains often called "AC suppression capacitors" - usually rated at 400 or 630 VAC and are constructed with an integral safety "fuse" inside so to speak.Capacitors frequently fail as shorted, which would cause full mains power to be applied to the circuit, which would be very unsafe. It cannot be made safe unless there is some form of transformer to isolate the circuit from mains power.
It would be preferable for you to use a neon indicator that contains the appropriate resistor already, as they will be UL approved.Ok, I found Mouser has some Neon bulbs I would like to try.
http://www.mouser.com/Catalog/catalogusd/642/112.Pdf
Can anyone tell me what kind of a circuit I need to drive them? I have never worked with a neon bulb before so I don't know what they take.
by Robert Keim
by Aaron Carman
by Duane Benson
by Aaron Carman