# Sound Sensor

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

This is a sound sensor that measures the loudness of sound in the environment and returns an analog value.

The range of the return value is 0-1023, a higher value means the sound is louder.

### Specification[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/sound.html#specification)

* Voltage: 3V\~5V
* Type: Analog Module
* Interface: 3 Pin Dupont Cable

### Wiring Diagram[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/sound.html#wiring-diagram)

```
This is an analog module, it can only use P0-P2.(Remove the buzzer jumper when P0 is in use.)
```

Connect the sensor to Robotbit’s pin and 3V pin.

![../../\_images/slider\_wire.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/slider_wire.png)

### MakeCode Coding Tutorial[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/sound.html#makecode-coding-tutorial)

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

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

#### This module can be used with Microbit and Meowbit.[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/sound.html#this-module-can-be-used-with-microbit-and-meowbit)

**Reading the loudness**[****](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/sound.html#reading-the-loudness)

#### Microbit:[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/sound.html#microbit)

![../../\_images/poten\_code.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/poten_code.png)

#### Meowbit:[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/sound.html#meowbit)

![../../\_images/poten\_codeMeow.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/poten_codeMeow.png)

### KittenBlock Coding Tutorial[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/sound.html#kittenblock-coding-tutorial)

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

#### Load the Robotbit extension[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/sound.html#load-the-robotbit-extension)

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

**Reading the loudness**[****](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/sound.html#id1)

![../../\_images/poten\_codekb.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/poten_codekb.png)

### Mu Editor Coding Tutorial[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/sound.html#mu-editor-coding-tutorial)

#### Reading the loudness[](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/sound.html#id2)

![../../\_images/poten\_codemu.png](https://kittenbothk-eng.readthedocs.io/en/latest/_images/poten_codemu.png)

[ Previous](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/slider.html)[Next ](https://kittenbothk-eng.readthedocs.io/en/latest/functional_module/outdated/infrared.html)<br>


---

# 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-eng.kittenbot.hk/functional_module/discontinued-modules/sound-sensor.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.
