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
Ultra Sound Sensor blocks:

Reading the distance:

Controlling the RGB LED(only for V2):

Demo Case:

Meowbit:
Load Robotbit Extension: https://github.com/KittenBot/meow-robotbit
Load NeoPixel Extension:
Ultra Sound Sensor Blocks:

Reading the distance:
Controlling the RGB LED(only for V2):
Extension Version and Updates
There may be updates to extensions periodically, please refer to the following link to update/downgrade your extension.
KittenBlock Coding Tutorial
Load Robotbit extension
Reading the distance:
Controlling the RGB LED(only for V2):
Last updated