{"id":563,"date":"2025-02-18T10:39:14","date_gmt":"2025-02-18T02:39:14","guid":{"rendered":"https:\/\/code.xedulab.com\/?p=563"},"modified":"2025-03-31T13:51:58","modified_gmt":"2025-03-31T05:51:58","slug":"school-bell","status":"publish","type":"post","link":"https:\/\/code.xedulab.com\/index.php\/2025\/02\/18\/school-bell\/","title":{"rendered":"School bell"},"content":{"rendered":"<button class=\"simplefavorite-button has-count preset\" data-postid=\"563\" data-siteid=\"1\" data-groupid=\"1\" data-favoritecount=\"0\" style=\"box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;background-color:#ffffff;border-color:#ffffff;color:#686868;\"><i class=\"sf-icon-favorite\" style=\"color:#686868;\"><\/i>\u6536\u85cf<span class=\"simplefavorite-button-count\" style=\"\">0<\/span><\/button>\n<p><strong>Beginner &#8211; Advanced &#8211; Advanced &#8211; Experimental<\/strong><\/p>\n\n\n\n<p>Introduction: Creating Simple Vocal Structures. Includes switch sensors and speakers.<\/p>\n\n\n\n<p>Advanced: Added a four digit clock digital tube and added timing function.<\/p>\n\n\n\n<p>Advanced: timestamp, automatic switch during holidays.<\/p>\n\n\n\n<p>Experiment: Physics experiment, propagation of sound.<\/p>\n\n\n\n<p>1.Teaching objectives (knowledge preparation)<\/p>\n\n\n\n<p>Get to know speakers, understand their control and usage methods.<\/p>\n\n\n\n<p>Implement speaker control through programming. Capable of playing pre prepared audio from the speaker.<\/p>\n\n\n\n<p>Being able to combine real-life application scenarios and apply project devices to achieve intelligent application scenarios in daily life.<\/p>\n\n\n\n<p>2.Teaching tasks<\/p>\n\n\n\n<p>Build a simple player that can control the speaker to play music by turning it on and off.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"717\" height=\"280\" src=\"https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-51.png\" alt=\"\" class=\"wp-image-2993\" srcset=\"https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-51.png 717w, https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-51-300x117.png 300w\" sizes=\"(max-width: 717px) 100vw, 717px\" \/><\/figure>\n\n\n\n<p>3.Preparation of teaching environment and equipment<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<p>Equipment List: Image (with label number 123456)<\/p>\n\n\n\n<p><strong>Equipment Serial Number Table<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>Serial number<\/td><td>number<\/td><td>equipment<\/td><td>Specifications<\/td><td>quantity<\/td><\/tr><tr><td>1<\/td><td>&nbsp;<\/td><td>Switch<\/td><td>&nbsp;<\/td><td>1<\/td><\/tr><tr><td>2<\/td><td>&nbsp;<\/td><td>Buzzer<\/td><td>&nbsp;<\/td><td>1<\/td><\/tr><tr><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><td>&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Software: <\/strong>Smart Code programming software.<\/p>\n\n\n\n<p><strong>Hardware: <\/strong>SMART Code kit: Switch\u3001Buzzer.<\/p>\n\n\n\n<p><strong>Other: <\/strong>Several sound sources and building block equipment.<\/p>\n\n\n\n<p><strong>Detailed List of Structural Components<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>Serial number<\/td><td>number<\/td><td>equipment<\/td><td>Specifications<\/td><td>quantity<\/td><\/tr><tr><td>1<\/td><td>&nbsp;<\/td><td>3-hole beam<\/td><td>&nbsp;<\/td><td>12<\/td><\/tr><tr><td>2<\/td><td>&nbsp;<\/td><td>7-hole beam<\/td><td>&nbsp;<\/td><td>4<\/td><\/tr><tr><td>3<\/td><td>&nbsp;<\/td><td>13-hole beam<\/td><td>&nbsp;<\/td><td>4<\/td><\/tr><tr><td>4<\/td><td>&nbsp;<\/td><td>T-shaped beam<\/td><td>&nbsp;<\/td><td>4<\/td><\/tr><tr><td>5<\/td><td>&nbsp;<\/td><td>Black sales<\/td><td>&nbsp;<\/td><td>36<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Note: Materials required to fix a set of sensors: 6 3-hole beams, 2 7-hole beams, 2 13 hole beams, 2 T-shaped beams, and 18 black pins.<\/p>\n\n\n\n<p>4.Project Practice Process<\/p>\n\n\n\n<p>(Summary of Knowledge Points: 1. Components. 2. Program Modules. 3. Program Design)<\/p>\n\n\n\n<p>1.<strong>Project video (in video format)<\/strong><\/p>\n\n\n\n<p>2.<strong>Project Steps<\/strong><\/p>\n\n\n\n<p>First, connect the switch sensor and speaker.<\/p>\n\n\n\n<p>Use SMART Code to program and control devices.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<p>Firstly, using the advanced functions of the switch sensor, event statements, when the switch key is pressed and released, two event statements are used:<\/p>\n\n\n\n<p>Finally, add the corresponding buzzer statement. The example code is as follows:<\/p>\n\n\n\n<p>3.Optimization and improvement plan.<\/p>\n\n\n\n<p>4.Interesting thinking:<\/p>\n\n\n\n<p>3.<strong>Reflection and discussion: What are the methods to play the school ringtone regularly?<\/strong><\/p>\n\n\n\n<p>Experimental results<\/p>\n\n\n\n<p>Data records: Table 1 and Table 2<\/p>\n\n\n\n<p>Experimental conclusion: The reference code is as follows: (Note: The theoretical time interval is 1000ms, but in order to speed up the time interval, it has been shortened to 100ms.)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"865\" height=\"193\" src=\"https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-50.png\" alt=\"\" class=\"wp-image-2992\" srcset=\"https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-50.png 865w, https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-50-300x67.png 300w, https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-50-768x171.png 768w\" sizes=\"(max-width: 865px) 100vw, 865px\" \/><\/figure>\n\n\n\n<p>5.Extension and Expansion<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<p>Reflection and exploration:<\/p>\n\n\n\n<p>Question 1:<\/p>\n\n\n\n<p>Question 2:<\/p>\n\n\n\n<p><\/p>\n<button class=\"simplefavorite-button has-count preset\" data-postid=\"563\" data-siteid=\"1\" data-groupid=\"1\" data-favoritecount=\"0\" style=\"box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;background-color:#ffffff;border-color:#ffffff;color:#686868;\"><i class=\"sf-icon-favorite\" style=\"color:#686868;\"><\/i>\u6536\u85cf<span class=\"simplefavorite-button-count\" style=\"\">0<\/span><\/button>","protected":false},"excerpt":{"rendered":"<p>\u6536\u85cf0 Beginner &#8211; Advanced &#8211; Advanced &#8211; &#8230;<\/p>\n","protected":false},"author":16,"featured_media":2994,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86,81],"tags":[],"class_list":["post-563","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-environment","category-iot"],"_links":{"self":[{"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/posts\/563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/comments?post=563"}],"version-history":[{"count":3,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/posts\/563\/revisions"}],"predecessor-version":[{"id":3023,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/posts\/563\/revisions\/3023"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/media\/2994"}],"wp:attachment":[{"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/media?parent=563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/categories?post=563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/tags?post=563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}