Ultrasonic Distance Sensor for Bit:Bot
Ready-Soldered, just attach to your Bit:Bot with the screws provided and off you go.
Use Microsoft PXT (or MicroPython) to read the distance to an obstacle, then program your Bit:Bot to avoid it.
Both Ping and Echo signals are on the same pin (Pin 15)
This accessory is available in 2 flavours:
- With the ultrasonic sensor soldered directly to the PCB
- With a socket soldered on the PCB that you can plug the sensor into
The sensor soldered into the PCB is much more robust and reliable, but has a big drawback in that you cannot access the micro-USB connector on the micro:bit unless you either remove the micro:bit or use a right-angled micro USB adapter.
Consider using the right-angled USB adapter with this option
The socketed version allows most USB leads to access the micro:bit, but it isn’t as robust.
Note: Bit:Bot not included