diff --git a/docs/edge-connector-2.svg b/docs/edge-connector-2.svg new file mode 100644 index 0000000..7597341 --- /dev/null +++ b/docs/edge-connector-2.svg @@ -0,0 +1,15044 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LED Col 3 + LED Col 1 + LED Col 4 + LED Col 2 + LED Col 5 + + + + + diff --git a/docs/index.md b/docs/index.md index 498470b..e2852cf 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,6 +4,17 @@ Der [BBC Micro:bit](https://microbit.org) ist ein kleines embedded Device mit ei Die Skripte in diesem Repository sind Inspiriert durch "Make: Getting Started with the micro:bit" von Wolfram Donat. +## Hardware + +Die Dokumentation für die Micro:bit Hardware findet sich auf [tech.microbit.org](https://tech.microbit.org/hardware/). + +![Micro:bit Übersicht](microbit-overview-2-2.png) + +![Pins](edge-connector-2.svg) +![Micro:bit Funktionsblöcke](v2-2-block.svg) + + + ## Programmieren mit MicroPython Auf der Micro:bit Seite wird ein [Online Editor](https://python.microbit.org/v/3) angeboten. Diese ist die einfachste Möglichkeit um mit dem Programmieren zu starten, und eine MicroPython hex-Datei für den Micro:bit zu bekommen. @@ -44,6 +55,8 @@ Die [API Referenz](https://python.microbit.org/v/3/reference) (Application Progr Die Mirco:bit API stellt ein "display" Objekt bereit, mit dem auf einfach Texte und vordefinierte Bilder auf dem Dot-Matrix-Display angezeigt werden können. +#### Vordefinierte Grafiken + Bilder können über Konstanten ausgewählt werden. Ein Herz kann z.B. mit dem folgenden Skript angezeigt werden: ```python @@ -52,7 +65,9 @@ from microbit import * display.show(Image.HEART) sleep(1000) ``` -Die Liste mit allen vordefinierten Bildern findet sich in der [API](https://python.microbit.org/v/3/api/microbit.Image). Das folgende Skript zeigt im Wechsel das große und kleine Herz dar: +Die Liste mit allen vordefinierten Bildern findet sich in der [API](https://python.microbit.org/v/3/api/microbit.Image). + +Das folgende Skript zeigt im Wechsel das große und kleine Herz dar: ```python from microbit import * @@ -64,4 +79,36 @@ while True: sleep(1000) ``` +#### Text scrollen + +#### Text anzeigen + +#### Pixel + +### Knöpfe + +### Accelerometer + +### Bluetooth + +### Licht-Sensor + +### Temperatur-Sensor + +### Kompass + +### Töne + +### Mikrofon + +### Touch-Logo + +## Projekt Schrittzähler + +Mirco:bit als Schrittzähler + +## Projekt Tracks + +Tracks aufzeichnen mit Kompass und Beschleunigungssensor + diff --git a/docs/microbit-overview-2-2.png b/docs/microbit-overview-2-2.png new file mode 100644 index 0000000..0adad66 Binary files /dev/null and b/docs/microbit-overview-2-2.png differ diff --git a/docs/v2-2-block.svg b/docs/v2-2-block.svg new file mode 100644 index 0000000..0f340d8 --- /dev/null +++ b/docs/v2-2-block.svg @@ -0,0 +1,1000 @@ + + + + + + + + + + + + + nRF52833-QDAA + or + nRF52820-QDAA + + + + + + + nRF52833-QIAA + + + + + + + + + + + + + + + Regulator + + + + + + + + Reset + + + + + BTN + + + + + + + + Xtal + + + + + + + + JST + + + + + + + + USB + + + + + + + + Antenna + + + + + + + + + + + SWD + + + + + UART + + + + + + + + + + + + + + + + + + + + + + + + + + GPIO + + + + + GPIO + + + + + + + + LEDs + + + + + + + + + + + + + + BTNs + + + + + A+B + + + + + + + + 5x5 LED + + + + + Matrix + + + + + + + + Edge Connector + + + + + + + + + + + + + + + + + (Cols only) + + + + + GPIO + + + + + + + + I2CS + + + + + + + + Motion + + + + + Sensor + + + + + (LSM & + + + + + FXOS) + + + + + + + + I2C Internal + + + + + + + + Speaker + + + + + + + + MEMS mic + + + + + + + + + + + I2CM0 + + + + + UART + + + + + UART + + + + + SWD + + + + + ANT + + + + + Xtal + + + + + USB + + + + + + + + + + + + + + + + + I2C + + + + + 3V + + + + + I2C external + + + + + I2CM1 + + + + + + + + Logo + + + + + + + + + + + Added in V2 + + + + + + + + Present in + + + + + micro:bit + + + + + V1 + + + +