Sonar:bit is an ultrasonic module with 3-5V voltage range. It can be used with 3.3V or 5V micro-controller systems only requiring a single 3-wire(GVS) cable. Compared to normal 4-wire ultrasonic modules, this saves one IO port. The measurement range of sonar:bit is 4cm-400cm. It can output stable and accurate measurement data with ±1cm tolerance. You can use this module for short-distance measurement, smart cars, robots, micro:bit and Arduino instruction, etc..
Definition of Pins
Introduction of Major Components
Transmitter is used to send ultrasonic signals.
Receiver is for collecting ultrasonic signals.
This is the master chip of 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 allows external device control.
Connect sonar:bit to P2 port on sensor:bit and connect micro:bit to your computer.
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:
We can see the distance between sonar:bit and the object is displayed on micro:bit in real time. The units are in centimeters.
We spend a lot of time with educators, and one thing we noticed is that...
Click Me to Download the Instructions for this kit. The Servo Kit for micro:bit makes...
CLICK ME TO DOWNLOAD THE INSTRUCTIONS FOR THE SERVO KIT FOR MICRO:BIT. The MonkMakes Servo for...
This tiny board has a standard DC barrel jack socket at one end and provides...