Sonar:Bit Ultrasonic sensor for distance measuring

by ElecFreaks
$12.95

The Sonar:bit is an ultrasonic sensor module that works with 3 or 5 Volts. It can be easily used with only one 3-wire(GVS) cable, saving a wire from the usual 4- wire ultrasonic modules.

The measurement range of sonar:bit is 4cm-400cm. It can output stable and accurate measurement data with only ±1cm tolerance. You can use this module for measuring short distances on smart cars, robots, micro:bit and arduino.

Features


  • Input voltage:3V~5V
  • Enable to drive micro:bit or arduino directly.
  • Standard 3-wire GVS connecotr, which occupies 1 IO port only.
 

Definition of Pins


 

Introduction of Major Components


Transmitter

Transmitter is used to send ultrasonic signals.

 

Receiver

Receiver is for collecting ultrasonic signals.

MCU

This is the master chip for the sonar:bit.

Chip for Sending Signal

This chip is used to drive the transmitter to send out ultrasonic signals.

Chip for Receiving Signal

This chip is used to receive and process ultrasonic echo signals as well as give feedback to the master chip.

G-V-S Port

G-V-S port allows y

 

Quick Start


Hardware Connection

Connect sonar:bit to P2 port on sensor:bit and connect micro:bit to your computer.
Once completed, you can see the picture below:

Programming

Click to open Makecode online editor.

Write your program to assign the returned value of P2 to variable distance and display it on micro:bit screen.

You can see the whole program from the link here: https://makecode.microbit.org/_b7JL2Yd3q3Km

Or you can download it from the page below:

 

Result

We can see the distance in centimetres, between the sonar:bit and the object displayed on the micro:bit in real time. 

Application


 

Parameter


 

Dimension


Packing List


  • 1 x Sonar:bit
  • 1 x GVS Jumper Cable

 Document


Sonar:bit Guide