Case 6 - Detect the Rotation Angles of the Gyroscope

Part 1   Objective

After you upload the program, the screen of CyberPi displays the rotation angles in real time.

15.gif

Part 2   Preparation

  • CyberPi x 1

  • USB cable (Type-C) x 1

  • Computer with network access x 1

Connect CyberPi to the computer by using the cable, open mBlock 5 (PC client or web version), connect CyberPi, and select the Upload mode.

16.gif

17.gif

Part 3   Programming

Rotate CyberPi slowly. The screen of CyberPi displays the rotation angles on the x, y, and z axes in real time.

18.gif

Part 4   Practice

  1. Detect the angular speed on the x, y, and z axes.

  2. Detect the acceleration on the x, y, and z axes.

 

 

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Article is closed for comments.