BBC Micro:Bit : request to a server

Questions and discussion about running MicroPython on a micro:bit board.
Target audience: MicroPython users with a micro:bit.
Post Reply
User avatar
titimoby
Posts: 18
Joined: Thu Sep 29, 2016 6:54 am

BBC Micro:Bit : request to a server

Post by titimoby » Thu Sep 29, 2016 7:01 am

Hi everyone !
I enjoy Micro:bit and I plan to use it during the coding workshops I manage with kids.
In the short term, I'll stick with discovering the board and the online UI, but I'll then need to have an offline IDE because I don't have internet everytime. (but that will be another topic)

On the local network of the workshop, I'm planning to show them some interaction between a Minetest server and connected objects.
I already have things working with esp8266 boards, but I'd really like to use Micro:bit (those bright leds are so appealing ;) )

In order to do so, I need a way to be able to request a server using HTTP or MQTT .
Is there a way to have some connection to a network ?

Some kind of BT bridge for example ?

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: BBC Micro:Bit : request to a server

Post by deshipu » Thu Sep 29, 2016 10:13 am

No. The Micro:Bit has no internet connectivity, and with MicroPython there is no Bluetooth (not enough memory). It's of course always possible to connect it to some additional hardware to make this work, but that's convoluted and there are no ready solutions.

If you like the lights, why don't you get some 8x8 led matrix backpacks?

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: BBC Micro:Bit : request to a server

Post by pythoncoder » Sat Oct 01, 2016 5:35 am

Re offline IDE, see http://codewith.mu/
Peter Hinch
Index to my micropython libraries.

User avatar
titimoby
Posts: 18
Joined: Thu Sep 29, 2016 6:54 am

Re: BBC Micro:Bit : request to a server

Post by titimoby » Sat Oct 01, 2016 9:53 pm

@deshipu: So no wireless communication of any kind with micropython?
It was not only for the leds, MicroBit is a nice piece of hardware with nice capabilities.
I'll handle microbits with other languages and maybe use some kind of DIY ESP8266+leds+accelerometer
Thanks

@pythoncode: Thanks, I'll give a try to the editor, thanks.

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: BBC Micro:Bit : request to a server

Post by deshipu » Sun Oct 02, 2016 1:13 pm

The radio module lets you communicate with other microbits with a simple protocol. You can probably even make them talk to other hardware, but that's a bit of work, nothing ready.

Post Reply