Video: AC Power as a Time Reference

I was wondering if AC Power could be used as a timing reference in an embedded system. I had planned to make a zero-crossing circuit and hook it to a frequency counter. But then I realized that there were some things that likely used AC Power for timing – the example that came to my head was an outlet timer! Check out my tear down below: