How I think I will make a automatic door is to have a ultrasonic sensor on the top. The NXT brick will have a calibrate function in the beginning of the program to calibrate the ultrasonic sensor value. Then if the ultrasonic's sensor value changes, open the door and leave it open for 5 seconds after the value goes to normal. Then repeate.
I just need to base structure...
