micro:bit連接Grove套件

一、micro:bit延申應用Grove套件組

1. 手勢感應器 (Gesture sensor)

範例一: 利用手勢感測器,上、下、左、右的手勢讓micro:bit外接蜂鳴器播放音效。

(Gesture sensor on Grove: It can recognize 9 gestures including move up, move down, move left, move right, forward, backward, clockwise, anticlockwise, and wave. For example, when your hand move up, the speaker will play the tone 'Do'. )

範例二:利用手勢感測器,上、下、左、右及由上而下的手勢讓micro:bit外接蜂鳴器播放小蜜蜂。

2. LED燈

範例一:利用micro:bit 按鈕A與B,設定LED燈開與關。

(Employing button A to turn on the LED and button B to turn off the LED.)

3. 光線感應器與LED燈 (light sensor and LED)

範例一:利用micro:bit 光線感應器控制LED開與關。

(Employing the light sensor to control the LED. When the light is dim, the LED will be turned on. )

4. 超音波感測器 (Ultrasonic ranger)

範例一:利用micro:bit 超音波感測器偵測距離。

(Ultrasonic ranger on Grove: It can measure the distance.)

6. 旋轉角度電位器 (Rotary angle sensor)

範例一:利用micro:bit 旋轉角度電位器控制LED燈帶亮度。

7. 設定腳位播放音符 (Digital or Analog Pins)

範例一:利用micro:bit 腳位設定播放音符,自製琴鍵。

8. 聽覺反應時間 (Audio or Visual Reaction time)

範例一:利用micro:bit 蜂鳴器與數字板, 設計聽覺反應時間。

人類的反應時間分為視覺與聽覺,一般的反應時間都在0.2秒以上。

利用micro:bit蜂鳴器及LED, 自製視覺與聽覺反應時間。

(註:數字板顯示的1000毫秒=1秒)

範例二:利用micro:bit LED燈與數字板, 設計視覺反應時間。