design and construction of an automatic emergency light circuit