Alphabot2 for micro:bit User Manual
18
/
76
CHAPTER 3 SENSORS
Micro:bit integrates Temperature sensor, Accelerometer, Compass and so on. In this
chapter, we learn to use these sensors.
TEMPERATURE SENSOR
This sensor allows the micro:bit to detect the current ambient temperature in degree
Celsius. It is embedded in the main chip nrf51822, which is used to detect the
temperature of chip in fact. Even temperature of chip is a little different with ambient
temperature, but we can use it to get an approximate value.
In
Input
package,
temperature
(°C)
block is there. Combine with
show number
block,
we can show the ambient temperature in your room on LEDs display.
1.
Place
show number
block on
forever
.
2.
Place the
temperature
(°C)
blocks
Содержание Alphabot2
Страница 1: ...Alphabot2 for micro bit User Manual 1 76 Alphabot2 for micro bit User Manual...
Страница 12: ...Alphabot2 for micro bit User Manual 12 76...
Страница 59: ...Alphabot2 for micro bit User Manual 59 76 module...
Страница 63: ...Alphabot2 for micro bit User Manual 63 76 2 Script for receiver...