Ultrasound and Sound Module

This module combines ultrasound sensor and a microphone into the same module.

The ultrasound sensor is used to measure the distance of objects, the microphone is used to measure the loudness.

Details

Specifications

  • Voltage: 3V-5V

  • Dimensions: 56mm X 24mm X 16mm

  • Connector: 4Pin PH2.0

  • Ultrasound Detection Range: 4cm-200cm(Recommended)

  • Analog Return Value Range: 0-1023

Precautions

  • Ultrasound works better on items with smooth surfaces, the smooth surface should be perpendicular to the module.

  • Ultrasound emits signal in the shape of an arc, make sure there is no obstacle in the signal range.

  • The microphone only determines loudness of a sound, it can’t measure decibels. Measuring decibels require professional equipment.

Connecting the module

Connect the Ultrasound Module to Armourbit with a 4Pin cable.

MakeCode Coding Tutorial

Load Powerbrick Extension:

https://github.com/KittenBot/pxt-powerbrick

Ultrasound Module Blocks:

Measuring distance

Sample Programarrow-up-right

Measuring ambient noise

Sample Programarrow-up-right

Makecode Video

Demo Video

Extension Version and Update

There may be updates to extensions periodically, please refer to the following link to update/downgrade your extension.

MakeCode Extension Update

KittenBlock Coding Tutorial

Load Powerbrick Extension

Select Powerbrick from the hardware column.

Ultrasound Module Blocks:

Measuring distance

Sample Code Downloadarrow-up-right

Measuring ambient noise

Sample Code Downloadarrow-up-right

FAQ

1:Why is there no reaction when I click the blocks?

Make sure you have connected the Micro:bit correctly and flash the firmware again.

Last updated