design and construction of a microcontroller based automatic fence light controller