Construction Of A Microcontroller Based Gate