At89c2051 Projects - Interfacing with motion sensors or magnetic door switches to trigger a buzzer when a circuit is broken. Key Components for Your Circuit Goodbye! Have a great day! Let me know!