Case 5 - Detect the loudness

Part 1   Objective

After you upload the program, the screen of CyberPi displays the loudness detected by the microphone in real time.

12.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.

11.gif

13.gif

Part 3   Programming

CyberPi detects the ambient loudness and displays the value on the screen in real time.

14__1_.gif

Part 4   Practice

Try to make sounds by using different objects and see which one is the loudest.

 

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

Comments

0 comments

Please sign in to leave a comment.