Is it possible to connect some micro:bit to raspberry

Questions and discussion about running MicroPython on a micro:bit board.
Target audience: MicroPython users with a micro:bit.
Post Reply
syl
Posts: 1
Joined: Thu Oct 15, 2020 9:03 pm

Is it possible to connect some micro:bit to raspberry

Post by syl » Thu Oct 15, 2020 9:05 pm

Hi,
I would like to connect 10 micro:bit(new version or the old one) to a rasberry at the same time. Do you think it's possible with bluetooth ? Or some other way?
Thank you !

User avatar
jimmo
Posts: 1908
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: Is it possible to connect some micro:bit to raspberry

Post by jimmo » Tue Oct 20, 2020 12:45 pm

syl wrote:
Thu Oct 15, 2020 9:05 pm
I would like to connect 10 micro:bit(new version or the old one) to a rasberry at the same time. Do you think it's possible with bluetooth ? Or some other way?
It depends what you mean by "connect". :)

It's obviously possible to use a USB hub and physically connect them to the Raspberry Pi.

MicroPython on the micro:bit doesn't support Bluetooth (BLE), however it does support sending basic messages over the same radio that BLE uses. So one way that you can do this is to have one micro:bit connected to the Rasberry Pi over USB that you send commands over the REPL or serial to, which then talks to the other 10 micro:bits over the radio. I have done exactly this with my students in the past. https://microbit-micropython.readthedoc ... radio.html

Post Reply