Case 22 - Fall Alarm

Case 22 - Fall Alarm

Part 1   Objective

After you upload the program, set CyberPi upright. When the dumping angle of CyberPi is greater than 80 degrees, the speaker raises an alarm, and red LEDs flicker. Press button A to cancel the alarm, and reset the dumping angle to 0 degrees.

58.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, web version, or mobile app), connect CyberPi, and select the Upload mode.

59.gif
60.gif

Part 3   Programming

61.png

Part 4   Practice

  1. Install the fall alarm on your doll and see what happens.

 

 

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

Comments

0 comments

Please sign in to leave a comment.