4種基本顏色:黑、紅、藍、綠 組成1000多種命令讓小傢伙跑,除了基本上的走黑線外,它走在不同顏色的線上,頭頂還可以發出不同的光
4種基本顏色:黑、紅、藍、綠 組成的命令 舉例如下(有漏的幫我補) - 單色 1.黑(BK) 2.紅(R) 3.藍(BE) 4.綠(G) 黑色是基本路線
- 雙色 1.BK+R 2.BK+BE 3.BK+G 4.R+BE 5.R+G 6.BE+G
- 三色 1.BK+R+BE 2.BK+R+G 3.R+BE+G 以RGB三色指令是最常用的基本指令
- 四色 1.BK+R+BE+G
- 要領:視頻解說1 解說2(各種動作) 比賽
- 色碼指令:詳細解說(下載PDF) 色碼指令教材(奇怪 現在不能進入 待查證)
- 色碼指令練習大全:OZOCODE LESSONS
- 官方色碼遊戲:http://games.ozoblockly.com/
- 代碼貼紙:代碼貼可以在許多情況下使用,而不是標記。這樣可以讓學生輕鬆調整自己的工作並節省許多張紙。聯繫我們詢問有關代碼貼紙的可用性。
色碼主要由RGB三色也就是紅綠藍構成,例如你在紙上畫出綠紅綠紅的色碼,當機器人讀到這段色碼,就會在原地旋轉,又如果讀取到藍黑藍色碼,它則會突然加速。此外,它在辨色的同時,頂部還會發出與路徑上相同的燈號,增加行走時的樂趣與變化。畫個「藍黑藍」的色碼讓它走過去,它就會讀出Fast,然後就會飛快的衝過去,當然還有其他變化,例如 遇叉路左轉右轉,U轉、倒轉、像龍捲風一樣大旋轉等等。 順便背(記)一些英文單字:下面6個類型的命令英文單字要先記(背)熟 後面教編程會用到
練習熟之後(英文字要背熟),可以改用寫程式方式完成,用的語言就像是Scratch的拖拉積木式的程式語言,它叫做OzoBlockly,可以設定它幾秒鐘就左轉、走多遠、轉幾度,讀到什麼顏色就做什麼事情,也有迴圈、函數和變數、數學運算等功能,具有非常完整的程式控制語言。
- 1.速度的命令
- 2.方向的命令
- 3.時間控制命令
- 4.酷炫移動(龍捲風 Z字形 旋轉疾馳 倒回走)
- 5.計數(步)器
- 6.結束(離開及輸贏)
SPEED
Speed codes change your Ozobot’s velocity from Snail Dose (slowest) to Nitro Boost (fastest). Snail (slowest) → slow → cruise (default) → fast → turbo → nitro boost (fastest) 速度代碼將Ozobot小傢伙的速度從龜速(最慢)調整更改為飛快Nitro Boost(最快)。 蝸牛龜速(最慢)→慢→正常巡航速度(默認) →快→渦輪增速→加速升壓(最快)
- Snail Dose: A three-second dose of super slow speed
- Slow: A slow speed command effective until the bot reads a new speed code or is turned off
- Cruise: The default speed command
- Fast: A high speed command effective until the bot reads a new speed code or is turned off
- Turbo: An extra high speed command effective until the bot reads a new speed code or is
turned off
- Nitro Boost: A three-second dose of super high speed even faster than turbo
DIRECTION
Direction codes tell your Ozobot what to do at an intersection. Ozobot’s default intersection behavior is random. If a given turn, i.e. ‘Go Left’ is not possible,
Ozobot defaults back to random behavior.
- Go Left: A command to turn left at the next intersection
- Go Straight: A command to continue straight at the next intersection
- Go Right: A command to turn right at the next intersection
- Line Jump Left: A command to immediately turn 90 degrees to the left, move forward to a
new line, then make a random turn to follow along the new line
- Line Jump Straight: A mid-line command to continue straight after the line ends. The code
will not work if Ozobot encounters an intersection before the line ends.
- Line Jump Right: A command to immediately turn 90 degrees to the right, move forward to
a new line, then make a random turn to follow along the new line
- U Turn: A mid-line command to turn around 180 degrees and follow the same line in the
opposite direction.
- U Turn (Line End): A line-end command to turn around 180 degrees and follow the line in
the opposite direction.
TIMERS
Timer codes tell your Ozobot to pause or count seconds.
- Timer On (30 sec. to stop): A command to make your Ozobot countdown from 30 seconds,
but continue to move and read codes while counting down. Ozobot will flash its light(s) at a
rate of one flash per second, flash rapidly to signify time is up, then shut off.
- Timer Off: A command to stop counting down seconds and return to default behavior.
- Pause (3 sec.): A command to stop moving for three seconds, then continue with
default behavior.
COOL MOVES
Cool Move codes tell your Ozobot to bust a move!
- Tornado: A command to spin around twice at increasing speed, then continue following
the line in the same direction.
- Zigzag: A command to sway right-left-right-left while moving forward, then continue
moving straight.
- Spin: A command to spin around twice at a consistent speed, then continue following
the line in the same direction.
- Backwalk: A command to quickly turn 180 degrees, wiggle backwards for one second,
then turn 180 degrees again and continue following the line in the same direction.
COUNTERS
Counter codes tell your Ozobot to count five intersections, turns, or line color changes.
- Enable X-ing Counter: A command to make your Ozobot stop following lines after it
crosses five intersections (‘T’ or ‘+’ intersections). After the fifth intersection, Ozobot
executes a “done” maneuver, stops following the line, and blinks red.
- Enable Turn Counter: A similar command to the Enable X-ing Counter, except that Ozobot
only counts intersections where it makes a turn. It will not count intersections where it
continues straight. Ozobot can randomly choose to go straight at an intersection, or be
commanded to go straight with a “Go Straight” code.
- Enable Path Color Counter: A command to make your Ozobot stop following lines after it
reads five color changes in the line. If the line Ozobot is following transitions from red to
green, it counts as one color change. Transitions to and from black lines are not counted,
and color segments less than two centimeters in length are not counted.
- Enable Point Counter: A command that tells your Ozobot to count point codes down
from five. Each time Ozobot reads a “Point -1” code it counts down. After the fifth “Point
-1” code Ozobot will make a “done” maneuver, stop following lines, and blink red. You can
add more to the total count (not to exceed five) with “Point +1” codes. You can reset
Ozobot by turning it off, then on.
WIN/EXITS
Win/Exit codes tell your Ozobot to celebrate its success, then either start over or stop.
- Win/Exit (Play Again): A command to perform a “success” animation, then continue to
follow the line.
- Win/Exit (Game Over): A command to perform a “success” animation, then stop
following the line.
Ozobot使用的是内置USB,所以用户能够直接将它连接电脑进行充电,或者一般的手机USB充电器也是它非常理想的充电设备哦,时长约20分钟(电脑上充电也许在30分钟左右),能够维持30分钟的正常工作。
|
|