EasyManua.ls Logo

Waveshare Alphabot2 - Light Sensor

Waveshare Alphabot2
76 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Alphabot2 for micro:bit User Manual
23 / 76
geomagnetism always points to north of geomagnetism. Combine with accelerometer
and magnetometer, we can get the direction of North.
Note we you use compass, you should keep your micro:bit be static and cannot
be influenced by other magnetic fields.
1. Place show number block to forever
2. Find block magnetic heading (°) to number block
3. Add pause block for delay
4. Download the script to your micro:bit and try it.
5. Calibration also need to do after downloading.
LIGHT SENSOR
Micro:bit has no actual light sensor, however, it could sense ambient light by reversing
its LEDs matrix to become an input and sampling decay time of voltage
1. Place plot bar graph of block to forever

Related product manuals