{"id":2950,"date":"2025-03-28T17:30:02","date_gmt":"2025-03-28T09:30:02","guid":{"rendered":"https:\/\/code.xedulab.com\/?p=2950"},"modified":"2025-03-31T13:53:56","modified_gmt":"2025-03-31T05:53:56","slug":"noise-detection-2","status":"publish","type":"post","link":"https:\/\/code.xedulab.com\/index.php\/2025\/03\/28\/noise-detection-2\/","title":{"rendered":"Noise detection"},"content":{"rendered":"<button class=\"simplefavorite-button has-count preset\" data-postid=\"2950\" 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>Introduction: Use a sound intensity sensor to obtain the decibel value of sound. Reflect the values on four digital tubes. Then use RGB lights to display the noise status.<br>Advanced: Combined with voice switch, measure sound values, clarify the definition and range of noise.<br>High level: noise reduction processing.<br>Experiment: Physics Experiment: Propagation of Sound. The energy of sound and the harm of noise.<\/p>\n\n\n\n<p><strong>1\u3001Teaching objectives (knowledge preparation)<\/strong><\/p>\n\n\n\n<p>Understand sound intensity sensors and be familiar with their use and control.<br>By programming with sound intensity sensors, four digit digital tubes, and RGB lights, noise detection can be achieved.<br>Can be combined with real-life application scenarios and project devices.<\/p>\n\n\n\n<p><strong>2\u3001Teaching tasks<\/strong><\/p>\n\n\n\n<p>Use a sound intensity sensor to obtain the decibel value of sound. Reflect the values on four digital tubes. If the sound exceeds the set decibel value, the RGB light will display red, otherwise the green light will remain on.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"784\" height=\"375\" src=\"https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/03\/image-23.png\" alt=\"\" class=\"wp-image-2951\" srcset=\"https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/03\/image-23.png 784w, https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/03\/image-23-300x143.png 300w, https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/03\/image-23-768x367.png 768w\" sizes=\"(max-width: 784px) 100vw, 784px\" \/><\/figure>\n\n\n\n<p><strong>3\u3001Preparation of teaching environment and equipment<\/strong><\/p>\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>Sound<\/td><td>&nbsp;<\/td><td>1<\/td><\/tr><tr><td>2<\/td><td>&nbsp;<\/td><td>Four digit digital tube<\/td><td>&nbsp;<\/td><td>1<\/td><\/tr><tr><td>3<\/td><td>&nbsp;<\/td><td>RGB Light<\/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: Sound, Four digit digital tube, RGB Light.<\/p>\n\n\n\n<p><strong>Other: <\/strong>Several building block devices.<\/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>18<\/td><\/tr><tr><td>2<\/td><td>&nbsp;<\/td><td>7-hole beam<\/td><td>&nbsp;<\/td><td>6<\/td><\/tr><tr><td>3<\/td><td>&nbsp;<\/td><td>13-hole beam<\/td><td>&nbsp;<\/td><td>6<\/td><\/tr><tr><td>4<\/td><td>&nbsp;<\/td><td>T-shaped beam<\/td><td>&nbsp;<\/td><td>6<\/td><\/tr><tr><td>5<\/td><td>&nbsp;<\/td><td>Black sales<\/td><td>&nbsp;<\/td><td>54<\/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><strong>4\u3001Project Practice Process<\/strong><\/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>1.Fixed sound intensity sensor, four digit digital tube, and RGB light.<\/p>\n\n\n\n<p>2.Connect a four digit digital tube to display sound intensity data.<\/p>\n\n\n\n<p>3.Use SMART Code software for programming.<\/p>\n\n\n\n<p>Firstly, create a program entrance. The example code is as follows:<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Then, create the variable voice and assign the value obtained by the sound intensity sensor to the variable. The example code is as follows:<\/p>\n\n\n\n<p>Then, set the display interval to 100ms each time, and determine the value of the variable. If the sound exceeds 70db, set the RGB light to red and keep it on, otherwise keep it green. The example code is as follows:<\/p>\n\n\n\n<p>Finally, complete the entire code. The example code is as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"865\" height=\"829\" src=\"https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/03\/image-24.png\" alt=\"\" class=\"wp-image-2952\" srcset=\"https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/03\/image-24.png 865w, https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/03\/image-24-300x288.png 300w, https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/03\/image-24-768x736.png 768w\" sizes=\"(max-width: 865px) 100vw, 865px\" \/><\/figure>\n\n\n\n<p>4.Fun: Combining dot matrix screens for fun displays.<\/p>\n\n\n\n<p>3.<strong>Reflection and discussion:<\/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:<\/p>\n\n\n\n<p><strong>5\u3001Extension and Expansion<\/strong><\/p>\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<button class=\"simplefavorite-button has-count preset\" data-postid=\"2950\" 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 Introduction: Use a sound intensity sensor to obtai&#8230;<\/p>\n","protected":false},"author":16,"featured_media":2953,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[83,86,5],"tags":[],"class_list":["post-2950","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-environment","category-c2"],"_links":{"self":[{"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/posts\/2950","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=2950"}],"version-history":[{"count":1,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/posts\/2950\/revisions"}],"predecessor-version":[{"id":2954,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/posts\/2950\/revisions\/2954"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/media\/2953"}],"wp:attachment":[{"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/media?parent=2950"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/categories?post=2950"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/tags?post=2950"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}