I haven’t explicitly tried to read data through the USB-C connector on a Pi. It has been a while since I’ve used a USB for this purpose, and if I had to guess, you might need a serial-to-USB converter. Give it a go without though, and if it doesn’t work you might need one!
Would it be possible to do this without the Pico2 or similar device to program and read data and instead connect the BU03 development boards through their USB C ports? Maybe holding the “boot” button when connecting to the “TTL” usb port is needed but I haven’t figured it out yet.
Hi there, @Dikran305382, and welcome to the forum, glad to have you here.
I’m a little unsure what you mean by connecting the two BU03 boards together.
Do you mean connecting the BU03 device directly to the computer without a microcontroller?
If so, it would be possible, although I wouldn’t use the USB-C port so much as I would get a USB-to-Serial Connecter, wire the UART pins like below, and flash the BU03 directly from the computer.
I meant connect the boards (one at a time) directly to a computer using the USB C ports instead of the pins.
I played around with it some and could send AT commands when connected to the USB C port labeled “TTL” on the BU03 board! Once the boards were programmed as anchors/tag you can read the distance data through the other USB C port that’s labeled “USB” on the board. I’ll share some code later for whoever finds that easier than using the pins!