Any USB device will identify itself on connection to the host computer. It does this by three numbers, the Vendor ID (VID), the Product ID (PID) and the serial number (SERNO).
For the micro:bit, this is
VID: 0x0d28
PID: 0x0204
SERNO is unique for each micro:bit and baked into the Nordic Semiconductor nRF processor. It will be prepended with four digits that represent the version number of the micro:bit board.
micro:bit version | Board ID |
---|---|
v1.3 | 9900 |
v1.5 | 9901 |
v2.0 | 9903 (reserved), 9904 |
v2.20 | 9905 |
v2.21 | 9906 |
This information is generated by the DAPLink firmware running on the KL26/KL27 interface processor on the back of the micro:bit board.
Plug your micro:bit in via USB to view these details:
Windows 10/11
- Right-click the Start button and select "Device Manager" or start to type "Device Manager" in the search bar next to the Start button.
- Scroll down the list to find "Universal Serial Bus devices", and click on the greater-than arrow to expand the list.
- Select the CMSIS-DAP v2" device. You may also see WebUSB: CMSIS-DAP
- Right-click on Properties.
- Click on the Details tab.
- Select Hardware IDs from the Property field dropdown.
Mac
- Open System Information
- Scroll to USB in the hardware dropdown menu
- Select the "BBC micro:bit CMSIS-DAP" device
Chrome OS
An article in Google Support describes the process of adding USB devices to an allow-list
Keywords for search: VID, PID, allow-list, allow, identification, ID