EasyManua.ls Logo

Keyestudio 4WD - Project 7: Accelerometer

Keyestudio 4WD
369 pages
Print Icon
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...
142
www.keyestudio.com
Project 7: Accelerometer
(1)Project Description
The micro:bit board has a built-in Freescale MMA8653FC three-axis
acceleration sensor (accelerometer). Its I2C interface works on external
communication, the range can be set to ± 2g, ± 4g, and ± 8g, and the
maximum data update rate can reach 800Hz.
When the Micro:bit is stationary or moving at a constant speed, the
accelerometer only detects the gravitational acceleration; when the
Micro:bit is slightly shaken, the acceleration detected is much smaller than
the gravitational acceleration and can be ignored. Therefore, in the process
of using Micro:bit, the main purpose is to detect the changes of the
gravitational acceleration on the x, y, and z axes when the attitude
changes.
For this project, we will introduce the detection of several special postures
by the accelerometer.
(2)Experimental Preparation:
Connect micro:bit to computer with the USB cable
Open online Makecode editor

Related product manuals