A friend of mine picked up a neon sign and asked if I could help him animate the separate letters with a micro-controller. I did one project a while back where I switched on a large 110VAC water pump with a uC and a large Solid State Relay (SSR), which worked fine. However it seems that with the high voltage transformer and neon tube there is some magnetic issues to consider. I found this article here that recommends switching at the 60 - 90 phase of the incoming 110VAC power.
http://www.allanson.com/wp-content/uploads/Product_PDFs/Flashing_Animating_apps.pdf
There are some interesting graphs in there.
In order to know the phase of the incoming power I was considering a circuit like this:
I would sample the voltage at at the RC0/AN4 pin to know the phase of the AC power. Does this seem like a reasonable approach?
http://www.allanson.com/wp-content/uploads/Product_PDFs/Flashing_Animating_apps.pdf
There are some interesting graphs in there.
In order to know the phase of the incoming power I was considering a circuit like this:
I would sample the voltage at at the RC0/AN4 pin to know the phase of the AC power. Does this seem like a reasonable approach?