On Wed, Jun 18, 2014 at 04:44:49PM -0700, John Gardner wrote: > BAJ's approach is the way I'd do it. If accuracy is wanted, >=20 > have a look at the DS3231 & variants. I don't know if it's the right solution because the application of the sensor is unknown. Detecting light and dark is one thing. Detecting dawn and dusk is something completely different. BAJ --=20 Byron A. Jeff Chair: Department of Computer Science and Information Technology College of Information and Mathematical Sciences Clayton State University http://faculty.clayton.edu/bjeff --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .