Professional Documents
Culture Documents
Leerdoelen
1. Leerlingen kunnen het figuur omhoog / omlaag / naar links / naar
rechts verplaatsen met de G1 accelerometer en gyroscoop.
KUBUS
- Het eenvoudigste basismodel voor Pingpong.
- Een module robot.
1. Structuur van de kubus.
1. Structuur van de kubus.
2. Hoe de accelerometer werkt.
Source:: https://ibmhdd.tistory.com/1
pingpong
- Definitie: een sensor die een draaiend object meet (graden per + Accelerometer
seconde).
-+ Gyroscoop
- Gebruikt met de versnellingssensor omdat er geen +Z
referentiepunt is.
+Y
- Van cruciaal belang om objecten te detecteren die 360 graden
roteren.
☆ ♡ □
○
출처: https://blog.lgcns.com/1101
1. Open Scratch 3.0 om de kubus te verbinden.
- Download en open het bestand van PingPong Scratch Link.
2. Voer eerst de PingPong Scratch Link uit voordat u Scratch opent en het bestand download.
Installeer het programma Start het programma Toegang tot Scratch 3.0
https://roborisen.co
m/scratchlink/
2. Open Scratch 3.0 om de kubus te verbinden.
- Klik op “Add extension” in de linker hoek.
2. Verbind Scratch met de kubus.
Druk op de aan/uit-knop (geel) om de kubus in te schakelen.
2. Verbind Scratch met de kubus.
<Beweeg de hengel>.
Ga naar rechts: kantel de kubus naar de vierkante symboolkant.
Ga naar links: kantel de kubus naar de ster met het symboolsymbool.
Naar beneden bewegen: kantel de kubus naar de kant van het
cirkelsymbool.
Omhoog bewegen: kantel de kubus naar de kant van het driehoekssymbool.
Teken figuur
Vishengel x: 0, y: 120
Richting: 90°
x: -200, y: -150
Haai 2
Richtingn: 90°
x: -150, y: -150
Vis
Richting: 90°
x: 100, y: -150
Kogelvis
Richting: 90°
3. De vishengel tekenen (figuur)
자율미션
symbol (left), change x-value by -1.
4. If the Cube tilts towards the triangle shape
symbol (backwards), change y-value by -2.
If the rod touches the ocean floor (ex. y-
value < -200), it should move back to its
original position. Play the sound.
5. If the Cube tilts towards the circle shape
symbol (upwards), change the y-value by 2.
Algoritme Code
Algoritme Code