Uploaded December 2025 | Updated November 2026, 5 days ago
Learn how to use the accelerometer to detect rotation (pitch and roll) and acceleration with micro:bit and Microsoft MakeCode. Watch the rest of our micro:bit tutorial videos here: youtube.com/playlist?list=PLlBVuTSjOrcnS-I-zERgyxHMcCRm6rvLM
micro:bit science projects: youtube.com/playlist?list=PLlBVuTSjOrclB5jkYe-BcQyUyYlSnU7gS&si=UVOR1AMKU817jmCs
Learn more about how an accelerometer works: sciencebuddies.org/science-fair-projects/references/accelerometer?ytid=0_GOnBtmv70&ytsrc=description
0:00 introduction
0:21 motion event blocks
1:27 rotation (pitch)
2:23 serial monitor
3:02 rotation (roll)
3:54 if/else statements with rotation
7:59 xyz acceleration
12:14 accelerometer range
13:30 if/else statements with acceleration
15:07 learn more
Science Buddies also hosts a library of instructions for over 1,500 other hands-on science projects, lesson plans, and fun activities for K-12 parents, students, and teachers! Visit us at sciencebuddies.org/?ytid=0_GOnBtmv70&ytsrc=description to learn more.
#STEM #sciencebuddies
*******************************
Connect with Science Buddies:
X: https://x.com/ScienceBuddies
FACEBOOK: facebook.com/ScienceBuddies
INSTAGRAM: instagram.com/scibuddy
PINTEREST: pinterest.com/sciencebuddies
Learn how to use the accelerometer to detect rotation (pitch and roll) and acceleration with micro:bit and Microsoft MakeCode. Watch the rest of our micro:bit tutorial videos here: youtube.com/playlist?list=PLlBVuTSjOrcnS-I-zERgyxHMcCRm6rvLM
micro:bit science projects: youtube.com/playlist?list=PLlBVuTSjOrclB5jkYe-BcQyUyYlSnU7gS&si=UVOR1AMKU817jmCs
Learn more about how an accelerometer works: sciencebuddies.org/science-fair-projects/references/accelerometer?ytid=0_GOnBtmv70&ytsrc=description
0:00 introduction
0:21 motion event blocks
1:27 rotation (pitch)
2:23 serial monitor
3:02 rotation (roll)
3:54 if/else statements with rotation
7:59 xyz acceleration
12:14 accelerometer range
13:30 if/else statements with acceleration
15:07 learn more
Science Buddies also hosts a library of instructions for over 1,500 other hands-on science projects, lesson plans, and fun activities for K-12 parents, students, and teachers! Visit us at sciencebuddies.org/?ytid=0_GOnBtmv70&ytsrc=description to learn more.
#STEM #sciencebuddies
*******************************
Connect with Science Buddies:
X: https://x.com/ScienceBuddies
FACEBOOK: facebook.com/ScienceBuddies
INSTAGRAM: instagram.com/scibuddy
PINTEREST: pinterest.com/sciencebuddies










