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
The sensor socket that ships with the bit:bot is really fragile - in class we had 6 out of 10 break off through fairly normal wear and tear. The design fault is that the socket is right in front of the micro:bit socket - inserting the micro:bit and/or cable stresses this socket.
I would recommend the soldered sonic ALONG WITH the 90 degree usb adapter for classroom situations - seems way more robust on what otherwise is a pretty snazzy device. can you order them up-front with this combo? If not, why not?