The design and technology site the sensor circuit can be clearly seen at the back of the model house circuit diagram below a micro switch is activated as the front gate opens and this ccuart Image collections