Case 4 - Beeps

Case 4 - Beeps

 

Part 1   Objective

Make Codey keep beeping.

k4p1v.mp4

Part 2   Preparation

  • Codey (robot controller) x 1

  • USB cable x 1

  • Computer with network access x 1

Connect Codey to the computer by using the USB cable, open mBlock 5 (PC client, web version, or mobile app), delete the default device, click +add, select Codey from Device Library and then click Set as mostly used device in the upper left corner, click Connect, and select the Upload mode.

13.gif
14.gif

Part 3   Programming

Use the play sound at frequency of ( ) HZ for ( ) secs block in Speaker blocks and the wait ( ) seconds block in Control blocks, and click Upload to make Codey keep beeping.

15.gif

Part 4   Practice

  1. Try to change the sound frequency and see how the sound changes.

  2. Try to use other Speaker blocks to make different sounds.

 

 

 

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

Comments

0 comments

Please sign in to leave a comment.