Thanks so much for the quality replies.
For a few bucks I would just get a
5V DC Wall Power Adapter UL Listed Power Supply (5-Feet, 5V 500mA) and call it a day. You get a line isolated power supply already enclosed. I have seen them for under $4 USD. While I have several in a bucket if I wanted what you seem to be looking for I would just use a wall wort to drive a DI on your Arduino. I would also place a bleeder resistor at the DI.
Ron
I would definitely go your way Ron if I was only sensing one AC line, but I will be doing over twenty just for starters.
Cheap wall power adaptors are available, but the reviews are poor at best. I would like something that will last for years.
Based on the comments above, the following image is my suggestion.
My electronics knowledge is quite basic.
What value and wattage should R2 be?
I have lots of diodes for D1, D2, D3, and D4.
They are 1N715, 1N829, 1N914, 1n4005, and 1N4004.
Which one do you think or something else?
Should I add a cap from the rectifier output to ground?
As an afterthought, I wonder if a neon light and a phototransistor combo might be a simpler, cheaper, better solution. If you think so, could you please suggest a part number for each.
Thanks.