{"id":598,"date":"2025-02-19T14:57:58","date_gmt":"2025-02-19T06:57:58","guid":{"rendered":"https:\/\/code.xedulab.com\/?p=598"},"modified":"2025-03-31T13:50:45","modified_gmt":"2025-03-31T05:50:45","slug":"outdoor-activity-testing","status":"publish","type":"post","link":"https:\/\/code.xedulab.com\/index.php\/2025\/02\/19\/outdoor-activity-testing\/","title":{"rendered":"Outdoor Activity Testing"},"content":{"rendered":"<button class=\"simplefavorite-button has-count preset\" data-postid=\"598\" 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 temperature and humidity sensors to measure outdoor environmental data, such as temperature and humidity.<br>Advanced: Display data through a dot matrix screen based on the outdoor environment status.<br>Advanced: Consider storing environmental data for prediction.<br>Experiment: Currently unavailable.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-corecolumns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<p>1\u3001Teaching objectives (knowledge preparation)<\/p>\n\n\n\n<p>Understand temperature and humidity sensors, and learn about their control and usage methods.<\/p>\n\n\n\n<p>Implement the use of temperature and humidity sensors to monitor outdoor environments through programming.<\/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<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-corecolumns-is-layout-2 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<p>2\u3001Teaching tasks<\/p>\n\n\n\n<p>Build a temperature and humidity sensor that can detect outdoor environments and display data on four digital sensors. Thus, a device that provides a prompt on whether to go out through a dot matrix screen.<\/p>\n\n\n\n<p>(Project completion image: in image format)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"904\" height=\"280\" src=\"https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-42.png\" alt=\"\" class=\"wp-image-2971\" srcset=\"https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-42.png 904w, https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-42-300x93.png 300w, https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-42-768x238.png 768w\" sizes=\"(max-width: 904px) 100vw, 904px\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\"><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-corecolumns-is-layout-3 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<p>3\u3001Preparation of teaching environment and equipment<\/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>Temperature &amp; Humidity<\/td><td>&nbsp;<\/td><td>1<\/td><\/tr><tr><td>2<\/td><td>&nbsp;<\/td><td>Four-digit Display<\/td><td>&nbsp;<\/td><td>1<\/td><\/tr><tr><td>3<\/td><td>&nbsp;<\/td><td>Matrix Display Dot matrix LED<\/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: Temperature &amp; Humidity\u3001Four-digit Display\u3001Matrix Display Dot matrix LED.<\/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<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-corecolumns-is-layout-4 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<p>4\u3001Project 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<ol class=\"wp-block-list\">\n<li><strong>Project video (in video format)<\/strong><\/li>\n\n\n\n<li><strong>Project Steps<\/strong><\/li>\n<\/ol>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Firstly, according to the item list, fix the temperature and humidity sensor, four-way digital tube, and dot matrix screen.<\/li>\n\n\n\n<li>The four digital tubes display the ambient temperature, humidity, and initial value of 0 in sequence.<\/li>\n\n\n\n<li>Set up logic that meets outdoor activities, using logic and. The temperature is greater than 5 degrees Celsius and the humidity is less than 50%.<\/li>\n\n\n\n<li>Use SMART Code to program and control devices.<\/li>\n<\/ol>\n\n\n\n<p>Firstly, create a program entry and initialize the four digital tubes with a value of 0, causing the dot matrix screen to not display. The example code is as follows:<\/p>\n\n\n\n<p>Then, create a loop statement to obtain temperature and humidity values, which are displayed sequentially on four digital displays with a time interval of 1 second. Finally, adding a display of 0 indicates completion of one detection. The example code is as follows:<\/p>\n\n\n\n<p>Then, write logic suitable for outdoor activities using the &#8220;logic and&#8221; statement. If the temperature is greater than 5 degrees Celsius and the humidity is less than 50%, it is suitable for outdoor activities. Display &#8220;\u221a&#8221; on the dot matrix screen, otherwise display &#8220;X&#8221;. Example code is as follows:<\/p>\n\n\n\n<p>Finally, complete all the logic. The example code is as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"865\" height=\"554\" src=\"https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-43.png\" alt=\"\" class=\"wp-image-2972\" srcset=\"https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-43.png 865w, https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-43-300x192.png 300w, https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-43-768x492.png 768w, https:\/\/code.xedulab.com\/wp-content\/uploads\/2025\/02\/image-43-150x95.png 150w\" sizes=\"(max-width: 865px) 100vw, 865px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Optimization and improvement plan.<\/li>\n\n\n\n<li>Run the program to verify whether the temperature and humidity values will change according to environmental changes.<\/li>\n\n\n\n<li>Optimization and improvement plan.<\/li>\n\n\n\n<li>Interesting thinking: Factors influencing outdoor activity environment monitoring, comparison of morning and evening data differences.<\/li>\n<\/ul>\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<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-corecolumns-is-layout-5 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<p>5\u3001Extension and Expansion<\/p>\n<\/div>\n<\/div>\n<button class=\"simplefavorite-button has-count preset\" data-postid=\"598\" 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 temperature and humidity sensors &#8230;<\/p>\n","protected":false},"author":16,"featured_media":2974,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[83,84,86],"tags":[],"class_list":["post-598","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-art","category-environment"],"_links":{"self":[{"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/posts\/598","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=598"}],"version-history":[{"count":4,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/posts\/598\/revisions"}],"predecessor-version":[{"id":2975,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/posts\/598\/revisions\/2975"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/media\/2974"}],"wp:attachment":[{"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/media?parent=598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/categories?post=598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code.xedulab.com\/index.php\/wp-json\/wp\/v2\/tags?post=598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}