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
500+ posts

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

how do you use micro bit?

CTR+SHIFT+DOWN

First of all, i love mega man
Second of all i dislike dhar mann
Third of all i am trying to get to 1000+ posts
Megalovania is overrated i dont care what you guys say
I make music
I also share my music on my profile so check them out
I use beepbox (DUH)
I live in virginia
I am straighter than a line
when green flag clicked
forever
play sound [MEGA MAN MUSIC v]
end
trassl
Scratcher
2 posts

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)

Mr_funn
Scratcher
3 posts

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

when green flag clicked
broadcast [lol v] and wait
when green flag clicked
if <[lol] = [receive]> then
play sound [meow v] until done
end
han614698
Scratcher
1000+ posts

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

Hello there! Please don't blockspam & necropost.

<Scratch Wikian | Forum Helper | Almost to 6000 Posts! | Please be aware I may mistype things, my wrist is fractured>

Credit to -gge for the icons in my signature | I condensed all this code into five lines using [p] tags, idk why




Barthdry
Scratcher
500+ posts

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

Powered by DjangoBB