MicroBle is an interface adapter between Windows PC and micro:bit using BLE(Bluetooth low energy). It allows you to quickly add the micro:bit to your game as a gamepad without writing code. To use the micro:bit's accelerometer and LED screen, you need to write code in purchased assets to the micro:bit and create Unity scripts by referencing sample code. This way, you can use the x, y, and z acceleration data of the accelerometer and LED screen data in your game.
Features:
- The package includes micro:bit code to obtain x, y, and z acceleration data from the micro:bit.
- Read accelerometer data from the micro:bit, convert it to a byte array, and transfer it to Unity using BLE.
- The package also includes micro:bit code to receive LED screen ON/OFF data.
- Unity 3D object 'glasses' for displaying accelerometer data and Inputfield/Button for displaying LED screen data.
- Unity script example to receive acceleration data from micro:bit and send LED screen data to micro:bit.
Requirements:
- Unity 2022.3 or newer
- Windows PC (Windows10) with Bluetooth low Energy Adapter
- BBC micro:bit Version 1.x (not compatible with 2.x)
- Arduino IDE for setting up the development environment
- Transfer array data up to 64 bytes between Windows PC and micro:bit by modifying the Unity script example and micro:bit code.
If you encounter any issues, contact the author for assistance.
BLE(Bluetooth low energy) works on PC Windows





