updated links to get more specific information about hardware

This commit is contained in:
Delucse 2020-09-25 12:51:37 +02:00
parent 994f74d7ad
commit 5044b09701
3 changed files with 13 additions and 13 deletions

View File

@ -94,7 +94,7 @@ class Hardware extends Component {
> >
<div> <div>
<img src={`/media/hardware/${this.state.hardwareInfo.src}`} width="100%" alt={this.state.hardwareInfo.name}/> <img src={`/media/hardware/${this.state.hardwareInfo.src}`} width="100%" alt={this.state.hardwareInfo.name}/>
Weitere Informationen unter: <Link href={this.state.hardwareInfo.url} color="primary">{this.state.hardwareInfo.url}</Link> Weitere Informationen zur Hardware-Komponente findest du <Link href={this.state.hardwareInfo.url} color="primary">hier</Link>.
</div> </div>
</Dialog> </Dialog>

View File

@ -3,7 +3,7 @@
"id": "bmp280", "id": "bmp280",
"name": "Luftdruck und Temperatursensor", "name": "Luftdruck und Temperatursensor",
"src": "bmp280.png", "src": "bmp280.png",
"url": "https://sensebox.github.io/books-v2/blockly/de/uebersicht/sensebox_components.html" "url": "https://sensebox.github.io/books-v2/edu/de/komponenten/sensoren/luftdruck-temperatur.html"
}, },
{ {
"id": "breadboard", "id": "breadboard",
@ -27,7 +27,7 @@
"id": "hdc1080", "id": "hdc1080",
"name": "Temperatur und Luftfeuchtigkeitssensor", "name": "Temperatur und Luftfeuchtigkeitssensor",
"src": "hdc1080.png", "src": "hdc1080.png",
"url": "https://sensebox.github.io/books-v2/blockly/de/uebersicht/sensebox_components.html" "url": "https://sensebox.github.io/books-v2/edu/de/komponenten/sensoren/hdc1080.html"
}, },
{ {
"id": "jst-adapter", "id": "jst-adapter",
@ -69,7 +69,7 @@
"id": "oled", "id": "oled",
"name": "OLED-Display", "name": "OLED-Display",
"src": "oled.png", "src": "oled.png",
"url": "https://sensebox.github.io/books-v2/blockly/de/uebersicht/sensebox_components.html" "url": "https://sensebox.github.io/books-v2/edu/de/komponenten/zubehoer/led-display.html"
}, },
{ {
"id": "piezo", "id": "piezo",
@ -99,19 +99,19 @@
"id": "sd-bee", "id": "sd-bee",
"name": "mSD-Bee", "name": "mSD-Bee",
"src": "sd-bee.png", "src": "sd-bee.png",
"url": "https://sensebox.github.io/books-v2/blockly/de/uebersicht/sensebox_components.html" "url": "https://sensebox.github.io/books-v2/edu/de/komponenten/bees/sd.html"
}, },
{ {
"id": "senseboxmcu", "id": "senseboxmcu",
"name": "senseBox MCU", "name": "senseBox MCU",
"src": "senseboxmcu.png", "src": "senseboxmcu.png",
"url": "https://sensebox.github.io/books-v2/blockly/de/uebersicht/sensebox_components.html" "url": "https://sensebox.github.io/books-v2/edu/de/komponenten/sensebox-mcu.html"
}, },
{ {
"id": "usb-cable", "id": "usb-cable",
"name": "USB-Kabel", "name": "USB-Kabel",
"src": "usb-cable.png", "src": "usb-cable.png",
"url": "https://sensebox.github.io/books-v2/blockly/de/uebersicht/sensebox_components.html" "url": "https://sensebox.github.io/books-v2/edu/de/komponenten/zubehoer/netzteil-und-usb-kabel.html"
}, },
{ {
"id": "veml6070", "id": "veml6070",
@ -123,6 +123,6 @@
"id": "wifi-bee", "id": "wifi-bee",
"name": "WiFi-Bee", "name": "WiFi-Bee",
"src": "wifi-bee.png", "src": "wifi-bee.png",
"url": "https://sensebox.github.io/books-v2/blockly/de/uebersicht/sensebox_components.html" "url": "https://sensebox.github.io/books-v2/edu/de/komponenten/bees/wifi.html"
} }
] ]

View File

@ -48,7 +48,7 @@
"id": 1, "id": 1,
"type": "instruction", "type": "instruction",
"headline": "Einführung", "headline": "Einführung",
"text1": "In diesem Tutorial lernst du wie man die senseBox mit dem Internet verbindest.", "text": "In diesem Tutorial lernst du wie man die senseBox mit dem Internet verbindest.",
"hardware": ["senseboxmcu", "wifi-bee"], "hardware": ["senseboxmcu", "wifi-bee"],
"requirements": [1] "requirements": [1]
}, },
@ -56,28 +56,28 @@
"id": 2, "id": 2,
"type": "instruction", "type": "instruction",
"headline": "Programmierung", "headline": "Programmierung",
"text1": "Man benötigt folgenden Block:", "text": "Man benötigt folgenden Block:",
"xml": "<xml xmlns='https://developers.google.com/blockly/xml'><block type='sensebox_wifi' id='-!X.Ay]z1ACt!f5+Vfr8'><field name='SSID'>SSID</field><field name='Password'>Password</field></block></xml>" "xml": "<xml xmlns='https://developers.google.com/blockly/xml'><block type='sensebox_wifi' id='-!X.Ay]z1ACt!f5+Vfr8'><field name='SSID'>SSID</field><field name='Password'>Password</field></block></xml>"
}, },
{ {
"id": 3, "id": 3,
"type": "instruction", "type": "instruction",
"headline": "Block richtig einbinden", "headline": "Block richtig einbinden",
"text1": "", "text": "",
"xml": "<xml xmlns='https://developers.google.com/blockly/xml'><block type='arduino_functions' id='QWW|$jB8+*EL;}|#uA' deletable='false' x='27' y='16'><statement name='SETUP_FUNC'><block type='sensebox_wifi' id='W}P2Y^g,muH@]|@anou}'><field name='SSID'>SSID</field><field name='Password'>Password</field></block></statement></block></xml>" "xml": "<xml xmlns='https://developers.google.com/blockly/xml'><block type='arduino_functions' id='QWW|$jB8+*EL;}|#uA' deletable='false' x='27' y='16'><statement name='SETUP_FUNC'><block type='sensebox_wifi' id='W}P2Y^g,muH@]|@anou}'><field name='SSID'>SSID</field><field name='Password'>Password</field></block></statement></block></xml>"
}, },
{ {
"id": 4, "id": 4,
"type": "task", "type": "task",
"headline": "Aufgabe 1", "headline": "Aufgabe 1",
"text1": "Stelle eine WLAN-Verbindung mit einem beliebigen Netzwerk her.", "text": "Stelle eine WLAN-Verbindung mit einem beliebigen Netzwerk her.",
"xml": "<xml xmlns='https://developers.google.com/blockly/xml'><block type='arduino_functions' id='QWW|$jB8+*EL;}|#uA' deletable='false' x='27' y='16'><statement name='SETUP_FUNC'><block type='sensebox_wifi' id='W}P2Y^g,muH@]|@anou}'><field name='SSID'>SSID</field><field name='Password'>Password</field></block></statement></block></xml>" "xml": "<xml xmlns='https://developers.google.com/blockly/xml'><block type='arduino_functions' id='QWW|$jB8+*EL;}|#uA' deletable='false' x='27' y='16'><statement name='SETUP_FUNC'><block type='sensebox_wifi' id='W}P2Y^g,muH@]|@anou}'><field name='SSID'>SSID</field><field name='Password'>Password</field></block></statement></block></xml>"
}, },
{ {
"id": 5, "id": 5,
"type": "task", "type": "task",
"headline": "Aufgabe 2", "headline": "Aufgabe 2",
"text1": "Versuche das gleiche einfach nochmal. Übung macht den Meister! ;)", "text": "Versuche das gleiche einfach nochmal. Übung macht den Meister! ;)",
"xml": "<xml xmlns='https://developers.google.com/blockly/xml'><block type='arduino_functions' id='QWW|$jB8+*EL;}|#uA' deletable='false' x='27' y='16'><statement name='SETUP_FUNC'><block type='sensebox_wifi' id='W}P2Y^g,muH@]|@anou}'><field name='SSID'>SSID</field><field name='Password'>Password</field></block></statement></block></xml>" "xml": "<xml xmlns='https://developers.google.com/blockly/xml'><block type='arduino_functions' id='QWW|$jB8+*EL;}|#uA' deletable='false' x='27' y='16'><statement name='SETUP_FUNC'><block type='sensebox_wifi' id='W}P2Y^g,muH@]|@anou}'><field name='SSID'>SSID</field><field name='Password'>Password</field></block></statement></block></xml>"
} }
] ]