Powerbrick 10-in-1 Kit - 06 Ultrasound and Sound Module

 Go back to Product Documents Navigation 

 Go back to Powerbrick 10-in-1 Documents Navigation 

 

 

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

 

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

Loading Extensions

Environment Module Blocks:

Measuring distance

 

Sample Code Link

Measuring ambient noise

 

Sample Code Link

Extension Version and Updates

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

Makecode Extension Update

Makecode Tutorial Video

 

KittenBlock Coding Tutorial

 

Load Powerbrick Extension

Select Powerbrick from the hardware column.

 

Environment Module Blocks

 

Measuring distance

 

Sample Code Download

 

Measuring ambient noise

 

Sample Code Download

 

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.

 

 

If you have any question, please feel free to contact us at Discord, we will always be there to help.

 

KittenBot Team

 

 Go back to Product Documents Navigation 

 Go back to Powerbrick 10-in-1 Documents Navigation 

 

Leave a comment

Please note, comments need to be approved before they are published.