> For the complete documentation index, see [llms.txt](https://sharinghub.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.kittenbot.hk/kits/ai_recycle/tutorial_koi2.md).

# AI/AIoT 智能回收箱套件教學(KOI 2)

### 資源下載

[音效檔下載](https://drive.google.com/file/d/1GEJpytMGa4GYDSfpvDlvfwSC0fG-qENg/view?usp=sharing)

[參考圖檔下載](https://drive.google.com/drive/folders/1l27lVZQ-IEcx-_u2yh-VkV3N75coOGbE?usp=sharing)

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

### 模型訓練參考程式

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

[Armourbit版參考程式](https://makecode.microbit.org/_9cYWWg5kwJ2C)

[Robotbit版參考程式](https://makecode.microbit.org/_4c99hoUu71bC)

#### 訓練方法

1. Micro:bit會顯示目前的分類。
2. 按A對現時分類進行訓練。
3. 按B跳到下一個分類。
4. 按A+B儲存模型。

### AI智能回收箱參考程式

{% hint style="info" %}
KOI 2播放聲音檔案需要 class10 或以上的micro SD卡才可以播放。
{% endhint %}

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

[Armourbit版參考程式](https://makecode.microbit.org/_A465ksKCq4ia)

[Robotbit版參考程式](https://makecode.microbit.org/_63ei2YUhoVzg)

#### 辨認方法

1. 按A啟動辨認功能。
2. KOI會說出辨認到的垃圾類別，然後打開相應的回收箱。
