> For the complete documentation index, see [llms.txt](https://sharinghub-eng.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub-eng.kittenbot.hk/educational-kit-sets/micro-bit-inventor-education-kit/micro-bit-inventor-kit-instructions/electric-gate.md).

# Electric Gate

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/gate.png)

### Building Instructions

[Building Instructions](https://drive.google.com/drive/folders/1wg_edUZFrqyUONA0FJ6vFBkGArRsfnf4?usp=sharing)

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/gate_wire1.png)

### Sample Program

{% embed url="<https://makecode.microbit.org/_b8s5xLE59eqC>" %}

[Sample Program](https://makecode.microbit.org/_b8s5xLE59eqC)

### Instructions

The gate closes and the person needs to wait for a while to gain access, press A to view the number of people who passed this gate.
