chinaguy
Posts: 43
Joined: Sun May 10, 2015 5:27 am
Location: Shanghai

Can't Bluetooth Pair with MicroBit

Sat Jul 06, 2019 4:36 am

I can not get the Raspberry Pi 3B+ running Buster to Pair with a BBC MicroBit(latest firmware 253), it keeps timing out. I can see the Microbit in the Add Device Window but the pairing requests Time Out.

Basically I want to use the MicroBit with Scratch 3.0 but can not connect the Microbit in the first place.
My other computer is a VIC20.

Pi-builder
Posts: 4
Joined: Thu Jul 11, 2019 8:16 am

Re: Can't Bluetooth Pair with MicroBit

Sat Jul 20, 2019 5:47 pm

As far as I am aware, the only way to connect between Scratch 3 and the BBC Microbit is to use the TSR program ScratchLink.exe which provides the interface between Scratch 3 and the Bluetooth Low Energy stack together with special firmware loaded onto the Microbit to implement the Microbit end of the BLE and ScratchLink protocol. This is what is used when you load the BBC Microbit extension to Scratch 3. it offers the 'When button pressed' (A, B, Any), 'When moved', 'When tilted', and 'When pin x connected' events plus the ability to send 5 x 5 matrix to the Microbit LEDS, and display scrolling messages on the Microbit LEDs. Essentially allowing basic support for using the Microbit as a peripheral to Scratch 3.

However, this is currently only available for a Windows PC and as yet not for the Raspberry Pi. It takes significant understanding of the BLE stack on the Scratch host system to implement it so I would suspect that it would require significant input from RPF to create a Pi variant of it. Furthermore, I have as yet not managed to locate the specification for the ScratchLink protocol.

I have already asked the question as to when it would be available for the Raspberry Pi in an earlier post and was told to ask MIT.


Peter

Andyroo

Re: Can't Bluetooth Pair with MicroBit

Sat Jul 20, 2019 5:59 pm

If you are happy with Python on the Pi then this may give you a starting point https://ukbaz.github.io/howto/ubit_workshop.html

Return to “Troubleshooting”