# 口罩佩戴偵測器說明書

在抗疫期間，佩戴口罩成為市民大眾的習慣，不同場所也規定要佩戴口罩才可入內。這個案例模擬了口罩檢測閘門，只許有口罩的人士進入。

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

### 教材資源包下載

包括說明書： [資源包下載地址](https://bit.ly/AIHealthCareSetBuildingGuide)

### 參考接線

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

### 參考程式

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

[參考程式](https://makecode.microbit.org/_P6WfVTHJ0Eo6)

### 模型玩法

1. 打開電源後，等待10秒讓KOI完全開機。
2. 按下Microbit的A按鍵，KOI偵測到戴上口罩的人臉時，大閘會打開。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sharinghub.kittenbot.hk/kits/aihealth/infokoi2/maskgate.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
