design and construction of an automatic night lamp pdf