# 扩展模块概要说明

Bittle 的嘴部被设计成一个夹子，可以用来固定可扩展的模块。 我们用一些流行的模块编译了一个传感器包，它的内容将来可能会发生一些变化。 基于 Arduino 和 Raspberry Pi 社区的丰富内容，您还可以连接其他附加组件。

您可以在我们的 GitHub 代码仓库中找到这些模块的演示代码。 如果您下载整个 OpenCat 代码仓，它们应该位于 [ModuleTests](https://github.com/PetoiCamp/OpenCat/tree/main/ModuleTests) 文件夹中。

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

![](/files/zfQYnQC5T4vnW0PkKs5f)[光线传感器](https://docs.petoi.com/v/chinese/kuo-zhan-mo-kuai/guang-xian-chuan-gan-qi)

![](/files/OQTNeyYqXae9mdoaP33c)[触摸传感器](https://docs.petoi.com/v/chinese/kuo-zhan-mo-kuai/chu-mo-chuan-gan-qi)

![](/files/GPjNEBXqGBp6SHuMOTai)[手势传感器](https://docs.petoi.com/v/chinese/kuo-zhan-mo-kuai/shou-shi-chuan-gan-qi)

![](/files/nCnMLz1MMoO9R3eyZKmG)[人体移动探测器](https://docs.petoi.com/v/chinese/kuo-zhan-mo-kuai/ren-ti-yi-dong-tan-ce-qi)

![](/files/CPW4jdzV7W02dfRVWdBL)   [MU - 视觉传感器](https://docs.petoi.com/v/chinese/kuo-zhan-mo-kuai/she-xiang-tou-mo-kuai)

![](/files/52Nmz79mdKX5RH435FSo)  [语音指令模块](https://docs.petoi.com/v/chinese/kuo-zhan-mo-kuai/yu-yin-zhi-ling-mo-kuai)（Bittle X中默认内置）

![](/files/ojHxQBOZcXO4ZHGrR0Zw)[超声波传感器](https://docs.petoi.com/v/chinese/kuo-zhan-mo-kuai/chao-sheng-bo-chuan-gan-qi)（适用于狸宝）

您也可以选购以下第三方传感器（比如矽递）:

![](/files/rI1cuNKvFkpEqNtpUrVz)

响度传感器和亮度传感器模块可以为相应的模拟信号生成[读数](https://github.com/PetoiCamp/OpenCat/tree/main/ModuleTests/test_Loudness_Light)，应连接到 Grove 插座上的模拟端口。 &#x20;

<img src="/files/N6NFg8fzUYahAdTog553" alt="" data-size="original"> [Grove - 声音/噪声传感器](https://www.seeedstudio.com/Grove-Loudness-Sensor.html)

<img src="/files/SgzgBzsKvn43PGgG8w1b" alt="" data-size="original"> [Grove - 光传感器 v1.2 - LS06-S phototransistor](https://www.seeedstudio.com/Grove-Light-Sensor-v1-2-LS06-S-phototransistor.html)

触摸传感器、反射式光电传感器、PIR 传感器可以生成数字 1 或 0 作为开关信号。 所以它们应该连接到Grove 插座上的数字端口。 在[演示代码](https://github.com/PetoiCamp/OpenCat/tree/main/ModuleTests/test_Touch_Reflection_PIR)中，我们使用标有 D6 和 D7 的数字端口连接传感器。

<img src="/files/2AsvQnmwUdMDnGi553uQ" alt="" data-size="original"> [Grove - 触摸传感器](https://www.seeedstudio.com/Grove-Touch-Sensor.html)

<img src="/files/p9diPzoVgn3uNDPwdGF3" alt="" data-size="original"> [Grove - 红外线反射传感器 V1.2](https://www.seeedstudio.com/Grove-Infrared-Reflective-Sensor-v1-2.html)

<img src="/files/VxgnNjry0olwL8K5AIwo" alt="" data-size="original"> [Grove - 人体移动探测器](https://www.seeedstudio.com/Grove-mini-PIR-motion-sensor-p-2930.html)

手势传感器、OLED显示屏和智能摄像头模块应连接到Grove 插座上的 I2C 端口。

<img src="/files/p3fkjZGgFkDeb4GCxfhf" alt="" data-size="original"> [Grove - 手势传感器(PAJ7620U2)](https://www.seeedstudio.com/Grove-Gesture-PAJ7620U2.html)

<img src="/files/rgTplwOX2eqBhdXXESJl" alt="" data-size="original"> [Grove - 0.96'' OLED 显示屏(SSD1315)](https://www.seeedstudio.com/Grove-OLED-Display-0-96-SSD1315-p-4294.html)


---

# 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://docs.petoi.com/chinese/kuo-zhan-mo-kuai/kuo-zhan-mo-kuai-gai-yao-shuo-ming.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.
