Sound Sensor

../../_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

  • Voltage: 3V~5V

  • Type: Analog Module

  • Interface: 3 Pin Dupont Cable

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

MakeCode Coding Tutorial

../../_images/mcbanner.png

../../_images/acbanner.png

This module can be used with Microbit and Meowbit.

Reading the loudness

Microbit:

../../_images/poten_code.png

Meowbit:

../../_images/poten_codeMeow.png

KittenBlock Coding Tutorial

../../_images/kbbanner.png

Load the Robotbit extension

../../_images/addRB.png

Reading the loudness

../../_images/poten_codekb.png

Mu Editor Coding Tutorial

Reading the loudness

../../_images/poten_codemu.png