<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>http://microbit.eeducation.at/index.php?action=history&amp;feed=atom&amp;title=Betretungsdetektor</id>
	<title>Betretungsdetektor - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="http://microbit.eeducation.at/index.php?action=history&amp;feed=atom&amp;title=Betretungsdetektor"/>
	<link rel="alternate" type="text/html" href="http://microbit.eeducation.at/index.php?title=Betretungsdetektor&amp;action=history"/>
	<updated>2026-04-29T11:28:30Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in microbit - Das Schulbuch</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://microbit.eeducation.at/index.php?title=Betretungsdetektor&amp;diff=7529&amp;oldid=prev</id>
		<title>Martin.teufel am 29. März 2022 um 08:33 Uhr</title>
		<link rel="alternate" type="text/html" href="http://microbit.eeducation.at/index.php?title=Betretungsdetektor&amp;diff=7529&amp;oldid=prev"/>
		<updated>2022-03-29T08:33:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 29. März 2022, 10:33 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Zeile 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:„Jaaaaakob! Warst du schon wieder in meinem Zimmer?“, schallt es durch die Wohnung und Lea ist wieder mal außer sich.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:„Jaaaaakob! Warst du schon wieder in meinem Zimmer?“, schallt es durch die Wohnung und Lea ist wieder mal außer sich.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::„Nein? War ich gaaanz sicher nicht, ich schwör‘s“, antwortet Jakob kleinlaut (mit überkreuzten Fingern hinter dem Rücken). „Wie kommst du darauf? Das kannst du doch gar nicht wissen!?“&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::„Nein? War ich gaaanz sicher nicht, ich schwör‘s“, antwortet Jakob kleinlaut (mit überkreuzten Fingern hinter dem Rücken). „Wie kommst du darauf? Das kannst du doch gar nicht wissen!?“&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:„Doch in diesem Fall schon und du bist sogar schon überführt! Mama ist den ganzen Tag arbeiten, Papa seit Stunden mit &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;einkaufen &lt;/del&gt;beschäftigt, ich war nur kurz bei meiner Freundin und trotzdem war jemand zweimal in meinem Zimmer. Da bleibst nur du übrig …“&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:„Doch in diesem Fall schon und du bist sogar schon überführt! Mama ist den ganzen Tag arbeiten, Papa seit Stunden mit &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Einkaufen &lt;/ins&gt;beschäftigt, ich war nur kurz bei meiner Freundin und trotzdem war jemand zweimal in meinem Zimmer. Da bleibst nur du übrig …“&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::„Das bildest du dir bloß ein. Fehlt irgendwas oder ist was kaputt, sodass du das feststellen könntest?“&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::„Das bildest du dir bloß ein. Fehlt irgendwas oder ist was kaputt, sodass du das feststellen könntest?“&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:„Nein, aber mein selbst gebauter Betretungsdetektor hat mir nach meiner Rückkehr gesagt, dass die Tür dreimal geöffnet und wieder geschlossen wurde.“, antwortet Lea und zeigt triumphierend auf ihren BBC micro:bit in der Hand, auf dem die große, leuchtende Ziffer 3 zu sehen ist. „Was sagst du jetzt?“&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:„Nein, aber mein selbst gebauter Betretungsdetektor hat mir nach meiner Rückkehr gesagt, dass die Tür dreimal geöffnet und wieder geschlossen wurde.“, antwortet Lea und zeigt triumphierend auf ihren BBC micro:bit in der Hand, auf dem die große, leuchtende Ziffer 3 zu sehen ist. „Was sagst du jetzt?“&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l9&quot;&gt;Zeile 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:icon_gluehbirne.png|20px|Icon]] Aufgabenstellung==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:icon_gluehbirne.png|20px|Icon]] Aufgabenstellung==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In Filmen sieht man &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;öfter&lt;/del&gt;, wie Geheimagentinnen oder -agenten &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;solche Probleme lösen. Da werden dünne Fäden &lt;/del&gt;oder &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ein &lt;/del&gt;Klebestreifen zwischen Türrahmen und Türe &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;befestigt und nach dem Heimkommen geprüft&lt;/del&gt;, ob &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;er gerissen ist&lt;/del&gt;. Mit dem BBC micro:bit können wir das &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;auch &lt;/del&gt;eleganter &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;machen &lt;/del&gt;und nicht nur feststellen ob, sondern sogar mitzählen wie oft jemand die Tür geöffnet hat. Das geht ganz leicht mit Hilfe eines Magneten&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, da der BBC micro:bit auch einen Sensor zum Messen der Magnetfeldstärke eingebaut hat&lt;/del&gt;. Einfach den Magneten am Türrahmen und den BBC micro:bit an der &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tür &lt;/del&gt;nahe &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;aneinander befestigten &lt;/del&gt;und schon kann man dauerhaft prüfen ob die Tür geöffnet wurde: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wird &lt;/del&gt;die Tür geöffnet, entfernen sich BBC micro:bit und der Magnet voneinander und die gemessene Magnetfeldstärke sinkt unter einen bestimmten Schwellwert. Wird sie wieder geschlossen, steigt der gemessene Wert wieder darüber an. &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Eine kleine Schwierigkeit &lt;/del&gt;ist &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;noch&lt;/del&gt;, dass &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;man sich merken muss ob &lt;/del&gt;die Tür &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;gerade &lt;/del&gt;offen ist &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;und nur dann zählen, wenn sie vorher gerade zu war&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sonst &lt;/del&gt;zählt der BBC micro:bit so lange und schnell nach oben, bis die Tür wieder geschlossen wird und das wollen wir ja nicht. Aber das ist für &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Dich &lt;/del&gt;mit Hilfe einer Variablen sicher kein Problem ...&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In Filmen sieht man &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;oft&lt;/ins&gt;, wie Geheimagentinnen oder -agenten &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;einen dünnen Faden &lt;/ins&gt;oder &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;einen &lt;/ins&gt;Klebestreifen zwischen Türrahmen und Türe &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;befestigen, um zu überprüfen&lt;/ins&gt;, ob &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;jemand in ihrer Abwesenheit in ihrem (Hotel-)Zimmer gewesen war&lt;/ins&gt;. Mit dem BBC micro:bit können wir das eleganter &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lösen &lt;/ins&gt;und nicht nur feststellen&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;ob, sondern sogar mitzählen wie oft jemand die Tür geöffnet hat. Das geht ganz leicht mit Hilfe eines Magneten. Einfach den Magneten am Türrahmen und den BBC micro:bit&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, der einen Sensor zum Messen der Magnetfeldstärke besitzt, &lt;/ins&gt;an der &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Türe befestigen, am besten recht &lt;/ins&gt;nahe &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;beieinander, &lt;/ins&gt;und schon kann man dauerhaft prüfen&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;ob die Tür geöffnet wurde: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wird &lt;/ins&gt;die Tür geöffnet, entfernen sich BBC micro:bit und der Magnet voneinander und die gemessene Magnetfeldstärke sinkt unter einen bestimmten Schwellwert. Wird sie wieder geschlossen, steigt der gemessene Wert wieder darüber an. &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wichtig für die Zählung &lt;/ins&gt;ist, dass die Tür &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;nach Anbringung des Magneten und des BBC micro:bit im geschlossenen Zustand ist. Sobald die Tür &lt;/ins&gt;offen ist, zählt der BBC micro:bit so lange und &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;so &lt;/ins&gt;schnell nach oben, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/ins&gt;bis die Tür wieder geschlossen wird&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;und das wollen wir ja nicht. Aber das ist für &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;dich &lt;/ins&gt;mit Hilfe einer Variablen sicher kein Problem...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:Betretungsdetektor2.jpg|left|350px|border|Großaufnahme des Betretungsdetektors mit dem BBC micro:bit]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:Betretungsdetektor2.jpg|left|350px|border|Großaufnahme des Betretungsdetektors mit dem BBC micro:bit]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l16&quot;&gt;Zeile 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* BBC micro:bit&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* BBC micro:bit&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* 1 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;kleinen&lt;/del&gt;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;guten Magneten&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* 1 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;kleiner&lt;/ins&gt;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;guter Magnet&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* 2 kleine Stücke doppelseitiges Klebeband (oder andere Ideen zum Befestigen von Magnet und BBC micro:bit an Tür und Türrahmen)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* 2 kleine Stücke doppelseitiges Klebeband (oder andere Ideen zum Befestigen von Magnet und BBC micro:bit an Tür und Türrahmen)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:icon_sanduhr.png|20px|Icon]] Zeitaufwand ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:icon_sanduhr.png|20px|Icon]] Zeitaufwand ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Zeitaufwand etwa &lt;/del&gt;1 Schulstunde&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Eventuell &lt;/del&gt;mehr, wenn man (optional) auch die Stärke des Magneten ausmessen und berücksichtigen will&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ca. &lt;/ins&gt;1 Schulstunde&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, eventuell &lt;/ins&gt;mehr, wenn man (optional) auch die Stärke des Magneten ausmessen und berücksichtigen will&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:Icon_puzzle3.png|20px|Icon]] Schwierigkeitsgrad ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:Icon_puzzle3.png|20px|Icon]] Schwierigkeitsgrad ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot;&gt;Zeile 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Du lernst&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Du lernst&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;vernetztes &lt;/del&gt;und &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;fachübergreifendes Denken&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;vernetzt &lt;/ins&gt;und &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;fachübergreifen zu denken&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* das Formulieren und Kodieren von einfachen Abläufen in formalen Algorithmen&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* das Formulieren und Kodieren von einfachen Abläufen in formalen Algorithmen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* das Arbeiten mit verschiedenen Materialien und Werkzeugen (Magnete, Klebeband bzw. Halterungen)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* das Arbeiten mit verschiedenen Materialien und Werkzeugen (Magnete, Klebeband bzw. Halterungen)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* das Messen einer physikalischen Größe (Magnetfeldstärke) um einen geeigneten Schwellwert zu bestimmen (optional)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* das Messen einer physikalischen Größe (Magnetfeldstärke)&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;um einen geeigneten Schwellwert zu bestimmen (optional)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:Icon faecher.png|20px|Icon]] Unterrichtsfächer ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:Icon faecher.png|20px|Icon]] Unterrichtsfächer ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l40&quot;&gt;Zeile 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:Icon_hilfe.png|20px|Icon]] Tipps und Hilfestellung ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:Icon_hilfe.png|20px|Icon]] Tipps und Hilfestellung ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Zuerst &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sollte man sich &lt;/del&gt;überlegen, wie &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;man &lt;/del&gt;am besten den BBC micro:bit mitsamt den Akkus und auch den Magneten auf Tür und Türrahmen festmachen &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;will&lt;/del&gt;. Doppelklebeband? Knetmasse? Ring aus Klebestreifen mit der Klebeseite nach außen? Bitte &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;auch &lt;/del&gt;darauf &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;achten&lt;/del&gt;, dass die beiden möglichst nahe &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;aneinander &lt;/del&gt;befestigt werden, da die Magnetfeldstärke mit zunehmender Entfernung sehr rasch (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;der &lt;/del&gt;Physiklehrer &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;bzw. die &lt;/del&gt;Physiklehrerin würde sagen: „mit dem Quadrat der Entfernung“) abnimmt!&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Zuerst &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;solltest du dir &lt;/ins&gt;überlegen, wie &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;du &lt;/ins&gt;am besten den BBC micro:bit mitsamt den Akkus und auch den Magneten auf Tür und Türrahmen festmachen &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;willst&lt;/ins&gt;. Doppelklebeband? Knetmasse? Ring aus Klebestreifen mit der Klebeseite nach außen? Bitte &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;achte &lt;/ins&gt;darauf, dass die beiden möglichst nahe &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;beieinander &lt;/ins&gt;befestigt werden, da die Magnetfeldstärke mit zunehmender Entfernung sehr rasch (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;dein &lt;/ins&gt;Physiklehrer&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, deine &lt;/ins&gt;Physiklehrerin würde sagen: „mit dem Quadrat der Entfernung“) abnimmt!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Je nachdem welchen Magneten du verwendest, sind auch die gemessenen Werte unterschiedlich hoch. Bei starken Magneten höher, bei schwachen niedriger. Dementsprechend kann auch der Schwellwert, bei dem du feststellst, dass die Tür geöffnet wurde, unterschiedlich hoch sein. Am besten misst du das einmal aus, bevor du alles an der Tür festmachst. In jedem Browser mit WebUSB (&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;zB &lt;/del&gt;Chrome) kann man die Konsole zum BBC micro:bit anzeigen lassen. Das sieht dann &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;zB &lt;/del&gt;so aus:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Je nachdem&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;welchen Magneten du verwendest, sind auch die gemessenen Werte unterschiedlich hoch. Bei starken Magneten höher, bei schwachen niedriger. Dementsprechend kann auch der Schwellwert, bei dem du feststellst, dass die Tür geöffnet wurde, unterschiedlich hoch sein. Am besten misst du das einmal aus, bevor du alles an der Tür festmachst. In jedem Browser mit WebUSB (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;z.B. &lt;/ins&gt;Chrome) kann man &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sich &lt;/ins&gt;die Konsole zum BBC micro:bit anzeigen lassen. Das sieht dann &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;z.B. &lt;/ins&gt;so aus:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:Magnetfeldstärke USB.png|center|750px|border|Screenshot der übertragenen Magnetfeldstärkedaten des BBC micro:bit]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:Magnetfeldstärke USB.png|center|750px|border|Screenshot der übertragenen Magnetfeldstärkedaten des BBC micro:bit]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In diesem Fall wurde die Tür mehrmals geöffnet (niedriger Wert, weil der Magnet weiter vom BBC micro:bit entfernt ist) und geschlossen (höherer Wert). Hier sieht man, welche Messwerte entstehen, wenn ein bestimmter Magnet sich in der Nähe des BBC micro:bit befindet (ca. 300) und &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;davon &lt;/del&gt;wegbewegt wird (ca. 50). Auch der niedrigere &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Werte &lt;/del&gt;kann sich unterscheiden, je nachdem welche und wie viele andere elektronische Geräte in der Nähe sind, die ebenfalls ein Magnetfeld erzeugen! Ein guter Schwellwert liegt dann in etwa in der Mitte dieser beiden Werte (hier ca. 150).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In diesem Fall wurde die Tür mehrmals geöffnet (niedriger Wert, weil der Magnet weiter vom BBC micro:bit entfernt ist) und geschlossen (höherer Wert). Hier sieht man, welche Messwerte entstehen, wenn ein bestimmter Magnet sich in der Nähe des BBC micro:bit befindet (ca. 300) und &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wieder &lt;/ins&gt;wegbewegt wird (ca. 50). Auch der niedrigere &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Wert &lt;/ins&gt;kann sich unterscheiden, je nachdem&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;welche und wie viele andere elektronische Geräte in der Nähe sind, die ebenfalls ein Magnetfeld erzeugen! Ein guter Schwellwert liegt dann in etwa in der Mitte dieser beiden Werte (hier ca. 150).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Weitere Infos, Hinweise und auch eine mögliche, komplette Lösung findest du auf der [[Betretungsdetektor_Lösung|Lösungsseite zu diesem Beispiel]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Weitere Infos, Hinweise und auch eine mögliche, komplette Lösung findest du auf der [[Betretungsdetektor_Lösung|Lösungsseite zu diesem Beispiel]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l55&quot;&gt;Zeile 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 55:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Welche Schwierigkeiten hast du gehabt? Wie konntest du sie lösen?&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Welche Schwierigkeiten hast du gehabt? Wie konntest du sie lösen?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Erläutere, wie dein Programm aussieht!&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Erläutere, wie dein Programm aussieht!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Wo könnte man so einen „Betretungsdetektor“ noch verwenden, um zu prüfen, ob jemand unbefugt ein Zimmer oder &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ähnliches &lt;/del&gt;betreten hat? Fallen &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;die &lt;/del&gt;noch weitere Anwendungsfälle ein?&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Wo könnte man so einen „Betretungsdetektor“ noch verwenden, um zu prüfen, ob jemand unbefugt ein Zimmer oder &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ähnliches &lt;/ins&gt;betreten hat? Fallen &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;dir &lt;/ins&gt;noch weitere Anwendungsfälle ein?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Wie könnte man das System austricksen, sodass der Detektor nicht anschlägt?&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Wie könnte man das System austricksen, sodass der Detektor nicht anschlägt?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:icon_plus.png|20px|Icon]] Weiterentwicklung ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:icon_plus.png|20px|Icon]] Weiterentwicklung ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Ausmessen des Magneten über die USB-Schnittstelle, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;anzeigen &lt;/del&gt;der Messdaten in Echtzeit: &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;in &lt;/del&gt;jedem Browser mit WebUSB kann man die Konsole zum BBC micro:bit anzeigen lassen, darüber kann man die aktuell gemessenen Daten anschauen und die optimalen Werte für die Magnetfeldstärke ermitteln, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;zB &lt;/del&gt;mit „Dauerhaft: Seriell Zeile ausgeben …“.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Ausmessen des Magneten über die USB-Schnittstelle, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Anzeigen &lt;/ins&gt;der Messdaten in Echtzeit: &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;In &lt;/ins&gt;jedem Browser mit WebUSB kann man &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sich &lt;/ins&gt;die Konsole zum BBC micro:bit anzeigen lassen, darüber kann man die aktuell gemessenen Daten anschauen und die optimalen Werte für die Magnetfeldstärke ermitteln, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;z.B. &lt;/ins&gt;mit „Dauerhaft: Seriell Zeile ausgeben …“.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Wenn man schon feststellt, ob Türen oder Fenster geöffnet werden, könnte man ja auch nicht nur zählen wie oft, sondern auch gleich einen Alarm ausgeben.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Wenn man schon feststellt, ob Türen oder Fenster geöffnet werden, könnte man ja auch nicht nur zählen wie oft, sondern auch gleich einen Alarm ausgeben.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Der BBC micro:bit hat &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ja &lt;/del&gt;auch eine Bluetoothfunktion. Damit könnte man auch &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;zB &lt;/del&gt;die Daten aus der Ferne über Bluetooth auslesen und am Handy anzeigen, oder auch gleich am Handy einen Alarm ausgeben. Welche Funk-Reichweite hat Bluetooth?&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Der BBC micro:bit hat auch eine Bluetoothfunktion. Damit könnte man auch &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;z.B. &lt;/ins&gt;die Daten aus der Ferne über Bluetooth auslesen und am Handy anzeigen, oder auch gleich am Handy einen Alarm ausgeben. Welche Funk-Reichweite hat Bluetooth?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key microbit:diff:1.41:old-7473:rev-7529:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Martin.teufel</name></author>
	</entry>
	<entry>
		<id>http://microbit.eeducation.at/index.php?title=Betretungsdetektor&amp;diff=7473&amp;oldid=prev</id>
		<title>Harald.burgsteiner am 10. März 2022 um 14:37 Uhr</title>
		<link rel="alternate" type="text/html" href="http://microbit.eeducation.at/index.php?title=Betretungsdetektor&amp;diff=7473&amp;oldid=prev"/>
		<updated>2022-03-10T14:37:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 10. März 2022, 16:37 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot;&gt;Zeile 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:„Doch in diesem Fall schon und du bist sogar schon überführt! Mama ist den ganzen Tag arbeiten, Papa seit Stunden mit einkaufen beschäftigt, ich war nur kurz bei meiner Freundin und trotzdem war jemand zweimal in meinem Zimmer. Da bleibst nur du übrig …“&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:„Doch in diesem Fall schon und du bist sogar schon überführt! Mama ist den ganzen Tag arbeiten, Papa seit Stunden mit einkaufen beschäftigt, ich war nur kurz bei meiner Freundin und trotzdem war jemand zweimal in meinem Zimmer. Da bleibst nur du übrig …“&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::„Das bildest du dir bloß ein. Fehlt irgendwas oder ist was kaputt, sodass du das feststellen könntest?“&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::„Das bildest du dir bloß ein. Fehlt irgendwas oder ist was kaputt, sodass du das feststellen könntest?“&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:„Nein, aber mein selbst gebauter Betretungsdetektor hat mir nach meiner Rückkehr gesagt, dass die Tür dreimal geöffnet und wieder geschlossen wurde.“, antwortet Lea und zeigt triumphierend auf ihren micro:bit in der Hand, auf dem die große, leuchtende Ziffer &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2 &lt;/del&gt;zu sehen ist. „Was sagst du jetzt?“&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:„Nein, aber mein selbst gebauter Betretungsdetektor hat mir nach meiner Rückkehr gesagt, dass die Tür dreimal geöffnet und wieder geschlossen wurde.“, antwortet Lea und zeigt triumphierend auf ihren &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;BBC &lt;/ins&gt;micro:bit in der Hand, auf dem die große, leuchtende Ziffer &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;3 &lt;/ins&gt;zu sehen ist. „Was sagst du jetzt?“&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::„Äääh …“&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;::„Äääh …“&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:icon_gluehbirne.png|20px|Icon]] Aufgabenstellung==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:icon_gluehbirne.png|20px|Icon]] Aufgabenstellung==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In Filmen sieht man öfter wie Geheimagentinnen oder -agenten solche Probleme lösen. Da werden dünne Fäden oder ein Klebestreifen zwischen Türrahmen und Türe befestigt und nach dem Heimkommen geprüft, ob er gerissen ist. Mit dem BBC micro:bit können wir das auch eleganter machen und nicht nur feststellen ob, sondern sogar mitzählen wie oft jemand die Tür geöffnet hat. Das geht ganz leicht mit Hilfe eines Magneten, da der BBC micro:bit auch einen Sensor zum Messen der Magnetfeldstärke eingebaut hat. Einfach den Magneten am Türrahmen und den BBC micro:bit an der Tür nahe aneinander befestigten und schon kann man dauerhaft prüfen ob die Tür geöffnet wurde: wird die Tür geöffnet, entfernen sich BBC micro:bit und der Magnet voneinander und die gemessene Magnetfeldstärke sinkt unter einen bestimmten Schwellwert. Wird sie wieder geschlossen, steigt der gemessene Wert wieder darüber an. Eine kleine Schwierigkeit ist noch, dass man sich merken muss ob die Tür gerade offen ist und nur dann zählen, wenn sie vorher gerade zu war, sonst zählt der BBC micro:bit so lange und schnell nach oben, bis die Tür wieder geschlossen wird und das wollen wir ja nicht. Aber das ist für Dich mit Hilfe einer Variablen sicher kein Problem ...&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In Filmen sieht man öfter&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;, &lt;/ins&gt;wie Geheimagentinnen oder -agenten solche Probleme lösen. Da werden dünne Fäden oder ein Klebestreifen zwischen Türrahmen und Türe befestigt und nach dem Heimkommen geprüft, ob er gerissen ist. Mit dem BBC micro:bit können wir das auch eleganter machen und nicht nur feststellen ob, sondern sogar mitzählen wie oft jemand die Tür geöffnet hat. Das geht ganz leicht mit Hilfe eines Magneten, da der BBC micro:bit auch einen Sensor zum Messen der Magnetfeldstärke eingebaut hat. Einfach den Magneten am Türrahmen und den BBC micro:bit an der Tür nahe aneinander befestigten und schon kann man dauerhaft prüfen ob die Tür geöffnet wurde: wird die Tür geöffnet, entfernen sich BBC micro:bit und der Magnet voneinander und die gemessene Magnetfeldstärke sinkt unter einen bestimmten Schwellwert. Wird sie wieder geschlossen, steigt der gemessene Wert wieder darüber an. Eine kleine Schwierigkeit ist noch, dass man sich merken muss ob die Tür gerade offen ist und nur dann zählen, wenn sie vorher gerade zu war, sonst zählt der BBC micro:bit so lange und schnell nach oben, bis die Tür wieder geschlossen wird und das wollen wir ja nicht. Aber das ist für Dich mit Hilfe einer Variablen sicher kein Problem ...&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:Betretungsdetektor2.jpg|left|350px|border|Großaufnahme des Betretungsdetektors mit dem BBC micro:bit]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:Betretungsdetektor2.jpg|left|350px|border|Großaufnahme des Betretungsdetektors mit dem BBC micro:bit]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l37&quot;&gt;Zeile 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Informatik&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Informatik&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Werken&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Werken&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Physic&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Physik&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:Icon_hilfe.png|20px|Icon]] Tipps und Hilfestellung ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:Icon_hilfe.png|20px|Icon]] Tipps und Hilfestellung ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Zuerst sollte man sich überlegen, wie man am besten den BBC micro:bit mitsamt den Akkus und auch den Magneten auf Tür und Türrahmen festmachen will. Doppelklebeband? Knetmasse? Ring aus Klebestreifen mit der Klebeseite nach &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;aussen&lt;/del&gt;? Bitte auch darauf achten, dass die beiden möglichst nahe aneinander befestigt werden, da die Magnetfeldstärke mit zunehmender Entfernung sehr rasch (der Physiklehrer bzw. die Physiklehrerin würde sagen: „mit dem Quadrat der Entfernung“) abnimmt!&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Zuerst sollte man sich überlegen, wie man am besten den BBC micro:bit mitsamt den Akkus und auch den Magneten auf Tür und Türrahmen festmachen will. Doppelklebeband? Knetmasse? Ring aus Klebestreifen mit der Klebeseite nach &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;außen&lt;/ins&gt;? Bitte auch darauf achten, dass die beiden möglichst nahe aneinander befestigt werden, da die Magnetfeldstärke mit zunehmender Entfernung sehr rasch (der Physiklehrer bzw. die Physiklehrerin würde sagen: „mit dem Quadrat der Entfernung“) abnimmt!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Je nachdem welchen Magneten du verwendest, sind auch die gemessenen Werte unterschiedlich hoch. Bei starken Magneten höher, bei schwachen niedriger. Dementsprechend kann auch der Schwellwert, bei dem du feststellst, dass die Tür geöffnet wurde, unterschiedlich hoch sein. Am besten misst du das einmal aus, bevor du alles an der Tür festmachst. In jedem Browser mit WebUSB (zB Chrome) kann man die Konsole zum BBC micro:bit anzeigen lassen. Das sieht dann zB so aus:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Je nachdem welchen Magneten du verwendest, sind auch die gemessenen Werte unterschiedlich hoch. Bei starken Magneten höher, bei schwachen niedriger. Dementsprechend kann auch der Schwellwert, bei dem du feststellst, dass die Tür geöffnet wurde, unterschiedlich hoch sein. Am besten misst du das einmal aus, bevor du alles an der Tür festmachst. In jedem Browser mit WebUSB (zB Chrome) kann man die Konsole zum BBC micro:bit anzeigen lassen. Das sieht dann zB so aus:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:Magnetfeldstärke USB.png|center|750px|border|Screenshot der übertragenen Magnetfeldstärkedaten des BBC micro:bit]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:Magnetfeldstärke USB.png|center|750px|border|Screenshot der übertragenen Magnetfeldstärkedaten des BBC micro:bit]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In diesem Fall wurde die Tür mehrmals geöffnet (niedriger Wert, weil der Magnet weiter vom BBC micro:bit entfernt ist) und geschlossen (höherer Wert). Hier sieht man, welche Messwerte entstehen, wenn ein bestimmter Magnet sich in der Nähe des BBC micro:bit befindet (ca. 300) und davon wegbewegt wird (ca. 50). Auch der niedrigere Werte kann sich unterscheiden, je nachdem welche und &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wieviele &lt;/del&gt;andere elektronische Geräte in der Nähe sind, die ebenfalls ein Magnetfeld erzeugen! Ein guter Schwellwert liegt dann in etwa in der Mitte dieser beiden Werte (hier ca. 150).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In diesem Fall wurde die Tür mehrmals geöffnet (niedriger Wert, weil der Magnet weiter vom BBC micro:bit entfernt ist) und geschlossen (höherer Wert). Hier sieht man, welche Messwerte entstehen, wenn ein bestimmter Magnet sich in der Nähe des BBC micro:bit befindet (ca. 300) und davon wegbewegt wird (ca. 50). Auch der niedrigere Werte kann sich unterscheiden, je nachdem welche und &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wie viele &lt;/ins&gt;andere elektronische Geräte in der Nähe sind, die ebenfalls ein Magnetfeld erzeugen! Ein guter Schwellwert liegt dann in etwa in der Mitte dieser beiden Werte (hier ca. 150).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Weitere Infos, Hinweise und auch eine mögliche, komplette Lösung findest du auf der [[Betretungsdetektor_Lösung|Lösungsseite zu diesem Beispiel]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Weitere Infos, Hinweise und auch eine mögliche, komplette Lösung findest du auf der [[Betretungsdetektor_Lösung|Lösungsseite zu diesem Beispiel]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key microbit:diff:1.41:old-7069:rev-7473:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Harald.burgsteiner</name></author>
	</entry>
	<entry>
		<id>http://microbit.eeducation.at/index.php?title=Betretungsdetektor&amp;diff=7069&amp;oldid=prev</id>
		<title>Alois.bachinger: /* 20px|Icon Unterrichtsfächer */</title>
		<link rel="alternate" type="text/html" href="http://microbit.eeducation.at/index.php?title=Betretungsdetektor&amp;diff=7069&amp;oldid=prev"/>
		<updated>2022-01-18T00:05:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;20px|Icon Unterrichtsfächer&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 18. Januar 2022, 02:05 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l35&quot;&gt;Zeile 35:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 35:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:Icon faecher.png|20px|Icon]] Unterrichtsfächer ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:Icon faecher.png|20px|Icon]] Unterrichtsfächer ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;INF, WE, PH&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Informatik&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Werken&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Physic&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:Icon_hilfe.png|20px|Icon]] Tipps und Hilfestellung ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== [[Datei:Icon_hilfe.png|20px|Icon]] Tipps und Hilfestellung ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key microbit:diff:1.41:old-6955:rev-7069:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Alois.bachinger</name></author>
	</entry>
	<entry>
		<id>http://microbit.eeducation.at/index.php?title=Betretungsdetektor&amp;diff=6955&amp;oldid=prev</id>
		<title>Harald.burgsteiner: Die Seite wurde neu angelegt: „== Icon Wer war schon wieder in meinem Zimmer? == Datei:Betretungsdetektor1.jpg|right|350px|border|Der Betretungsdetektor mit d…“</title>
		<link rel="alternate" type="text/html" href="http://microbit.eeducation.at/index.php?title=Betretungsdetektor&amp;diff=6955&amp;oldid=prev"/>
		<updated>2022-01-05T13:10:36Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „== &lt;a href=&quot;/wiki/Datei:Icon_story.png&quot; title=&quot;Datei:Icon story.png&quot;&gt;20px|Icon&lt;/a&gt; Wer war schon wieder in meinem Zimmer? == Datei:Betretungsdetektor1.jpg|right|350px|border|Der Betretungsdetektor mit d…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== [[Datei:Icon_story.png|20px|Icon]] Wer war schon wieder in meinem Zimmer? ==&lt;br /&gt;
[[Datei:Betretungsdetektor1.jpg|right|350px|border|Der Betretungsdetektor mit dem BBC micro:bit im Einsatz]]&lt;br /&gt;
:„Jaaaaakob! Warst du schon wieder in meinem Zimmer?“, schallt es durch die Wohnung und Lea ist wieder mal außer sich.&lt;br /&gt;
::„Nein? War ich gaaanz sicher nicht, ich schwör‘s“, antwortet Jakob kleinlaut (mit überkreuzten Fingern hinter dem Rücken). „Wie kommst du darauf? Das kannst du doch gar nicht wissen!?“&lt;br /&gt;
:„Doch in diesem Fall schon und du bist sogar schon überführt! Mama ist den ganzen Tag arbeiten, Papa seit Stunden mit einkaufen beschäftigt, ich war nur kurz bei meiner Freundin und trotzdem war jemand zweimal in meinem Zimmer. Da bleibst nur du übrig …“&lt;br /&gt;
::„Das bildest du dir bloß ein. Fehlt irgendwas oder ist was kaputt, sodass du das feststellen könntest?“&lt;br /&gt;
:„Nein, aber mein selbst gebauter Betretungsdetektor hat mir nach meiner Rückkehr gesagt, dass die Tür dreimal geöffnet und wieder geschlossen wurde.“, antwortet Lea und zeigt triumphierend auf ihren micro:bit in der Hand, auf dem die große, leuchtende Ziffer 2 zu sehen ist. „Was sagst du jetzt?“&lt;br /&gt;
::„Äääh …“&lt;br /&gt;
&lt;br /&gt;
== [[Datei:icon_gluehbirne.png|20px|Icon]] Aufgabenstellung==&lt;br /&gt;
In Filmen sieht man öfter wie Geheimagentinnen oder -agenten solche Probleme lösen. Da werden dünne Fäden oder ein Klebestreifen zwischen Türrahmen und Türe befestigt und nach dem Heimkommen geprüft, ob er gerissen ist. Mit dem BBC micro:bit können wir das auch eleganter machen und nicht nur feststellen ob, sondern sogar mitzählen wie oft jemand die Tür geöffnet hat. Das geht ganz leicht mit Hilfe eines Magneten, da der BBC micro:bit auch einen Sensor zum Messen der Magnetfeldstärke eingebaut hat. Einfach den Magneten am Türrahmen und den BBC micro:bit an der Tür nahe aneinander befestigten und schon kann man dauerhaft prüfen ob die Tür geöffnet wurde: wird die Tür geöffnet, entfernen sich BBC micro:bit und der Magnet voneinander und die gemessene Magnetfeldstärke sinkt unter einen bestimmten Schwellwert. Wird sie wieder geschlossen, steigt der gemessene Wert wieder darüber an. Eine kleine Schwierigkeit ist noch, dass man sich merken muss ob die Tür gerade offen ist und nur dann zählen, wenn sie vorher gerade zu war, sonst zählt der BBC micro:bit so lange und schnell nach oben, bis die Tür wieder geschlossen wird und das wollen wir ja nicht. Aber das ist für Dich mit Hilfe einer Variablen sicher kein Problem ...&lt;br /&gt;
&lt;br /&gt;
[[Datei:Betretungsdetektor2.jpg|left|350px|border|Großaufnahme des Betretungsdetektors mit dem BBC micro:bit]]&lt;br /&gt;
&lt;br /&gt;
== [[Datei:icon_material.png|20px|Icon]] Materialien ==&lt;br /&gt;
&lt;br /&gt;
* BBC micro:bit&lt;br /&gt;
* 1 kleinen, guten Magneten&lt;br /&gt;
* 2 kleine Stücke doppelseitiges Klebeband (oder andere Ideen zum Befestigen von Magnet und BBC micro:bit an Tür und Türrahmen)&lt;br /&gt;
&lt;br /&gt;
== [[Datei:icon_sanduhr.png|20px|Icon]] Zeitaufwand ==&lt;br /&gt;
&lt;br /&gt;
* Zeitaufwand etwa 1 Schulstunde. Eventuell mehr, wenn man (optional) auch die Stärke des Magneten ausmessen und berücksichtigen will.&lt;br /&gt;
&lt;br /&gt;
== [[Datei:Icon_puzzle3.png|20px|Icon]] Schwierigkeitsgrad ==&lt;br /&gt;
[[Datei:SternGelb.png|30px|borderless]][[Datei:SternGelb.png|30px|borderless]][[Datei:SternLeer.png|30px|borderless]]&lt;br /&gt;
&lt;br /&gt;
== [[Datei:Icon_brain.png|20px|Icon]] Kompetenzen ==&lt;br /&gt;
&lt;br /&gt;
Du lernst&lt;br /&gt;
* vernetztes und fachübergreifendes Denken&lt;br /&gt;
* das Formulieren und Kodieren von einfachen Abläufen in formalen Algorithmen&lt;br /&gt;
* das Arbeiten mit verschiedenen Materialien und Werkzeugen (Magnete, Klebeband bzw. Halterungen)&lt;br /&gt;
* das Messen einer physikalischen Größe (Magnetfeldstärke) um einen geeigneten Schwellwert zu bestimmen (optional)&lt;br /&gt;
&lt;br /&gt;
== [[Datei:Icon faecher.png|20px|Icon]] Unterrichtsfächer ==&lt;br /&gt;
INF, WE, PH&lt;br /&gt;
&lt;br /&gt;
== [[Datei:Icon_hilfe.png|20px|Icon]] Tipps und Hilfestellung ==&lt;br /&gt;
* Zuerst sollte man sich überlegen, wie man am besten den BBC micro:bit mitsamt den Akkus und auch den Magneten auf Tür und Türrahmen festmachen will. Doppelklebeband? Knetmasse? Ring aus Klebestreifen mit der Klebeseite nach aussen? Bitte auch darauf achten, dass die beiden möglichst nahe aneinander befestigt werden, da die Magnetfeldstärke mit zunehmender Entfernung sehr rasch (der Physiklehrer bzw. die Physiklehrerin würde sagen: „mit dem Quadrat der Entfernung“) abnimmt!&lt;br /&gt;
* Je nachdem welchen Magneten du verwendest, sind auch die gemessenen Werte unterschiedlich hoch. Bei starken Magneten höher, bei schwachen niedriger. Dementsprechend kann auch der Schwellwert, bei dem du feststellst, dass die Tür geöffnet wurde, unterschiedlich hoch sein. Am besten misst du das einmal aus, bevor du alles an der Tür festmachst. In jedem Browser mit WebUSB (zB Chrome) kann man die Konsole zum BBC micro:bit anzeigen lassen. Das sieht dann zB so aus:&lt;br /&gt;
&lt;br /&gt;
[[Datei:Magnetfeldstärke USB.png|center|750px|border|Screenshot der übertragenen Magnetfeldstärkedaten des BBC micro:bit]]&lt;br /&gt;
&lt;br /&gt;
In diesem Fall wurde die Tür mehrmals geöffnet (niedriger Wert, weil der Magnet weiter vom BBC micro:bit entfernt ist) und geschlossen (höherer Wert). Hier sieht man, welche Messwerte entstehen, wenn ein bestimmter Magnet sich in der Nähe des BBC micro:bit befindet (ca. 300) und davon wegbewegt wird (ca. 50). Auch der niedrigere Werte kann sich unterscheiden, je nachdem welche und wieviele andere elektronische Geräte in der Nähe sind, die ebenfalls ein Magnetfeld erzeugen! Ein guter Schwellwert liegt dann in etwa in der Mitte dieser beiden Werte (hier ca. 150).&lt;br /&gt;
&lt;br /&gt;
Weitere Infos, Hinweise und auch eine mögliche, komplette Lösung findest du auf der [[Betretungsdetektor_Lösung|Lösungsseite zu diesem Beispiel]].&lt;br /&gt;
&lt;br /&gt;
== [[Datei:presentation.png|20px|Icon]] Präsentation und Reflexion ==&lt;br /&gt;
&lt;br /&gt;
# Stelle dein Ergebnis vor! Was kann dein Projekt? Funktioniert der Standard-Schwellwert der Magnetfeldstärke bei dir? Hast du einen besseren gemessen bzw. ermittelt?&lt;br /&gt;
# Was hat dir bei der Entwicklung deines Produkts gefallen?&lt;br /&gt;
# Welche Schwierigkeiten hast du gehabt? Wie konntest du sie lösen?&lt;br /&gt;
# Erläutere, wie dein Programm aussieht!&lt;br /&gt;
# Wo könnte man so einen „Betretungsdetektor“ noch verwenden, um zu prüfen, ob jemand unbefugt ein Zimmer oder ähnliches betreten hat? Fallen die noch weitere Anwendungsfälle ein?&lt;br /&gt;
# Wie könnte man das System austricksen, sodass der Detektor nicht anschlägt?&lt;br /&gt;
&lt;br /&gt;
== [[Datei:icon_plus.png|20px|Icon]] Weiterentwicklung ==&lt;br /&gt;
&lt;br /&gt;
* Ausmessen des Magneten über die USB-Schnittstelle, anzeigen der Messdaten in Echtzeit: in jedem Browser mit WebUSB kann man die Konsole zum BBC micro:bit anzeigen lassen, darüber kann man die aktuell gemessenen Daten anschauen und die optimalen Werte für die Magnetfeldstärke ermitteln, zB mit „Dauerhaft: Seriell Zeile ausgeben …“.&lt;br /&gt;
* Wenn man schon feststellt, ob Türen oder Fenster geöffnet werden, könnte man ja auch nicht nur zählen wie oft, sondern auch gleich einen Alarm ausgeben.&lt;br /&gt;
* Der BBC micro:bit hat ja auch eine Bluetoothfunktion. Damit könnte man auch zB die Daten aus der Ferne über Bluetooth auslesen und am Handy anzeigen, oder auch gleich am Handy einen Alarm ausgeben. Welche Funk-Reichweite hat Bluetooth?&lt;/div&gt;</summary>
		<author><name>Harald.burgsteiner</name></author>
	</entry>
</feed>