(4)Test Results:
Upload the Code 1 and plug in power. And 5*5LED displays the ambient
temperature. When pressing the temperature sensor, the temperature will
grow on dot matrix.
Upload the code 2 plug in micro:bit via USB cable, when the ambient
temperature is less than 35 ℃ , 5*5LED will show
. When the
temperature is equivalent to or greater than 35℃, the pattern
will
appear.
(How to download?
How to quick
download?)
Project 6: Geomagnetic Sensor
(1)Project Description
This project mainly introduces the use of the Micro:bit's compass. In
addition to detecting the strength of the magnetic field, it can also be used
to determine the direction, an important part of the heading and attitude
reference system (AHRS) as well.
127