Nutzung des micro:bit mit iOS - Verbindung über Bluetooth

Wenn du den micro:bit mit einem iOS-Gerät verbindest, kannst du den micro:bit auch unterwegs mit der offiziellen micro:bit App programmieren. Nutze diesen Leitfaden und die ausführliche Hilfe in der App selbst, um zu erfahren, wie der micro:bit mit dem iOS-Gerät verwendet werden kann!

Schnellstart

1: Program ("Flash") this hex file onto your micro:bit via USB (instructions here) to get the latest version of the micro:bit pairing software.

2: Hol dir die App für iOS

3: Before any kind of Bluetooth communication with the phone or tablet (pairing or flashing), enter pairing mode

4: Pair your micro:bit with the app using 'Choose micro:bit'

5: Start coding! Now you can re-program your micro:bit via Bluetooth.

Wichtige Tipps für den Erfolg:

  • You should always enter pairing mode before trying to flash/program your micro:bit over Bluetooth
  • Every time you program the micro:bit over USB it is fully erased, including pairing information. Therefore you must forget it iOS Settings-->Bluetooth and pair again.

Was kann ich mit der iOS-App machen?

The micro:bit app allows you to connect to your micro:bit from your phone or tablet, then create code and send it straight to your micro:bit. You can use the app to create code in the Javascript Blocks Editor (powered by Microsoft MakeCode), but unfortunately, Python and Bluetooth cannot be used together.

See some example activities

You can also use the new 'Monitor and Control' section to watch the state of your micro:bit, and even trigger actions like button presses from your iOS device

The app has five sections:

  • Choose micro:bit is where you go to pair/connect your phone/tablet (device) to your micro:bit
  • Create Code takes you directly to the Javascript Blocks editor (powered by Microsoft MakeCode) where you can write your own programs and then download them to the micro:bit, just as if you were on a PC
  • Flashen benutzt du um eine Kode-Datei (.HEX) von deinem Gerät (Smartphone/Tablet) an deinen micro:bit zu senden
  • Monitor and Control allows you to observe real-time data from the micro:bit sensors, send messages directly to the LEDs and control the micro:bit buttons and pins from your iPad or iPhone. (Monitor is ideal for exploiting Bluetooth services in real-time, and for de-bugging your program code.) These facilities are only available if you have added Bluetooth services these to your program, or use one of the samples like ‘monitor-services’ in the 'Flash' page of the app.
  • Ideas takes you to the micro:bit website where you can get ideas and examples from other people

Wie man den micro:bit 'paired'

Unter 'Pairing' (Koppeln) versteht man das Einrichten einer Verbindung zwischen deinem micro:bit und einem iOS-Gerät. Die Anwendung sucht nach deinem micro:bit unter Verwendung eines eindeutigen Musters und fragt eventuell nach einem Passwort, wenn du ein älteres Programm verwendest oder Passcode Pairing in MakeCode konfiguriert hast

  • Vor dem Pairing lade diese HEX-Datei herunter und kopiere diese per USB auf den micro:bit. It will update the Bluetooth pairing software on the micro:bit to the lastest version and run through the instructions for entering pairing mode.
  • You enter pairing mode by holding down buttons A+B and pressing, then releasing the reset button on the back of the micro:bit while still holding A+B. Check out the video just above to learn more about pairing the micro:bit.
USB Programing erases the pairing information

When you program the device over USB it will completely erase the previous program and settings, including any pairing information. This means that you will have to 'forget' your micro:bit in Settings->Bluetooth on your iOS device after each USB programming. You do not need to do this if you are only using Bluetooth to program your device.

Discover More

Check out the full Bluetooth Troubleshooting Guide if you are having issues with Bluetooth.

Troubleshooting Guide

Take a look at the apps page to learn more about coding the micro:bit from a mobile device.

Apps

Activities you can use with the iOS App

Back to top
Selecting this opens external content from our support system, which adheres to their privacy policy.