Try   HackMD

首次使用micro:bit | 認識感測器

學習如何程式化你的micro:bit來使用感測器測量環境資料。

Building on your learning in the LEDs and buttons sets, these projects and videos will show you how to program your micro:bit to sense movement, light, temperature and magnetic fields.

Each set of projects is designed to build your understanding and confidence progressively. You can pick one or work through them all to develop your understanding of using the micro:bit’s sensors.

https://youtu.be/UT35ODxvmS0

https://youtu.be/mrHn8eZ9eqg

Set 1: Accelerometer games

In this sequence of projects, you’ll learn how to use the accelerometer and create dice and a game with your micro:bit.

Set 2: Accelerometer step counters

Learn how to use the accelerometer to program increasingly sophisticated step counters.

Set 3: Temperature

Learn how to transform your micro:bit into a thermometer.

Set 4: Light

Discover how to use the micro:bit's built-in light sensor, starting with the 'Sunlight sensor' project we met in the LEDs and buttons set.

Set 5: Compass

Transform your micro:bit into a compass and learn how to use it to sense if magnets are near

Set 6: Touch logo - new

The new micro:bit with sound has a gold logo on the front that works as a touch sensor. These projects show you how you can use it as an extra input.

tags: micro:bit 中文學習資源