I have a project that I think would be best served by a PIC. It wll require a 24 hour timer, a light sensor to detect sunrise and sunset. It will need to do a basic math function to determine how many hours of darkness there will be. The output would need to controll a relay with 120v...