microcontroller based automatic fence light controller