Ultrasound Sensor

This is an ultra sound distance sensor.

Specification

  • Voltage: 5V

  • Working Temperature: -25 ~ +80°C

  • Signal Span: 30° Arc

  • Detection Range: 5~300cm (Error<1cm)

  • Interface: 4Pin Dupont Cable

Wiring Diagram

Robotbit EDU

Robotbit 2.2

The Ultra Sound sensor must connect to 5V.

Ultra Sound Sensor V2

Connect the A(RGB LED) and D(Sensor) pin of Ultra Sound Sensor V2.

Ultra Sound Sensor V1

Connect the Ultr pin of Ultra Sound Sensor V1.

MakeCode Coding Tutorial

This module can be used with Microbit and Meowbit.

Microbit:

Load Robotbit Extension: https://github.com/KittenBot/pxt-robotbit

Importing Extensions Tutorial

Ultra Sound Sensor blocks:

Reading the distance:

Sample Code Link

Controlling the RGB LED(only for V2):

Sample Code Link

Demo Case:

Sample Code Link

Meowbit:

Load Robotbit Extension: https://github.com/KittenBot/meow-robotbit

Load NeoPixel Extension:

Ultra Sound Sensor Blocks:

Reading the distance:

Sample Code Link

Controlling the RGB LED(only for V2):

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

KittenBlock Coding Tutorial

Load Robotbit extension

Reading the distance:

Controlling the RGB LED(only for V2):

Last updated