[Microbit-Python] Pointers on connecting microBit to the outside world

M.-A. Lemburg mal at egenix.com
Mon Feb 22 03:29:49 EST 2016


On 22.02.2016 08:05, Russell Keith-Magee wrote:
> Hi all,
> 
> I feel like a bit of a dunce asking this, but can anyone point me in the
> right direction on using the micro:bit’s Bluetooth functionality?
> 
> I’ve been trying to make my micro:bit an IoT sensor. My end goal is to
> convert a shake of the micro:bit into a hit on a web service.
> 
> Doing the sensor part was trivial with microPython; but I can’t work out
> how to make the hop to the outside world.
> 
> I assumed that the micro:bit would be identified as a BLE device, and could
> be paired with my laptop. However, I can’t find any way to identify the
> micro:bit as a Bluetooth device on my Mac (which supports BLE). I’m
> guessing there is something that needs to be enabled at an API level, but
> it isn’t clear to me what that would be.
> 
> Can anyone point me in the right direction here?

AFAIK, bluetooth is not supported with MicroPython, the reason
being that the bluetooth stack alone consumes 12kB of RAM,
leaving only 4kB for MicroPython.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Experts (#1, Feb 22 2016)
>>> Python Projects, Coaching and Consulting ...  http://www.egenix.com/
>>> Python Database Interfaces ...           http://products.egenix.com/
>>> Plone/Zope Database Interfaces ...           http://zope.egenix.com/
________________________________________________________________________
2016-02-19: Released eGenix PyRun 2.1.2 ...       http://egenix.com/go88

::: We implement business ideas - efficiently in both time and costs :::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/
                      http://www.malemburg.com/



More information about the Microbit mailing list