# Sugar二期 Sugar Cam

<figure><img src="/files/ADf9mEkd8FiZfFcMgeVc" alt=""><figcaption></figcaption></figure>

這是一個具備WiFi功能的智能FPV鏡頭。模組主打具備IP Cam功能，可以透過WiFi實現圖傳。模組亦都具備拍照，二維碼掃描，錄音、播放和MQTT等功能。適合應用於遙距監控錄影、WiFi小車，掃碼等的應用場景中。

### 產品參數

* 主控芯片: ESP32-S3
* 工作電壓: 5V
* 工作電流: 500mA
* 像素: 200萬
* 接口: USB Type-C，4pin防反插
* 尺寸: 40x40x16mm
* 內置資源: 可編程按鍵\*2、RGB彩燈\*2、MEMS咪高峰、喇叭、MicroSD卡插槽
* 支援主控板: Micro:bit、未來板

### 產品詳細

<figure><img src="/files/w2CZcIDm09qvmLJicpqW" alt=""><figcaption></figcaption></figure>

### 功能一覽

* WiFi圖傳
  * KittenBlock、未來板、網頁顯示實時影像
* 人工智能現象辨識
  * 配合KittenBlock AI插件
* 二維碼掃描
* 拍照儲存
* 錄音播放
* 語音辨識
* 彩燈控制
* 按鍵編程
* 網頁遠端控制

### 使用教學

#### WiFi設定

收到模組的第一步就是設定模組的WiFi網絡。

首先使用USB Type C線將模組連接電腦。

<figure><img src="/files/loJL03GcIwAWQmZRiEVp" alt=""><figcaption></figcaption></figure>

在電腦上會出現一個名為Sugar-Cam的USB盤。打開裡面的config.json檔案。

```
用任何文字編輯器都可以打開。
```

<div><figure><img src="/files/40choPn3e8qyX1ftp6fU" alt=""><figcaption></figcaption></figure> <figure><img src="/files/jenh7p9QnQCkYxDVc1EU" alt=""><figcaption></figcaption></figure></div>

將WiFi名稱和密碼輸入到ap和password裡面。

<figure><img src="/files/SaCVA77ZFg1HhJc1uDCX" alt=""><figcaption></figcaption></figure>

儲存後模組會重啟，當指示燈顯示綠色就代表成功連接網絡。

<figure><img src="/files/pJv0GGI95R0thqobL5P4" alt=""><figcaption></figcaption></figure>

### 模式切換

要切換模式的話，只要將config.json的model改為相應的模式就可以。

* 指令模式: commandProcessing
* 遙控模式: remoteControl

<div><figure><img src="/files/SGGZRSwrIIW5tlW1f8Ki" alt=""><figcaption></figcaption></figure> <figure><img src="/files/i4wDcLGLYPmVhzyc0Qqa" alt=""><figcaption></figcaption></figure></div>

### 固件更新

Kittenbot會不時對模組進行更新，固件更新步驟如下。

下載固件更新檔案:

{% file src="/files/BGt4yu6NZQ7bis2OJ4KA" %}

首先將模組用USB線連接到電腦。

<figure><img src="/files/loJL03GcIwAWQmZRiEVp" alt=""><figcaption></figcaption></figure>

將rar檔裡面的檔案全部複製到模組的USB盤上。

<figure><img src="/files/za38UXg2wo0pdWtvzdsI" alt=""><figcaption></figcaption></figure>


---

# 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/functional_modules/sugar/sugarcam.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.
