Discuss Scratch

mobluse
Scratcher
100+ posts

Connect BBC micro:bit to Scratch 2 via only radio waves (Bluetooth LE)

Connect BBC micro:bit to Scratch 2 via only radio waves (Bluetooth LE)
===========================

Video with BBC micro:bit wirelessly connected to Scratch 2: https://vimeo.com/213841640 (1 min)

Video about choosing Microbit in S2Bot 4 Scratch: https://youtu.be/W4B8IywVtRQ (2 min). S2Bot 4 Scratch is a free add-on to Chrome (and Chromium). I've gotten it to work now on Raspberry Pi 2 with the Bluetooth dongle BLED112 & Scratch 2 in Chromium, but not in Chrome in Windows 10. Others have the same problem: http://www.picaxeforum.co.uk/showthread.php?29947-S2Bot-app-connecting-(but-not-working)-with-Micro-bit-on-Win10&p=310775 . A hypothesis about what the problem is: maybe Chrome (x64) in Windows10 is newer than Chromium with Flash in Raspberry Pi and that S2Bot is not updated. Their hypothesis that it would be due to other BT gadgets might not be correct, because I have turned off all other BT gadgets including the Windows10 computer's internal and it works in Raspberry Pi in the same place.

I have made a demo program. You fly a balloon by tilting and changing backdrop back and forth with buttons A and B, respectively. You use the Microbit as a remote control which can display (scrolling) text and play audio (if you have connected a speaker).


You must use a Bluetooth dongle with a certain chip, emulating a serial port: BLED112.

However, on Chromebook you can use the built-in Bluetooth. BLED112 already has Windows and Raspbian drivers built-in (and it seems to be possible to make it work in Mac OS X). However, BLED112 is not perceived as a BT dongle but as a serial port.

They should extend the S2Bot so that it can also handle the pins and the display in more detail. Now you can only write scrolling text with ASCII characters - for example ÅÄÖ does not work, and you can use a speaker (if you connect one). It would also be an advantage if it could use Raspberry Pi 3 and Zero's internal Bluetooth, as well as other computers' internal BT4.

Last edited by mobluse (June 15, 2017 20:48:36)


Rita8696
New to Scratch
1 post

Connect BBC micro:bit to Scratch 2 via only radio waves (Bluetooth LE)

I am having same problem. Windows 10. Blue tooth recognizes the Microbit but the S2Bot app isn't recognizing the Microbit. I was told at Microcenter that I could use any bluetooth. That does not appear to be true
mobluse
Scratcher
100+ posts

Connect BBC micro:bit to Scratch 2 via only radio waves (Bluetooth LE)

There is an alternative system that works in Windows 10 for me, but that uses the USB cable and not Bluetooth:
https://mryslab.github.io/s2m/

https://github.com/MrYsLab/s2m

EAGLESPRINTER2000
Scratcher
8 posts

Connect BBC micro:bit to Scratch 2 via only radio waves (Bluetooth LE)

how do you use micro bit?
trassl
Scratcher
1 post

Connect BBC micro:bit to Scratch 2 via only radio waves (Bluetooth LE)

How to Download S2m

Last edited by trassl (Nov. 30, 2020 14:46:48)

Powered by DjangoBB

Standard | Mobile