automated light system using photo-sensitive switch pdf