HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY OF HIGH QUALITY TRAINING REPORT C.H.I.T.A (Control Humidifier In The Air) Name of Students Student ID Đỗ Hồng Quân 19161049 Vũ Đức Thoại 19161029 Nguyễn Phúc Tiến 19161030 Trần Lê Xuân Huy 19161031 Ho Chi Minh City, 6th, January, 2021 HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY OF HIGH QUALITY TRAINING REPORT C.H.I.T.A (Control Humidifier In The Air) Name of Students Student ID Đỗ Hồng Quân 19161049 Vũ Đức Thoại 19161029 Nguyễn Phúc Tiến 19161030 Trần Lê Xuân Huy 19161031 Ho Chi Minh City, 6th, January, 2021 Ho Chi Minh City, January 6th, 2021 RESEARCH PROJECT ASSIGNMENT Student name: Student ID: Student name: Student ID: Student name: Student ID: Student name: Student ID: Major: Electrical and Electronic Class: Telecommunication Engineering Advisor: Nguyen Thoi Phone number: Date of assignment: Date of submission: 1. Project title: 2. Initial materials provided by the advisor: 3. Content of the project: 4. Final product: CHAIR OF THE PROGRAM (Sign with full name) ADVISOR (Sign with full name) Ho Chi Minh City, January 6th, 2021 PROJECT EVALUATION SHEET Student name: ................................................................................................... Student ID: ........................................................................................................ Student name: ................................................................................................... Student ID: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Student name: ................................................................................................... Student ID: ........................................................................................................ Student name: ................................................................................................... Student ID: ........................................................................................................ Major:................................................................................................................ Project title: .................................................................................................... Advisor: ........................................................................................................... EVALUATION 1. Content of the project: .......................................................................................................................... .......................................................................................................................... .......................................................................................................................... .......................................................................................................................... 2. Strengths: .......................................................................................................................... .......................................................................................................................... .......................................................................................................................... .......................................................................................................................... 3. Weaknesses: .......................................................................................................................... .......................................................................................................................... .......................................................................................................................... .......................................................................................................................... 4. Approval for Tech Show? (Approved or denied) .......................................................................................................................... .......................................................................................................................... .......................................................................................................................... .......................................................................................................................... 5. Overall evaluation: (Excellent, Good, Fair, Poor) .......................................................................................................................... .......................................................................................................................... .......................................................................................................................... .......................................................................................................................... 6. Mark: .............. (in words............................................ ) Ho Chi Minh City, January 6th, 2021 ADVISOR (Sign with full name) ` DISCLAIMER The information of this project is the opinion or opinion in the article that is of individual group, not influenced or controlled by any company, organization or sponsor. The author always tries to provide accurate and truthful information to the best of his knowledge. Over time, technology may change so the content of the article may no longer be accurate. One very important thing that people often ignore, is that the product is only maximized when in enclosed spaces. So if the above condition is not met, the user should accept certain risks if any. When reading the content in C.H.I.T.A, it means that you have accepted the terms of the author mentioned above. COPY RIGHT These articles and content are the copyrights of IRONTEAM (except articles with reference). The author does not agree to arbitrarily take the content of the article to publish or republish on another website. If you really want to republish any posts, please quote The author used images found on the internet. If any images are copyrighted, the author will always respect. 1 ` ACKNOWLEDGEMENTS A completed study would not be done without any assistance. Therefore, the author who conducted this research gratefully gives acknowledgement to their support and motivation during the time of this research as a requirement of completing my C.H.I.T.A project. First of all, I would like to express my endless thanks and gratefulness to my supervisor Dr. Nguyễn Thới. His kindly support and continuous advices went through the process of completion of my thesis. His encouragement and comments had significantly enriched and improved my work. Without his motivation and instructions, the thesis would have been impossible to be done effectively. As a part of project: EXPERIMENT RESULTS AND ANALYSIS, my thesis has been done by contribution of all relevant students. So far, I would like to thanks to peoples who took charge in the process of data collection and data entry for doing this research as a part of the project. I also acknowledge my thankfulness to all respondents and managements’ branches of AIM program where data would be collected for their valuable time, kind assistances and support in participating in the surveys. I would like to state my thanks to Ho Chi Minh University Of Technology And Education where supported for the project and provided me lab to pursuing and completing my degree. My special thanks approve to my parents for their endless love, care and have most assistances and motivation me for the whole of my life. I also would like to explain my thanks to my siblings, brothers and sisters for their support and care me all the time. As last, my deeply thanks come to all my friends during time I study in Việt Nam . Their kindly help, care, motivation gave me strength and lift up all the trouble for the rest of my life. 2 ` TABLE OF CONTENTS DISCLAIMER .......................................................................................... 1 ACKNOWLEDGEMENTS ..................................................................... 2 TABLE OF CONTENTS ......................................................................... 3 LIST OF FIGURES .................................................................................. 4 LIST OF TABLES .................................................................................... 5 LIST OF ABBREVIATION .................................................................... 6 ABSTRACT ............................................................................................... 7 CHAPTER 1. INTRODUCTION ............................................................ 8 I. PROBLEM STATEMENT ............................................................ 8 II. CASE STUDY AND CONSTRAINTS ........................................ 8 III. DESCRIPTION OF THE PROJECT ........................................ 9 IV. RESEARCH METHODOLOGY ............................................... 9 V. BRIEF CONTENT ........................................................................ 9 VI. METHODOLOGY..................................................................... 10 CHAPTER 2. LITERATURE REVIEW.............................................. 17 2.1. Background .................................................................................. 17 2.2. Research and review of an existing system (device)................... 24 CHAPTER 3. DESIGN AND IMPLEMENTATION ......................... 27 3.1. Block Diagram............................................................................. 27 3.2. Operation Description ................................................................. 28 3.3. Electrical Design ......................................................................... 30 3.4. Control Design............................................................................. 41 CHAPTER 4. EXPERIMENT RESULTS AND ANALYSIS ............ 45 4.1 . Design Experiments.................................................................... 45 4.2. Operation Experiments ................................................................ 49 4.3. Conclusion ................................................................................... 53 CHAPTER 5. CONCLUSION AND RECOMMENDATIONS ......... 54 5.1. Conclusion ................................................................................... 54 5.2. Recommendations ....................................................................... 54 REFERENCES........................................................................................ 55 3 ` LIST OF FIGURES Content Page Fig 1.1 The current principle creates sound waves 22 Fig 1.2 Describes how sound waves separate water 23 Fig 1.3 Overview diagram of the steam generator 23 4 ` LIST OF TABLES Content Page Time progress table 11,12,13 Cost Management table 14 Risk management table 15,16 Needs table 43 Metrics table 44 List of indirect metrics table 44 Direct dimension and Indirect dimension 45 General specifications for the product 46 Experiment method 47 Table of static test criteria 49 Synthesize Result 50 Power consumption test data 51 5 ` LIST OF ABBREVIATION No. Full word Abbreviation 1 Artificial intelligence AI 2 Polyamide PA 3 Control Humidity In The Air C.H.I.T.A 6 ` ABSTRACT CHITA is a complete system consisting of a main humidity controller (Control Humidity In The Air) combined with AI (Artificial Intelligence) control and many other sensors, ... The main function of CHITA is to control the humidity of the air in an enclosed environment, with its sensors CHITA's central control system is AI that will control almost everything in the air and give appropriate advice to people. use. Unlike air conditioners that compress the air temperature downwards, C.H.I.T.A uses water in liquid form and sprayed in steam form to lower the ambient temperature. Temperature and humidity are two important factors that directly affect human life. However, since the inception of the air conditioner, the humidity factor is not considered important and there is almost no cooling system that uses moisture as the main thing for cooling. With C.H.I.T.A, the humidity is precisely adjusted between 10% and 80%. Cooled by humidity completely different from conventional air conditioner, C.H.I.T.A brings comfort and safety to users. With air conditioners, the temperature is lowered very quickly and it makes users susceptible to colds (especially children) as well as lowering the air temperature for a long time makes users prone to dry skin. C.H.I.T.A is still an intelligent system with the main ability to control humidity, but depending on the purpose of the user, the system may be integrated with more suitable functions. With many outstanding advantages compared to air conditioners, along with the necessary criteria of a modern system (the most important one is environmental protection), C.H.I.T.A will definitely replace traditional air-conditioning in the near future. 7 ` CHAPTER 1 INTRODUCTION I. PROBLEM STATEMENT The main topic of this project is about a humidifier system and our improvement for the device to be suitable in the environment and condition of the house. Humidifier is a device that creates water vapor in the air that increases the air humidity and reduces the ambient temperature. Nowadays it becomes the device that create mist in the fashion and film industries. Create better effects in movies. The smart humidifier has been designed and implemented with some advanced features as follows: An auto mode to help save energy with two levels of humidifier: turn on when under the standard humidity and turn off when it over the limit. +AI help control +More function +Safety and environmentally friendly II. CASE STUDY AND CONSTRAINTS Vietnam is located in the humid monsoon tropical climate, together with urbanization and climate change, the average temperature (especially in urban areas) is increasing. But the frequent use of air conditioners increases the greenhouse effect as well as consumes a lot of electricity. Therefore, finding a more optimal solution to replace the traditional refrigeration is a pressing problem today. In addition to using the usual cooling principle of an air conditioner, there is another way that is to adjust the amount of water vapor in the air. That is also the main purpose of this project. 8 ` III. DESCRIPTION OF THE PROJECT The purpose of this project was to focus on steam cooling. Since then, it shows the superiority of the system compared to other types of air-conditioning. Towards safe cooling for people and environmental protection, creating the most favorable environment for people to live. IV. RESEARCH METHODOLOGY Scientific research methodology The method of data collection Experimental method Analysis and synthesis method suitable theory V. BRIEF CONTENT The following are 6 sections that we will summarize in each project implementation process: - Section 1 is introduces the existing humidifier on the market, how we will develop the humidifier. It is also a brief description of the humidifier system in this report. - Section 2 is an assessment of the health effects of moisture on human health from reliable sources, where the steam generator came from, and its development in the past and present. A brief introduction to the system studied in this report is also presented. - Section 3 is details electronic and mechanical designs, how to choose the right materials and why. Detailed calculation of the space that the product operates and the features that the product brings. - Section 4 is the detail of result of experiment, testing, programming and troubleshooting. 9 ` - Section 5 is the evaluation, conclusion and recommendation based on the task work with emphases on the project design and operation. It is also compared with initial goals of the project. - Section 6 is the ethics of the project. VI. METHODOLOGY 1. Objective: The goal of this project is to design and manufacture an intelligent humidifier. It possesses the following features and characteristics: + Controlled by AI + Add moisture absorption feature + Natural cooling + Save electricity + Environmental protection + Many new features for each customer Since then, the scope of this project is limited to research and implementation. This article shows the research and development of an affordable SMART humidifier suitable for use in buildings with the main goal of making it easy, comfortable and safe for everyone to use. 2. Project Management: Project management is defined as applying specific processes and principles to accomplish achieve specific goals. It helps team to observe and control the whole process effectively, enable to solve the problems rapidly. In this project, there are 5 keys components team will focus are: scope, time, cost, quality, and risk. 2.1 Scope Management: 10 ` Project scope is a part of project planning that is the key to control project management success. It is what innovations or changes will be delivered and the goals from the project in chapter Introduction. The requirements of the project are: Easy to use, friendly-used human interface Working Convenient and easy to approach Limit the cost After the requirements the goals are considered, the scopes are defined following: Build cheap SMART air purifier Using app in IOS and Android to control the air purifier Concept meets the requirement about standard of indoor quality. 2.2 Time Management: Time management is defined as organizing or planning how long you spend your time in specific activities. It is the main key of this project. Because effective time management permits me to distribute specific time slots to activities as per their importance. It also affects cost and quality. In this project, each stage is planned by specific time. Begin with agree title and brief, then do the literature survey and find the solutions, materials selections, implementation, write report and presentation. Table 1: Time progress table STAGE UP CONCEPT Activities Basic knowledge research 11 Start End 29/11/2020 2/12/2020 ` Determine 2/12/2020 2/12/2020 3/12/2020 4/12/2020 Market research 4/12/2020 4/12/2020 Complete swot 4/12/2020 5/12/2020 Buy materials 5/12/2020 6/12/2020 6/12/2020 7/12/2020 7/12/2020 10/12/2020 10/12/2020 12/12/2020 13/12/2020 15/12/2020 15/12/2020 15/12/2020 16/12/2020 19/12/2020 feasibility Material planning needed Proceed to PROCEED 1 report Assemble electrical components Testing the system Find and test the code Combine code PROCEED 2 with the system Complete the whole system and complete the content of the essay 12 ` Complete essay 20/12/2020 21/12/2020 Decorate 21/12/2020 22/12/2020 FINISH Team Members’ Responsibility: Đỗ Hồng Quân (leader): -Purchase materials. -Design product -Conducting surveys. -Prepare presentation slides. Vũ Đức Thoại: -Coding ARDUINO for the product. -Purchase materials. -Design circuit board. -Circuit installation Nguyễn Phúc Tiến: -Assembling product. -Purchase materials. -Assembling product. -Circuit installation Trần Lê Xuân Huy: -Prepare presentation slides. -Purchase materials. -Conducting surveys. 3.2.3 Cost Management: Cost management requires the project must be accomplished on time and accepted budget. We can do some activities like evaluating, 13 ` budgeting, financing, funding, etc. to improve the cost. Components and materials need to be defined to manage. Table 2: Cost Management table Item Quantity Unit Price Supplier 1 127.500 VND Available Fan 5x5 cm 1 21.500 VND Available Module Relay 5VDC 1 25.000 VND Available Mist generator 1 80.000 VND Available Screen LCD 16x2 cm 1 40.000 VND Available Mini usb cable 6 48.000 VND Available 1 300.000 VND Available Box 1 20.000 VND Available Bottle 2 50.000 VND Available ESP-WROOM-32 ESP32 Development Board Taidacent SHT30 Moisture Sensors 3.3v Outdoor Plant Humdity Sensor Probe Wate Total costs 712.000₫ 3.2.4 Quality Management: Quality of a product can be measured in terms of performance, reliability and durability. Quality management ensures that product is consistent. In this project, quality management includes planning, scoping, monitoring and controlling all the aspects of prototype. The 14 ` components and materials selection along with cost and quality effectiveness are controlled by testing and selling from reputation store. 3.2.5 Risk Management: Risk Management is one of the important parts in the project, there isn’t any perfect project that success without any problem. With the Risk Management Plan, we can decrease the chance of the failure happen and have the right action for each problem. In the other hand, the plan also helps reduce level of uncertainty and focus on High – Level Risk. Table 3: Risk management table. ID Description of Risk Impact Risk Responses Risk Level 1 2 3 4 Price of the material Cost over budget Find cheaper material is higher than sources but the quality expected. will decrease. Error in the Time Consuming Find the faster ways or manufacturing. change the design. Circuit has problem. The function is not Check the circuit and The product did not stable. fixing the circuit. Time Consuming Check and control with meet the required to repair. requirements in the test. 15 Medium High High High ` 5 The product has Prototype Quality small errors. Check and correct if enough time. 16 Low ` CHAPTER 2 LITERATURE REVIEW 2.1. Background 2.1.1. Air humidity Air humidity is the term referring to the level of water vapor present in the air. Some other in-depth concepts related to air humidity include: Absolute air humidity: is the amount of water vapor contained within a unit volume of air. Relative air humidity: is a quantity commonly used in everyday life, only the percentage of water vapor in the air. When the relative humidity reaches 100%, it means that the air is saturated in terms of water vapor content. Humidity ratioIndicates: the humidity level varies with different temperature levels. Measuring indicators related to air humidity play many important roles in many different areas of life such as agriculture, forestry and fishery, health, mobility, … The earth's surface is covered by more than 70% of water coming from oceans, rivers, streams, and lakes. Under the influence of wind and sunlight, this water can evaporate and be released into the air. The higher the temperature, the faster the water molecules move and the chaos causes more water vapor to be released into the air. This is the main mechanism of the formation of moisture in the air. Air humidity is influenced by ambient temperature, pressure and wind. When the air temperature rises high in the summer months, the humidity in the air falls low. 17 ` In contrast, during winter months, the air humidity increases highly and saturation can be reached. Thus, temperature and humidity are two quantities that have an intimate relationship with each other. Humans apply this by adjusting the temperature if they want to change and controlling the humidity at the right level. The air humidity is said to be high when it exceeds 70%. The air humidity rises too high to saturation level is the cause of many diseases, adversely affecting the health of people, especially children and people with weakened immune systems. Disadvantages caused by too high air humidity: Causes mold, destroying clothing and household items Making medical equipment difficult to maintain Condensate to walls and floors, surfaces become slippery and easy to fall Bacteria, molds and other microorganisms have conditions for growth. They are allergens for respiratory diseases such as pneumonia, bronchitis, bronchial asthma, chronic obstructive pulmonary disease and a number of other skin conditions. 2.1.2. Effect of temperature When the air is colder it will not be able to handle as much moisture as it does with warmer air. Temperature is very important in relation to humidity, especially when people spend more than 90% of their time indoors. Weather: Humidity is lower in colder climates than in warm climates. Because cold air will hold less moisture than warm air. Therefore, in winter, the humidity is usually lower. Meanwhile, in summer, the 18 ` temperature will be higher, because when the temperature is high, the air will contain more water vapor. Take it every day: Small daily chores can affect humidity levels. Cooking, cleaning, washing dishes, breathing, washing clothes, showering and other indoor processes release moisture into the indoor air, causing indoor humidity to rise. Maintain moisture at a suitable level: It is very important to maintain the right humidity for the home. Poor humidity can affect the health of you and everyone in the house. When too much moisture can cause humidity and mildew; if too little, the air becomes dry and uncomfortable. High Humidity Mold 21% of the 21.8 million asthma cases each year are caused by wetness and mold in the neighborhood. Wet conditions provide a great home for bacteria, as well as mold growth. Excess humidity in buildings can be caused by leaks, rainwater seeping through windows and basements; or even moisture rising from the ground floor. Asthma, allergies and respiratory diseases A humidity above 50% is recommended when the air becomes thick and humid. More problems can develop as levels increase. Dust mites Did you know that dust mites cannot survive without moisture from the air? Dust mites like moderate temperatures and high humidity because they absorb water from there, so areas with high humidity are great places for them to live. Microorganisms can aggravate allergies and asthma, so 19 ` maintaining the right humidity is key to minimizing them and their effects. Low humidity Dry skin and eczema Itching and dryness can be caused by low humidity. Studies have also found that low humidity should be avoided in order to protect the tear film into your eyes. It can also worsen certain skin conditions like eczema. Too dry air can absorb moisture from your skin and make eczema worse. Education Measurable changes in your ability to focus or do things; can be caused by small changes in relative humidity and temperature. Flu Scientists have found a significant link between low humidity and the easy spread of flu viruses. One study shows that during peak times of absolute humidity is low; for example, in winter when the air is dry, the spread of flu increases. 2.1.3. Based on existing technology The first air conditioner was born in 1914 by the American engineer Willis Havilland Carrier. The machine has the ability to regulate the temperature and create humidity, but not the ability to regulate the exact humidity. Today air conditioners have been improved and are much more compact, but the humidity control function is still not mainly, the humidity is just an extra feature. Air-conditioners create moisture by condensing water vapor in the air and returning it to the environment. 20 ` Recently, moisture is generated by the ultrasonic principle. If we supply it with the same voltage but opposite alternating cycles, the material will scale according to the frequency of the supply. This oscillation causes the upper membrane to oscillate (people use this extra membrane to increase the area in contact with water while preventing water from falling below). The water molecules will try to keep up with the vibrations of the membrane, but cannot due to the relatively large inertia and density of the water. Since the water waves are phase-lagged relative to the oscillating membrane waves, creating low-pressure zones between these waves are called voids (see figure below). These holes contain a lot of energy and explode near the water surface creating a ripple and undulating wave peak at the surface, and at the top of the wave, the water droplets are powered by the holes when it explodes. there is enough energy to escape the water's surface and shoot into the air in a mist. The size of the dew particles is very small, only about 1 micro meter in size. Electric field Polarization Expand Shrink Fig 1.1 The current principle creates sound waves 21 ` Crest of crossed capillary Minute water droplets High energy water jet implding cavity Cavity Fig 1.2 Describes how sound waves separate water Steam Waternivel Ultras-one tall elemental Fig1.3 Overview diagram of the steam generator 22 ` 2.1.4. Advantages and disadvantages Advantages Humidifiers cool the air more safely than others: In the summer, the weather is extremely hot so many people tend to cool the air by using an air conditioner or fan. However, these devices are not beneficial for the human skin and respiratory tract. Humidifier with its operation mechanism has the ability to cool the air much safer than other types of equipment. A humidifier to help beautify the skin: One of the most important steps to taking care of your skin is to moisturize. However, having to sit for too long in an air-conditioned space makes many people dry, chapped, ... The humidifier helps maintain a stable air and enough moisture for skin to replenish moisture profanity. Humidifiers are good for your respiratory tract: Most diseases related to the respiratory tract are caused by the surrounding environment. Use a humidifier to help keep the air fresh, limit bacteria and protect the respiratory tract in the most optimal way. + Air cooling + Skincare + Limit the growth of bacteria + Environmental protection + Save electricity Disadvantages + Ineffective with large spaces + Affect metal utensils + Affect the wall 23 ` + Can not self-adjust + Inability to lower humidity 2.1.5. Type of humidifer Heat-operated humidifiers This machine uses heat to heat the water until the temperature is evaporated, the steam will be spread out through the internal components of the machine. The heat in the machine helps keep the humidity in the air at a stable level for the user. Ultrasonic humidifier Instead of using hot water, the machine will generate steam by means of an electromagnetic wave system that oscillates at high frequencies to help small particles of lithium quickly enter the air like mist, This machine has the ability to save electricity. is higher than heat-operated machines but is considered unsafe for inhalation. 2.2. Research and review of an existing system (device) 2.2.1. Existing system In other to know more the project, research the existing system which popular in Vietnam will provide more information for us. Here is some existing system that team is chosen to study: Philiger PLG - 208 humidifier The humidifier is especially popular with the Philiger brand. Possessing the perfect design, compact but full of features of an excellent humidifier, the Philiger humidifier will be the perfect replacement for other cooling equipment on the market. Fatz Baby FB6126JX humidifier 24 ` The product is considered as the perfect solution to cope with the dry summer weather for mothers and babies. With a very simple usage and extremely funny shape, the product is currently used by many mothers to protect the health of their children. Beurer lb37 humidifier The machine uses ultrasonic technology to increase the humidity in the air, helping to save fuel and increase the performance of the machine to optimal. At the same time, the machine also has a fairly stable quality and can be used for a long time. Magic Home HL - H203 moisture mist humidifier As one of the funniest-shaped humidifiers, Magic Home HL - H203 always attracts the attention of customers who are choosing the most suitable products for them. The device has an extremely compact design that simulates a lovely pink pig, providing maximum comfort for the user. Fujika FJ-7066 humidifier With the ability to reduce the room temperature from 5-7 degrees while ensuring the humidity in the air, Fujika humidifier will give customers the perfect quality of use and ensure maximum health for the customer. 2.2.2. Review and sollution Review each existing system: After conducting the research above, here are some information the team has learned: Advantage of all existing system in research: - Safety, protect human health, energy saving, environmental protection, more function: 25 ` Disadvantage of all existing system in research: - Error: the temperature cannot be accurately controlled 26 ` CHAPTER 3 DESIGN AND IMPLEMENTATION 3.1. Block Diagram 3.1.1. Block Listing The block diagram will conclude some block following: + Power supply + Moisture Sensors + ESP WROOM 32 + Module relay + Fan 12V AC + LCD screen + Mist generator + Solenoid Valve 3.1.2. Connection LCD Screen Moisture Sensors ESP WROOM 32 Fan Module relay Mist generator Solenoid Valve Block diagram show the way machine work. 27 End ` 3.2. Operation Description C.H.I.T.A will be operated in the following order: the system will be powered directly to 220v AC to be the Power supply for the machine. The product will have 2 modes to operate, Mechanical design: 3.2.1. Calculation and Selection Material In terms of material selection for the product, we have elaborated on this in order to decide that we will choose plastic as the main material for the machine. The following are the reasons that we have decided to choose plastic: Plastic has properties such as durable, water-proof, easily changeable, and highly aesthetic. Suitable for many different spaces and styles. 3.2.2. Part list Front part and LCD screen: Steam generator and fan: 28 ` Side part and sensors: 29 ` 3.3. Electrical Design 3.3.1. List of Components ESP-WROOM-32 ESP32 Development Board Figure 3.1: ESP-WROOM-32 Development Board 30 ` Figure 3.2: Datasheet of ESP-WROOM-32 31 ` Figure 3.3: Pinout Diagram of the ESP-WROOM-32 Fan 5x5 cm 12V, 1A Figure 3.4: Fan 12v AC 5x5 32 ` Module Relay 5VDC Figure 3.5: Module Relay 5VDC . Figure 3.6: Datasheet of Module Relay 5VDC 33 ` Mist generator GT-18 NO.3805 Figure 3.7: Mist generator GT-18 NO.3805 Figure 3.8: Datasheet of the Mist generator GT-18 NO.3805 34 ` Screen LCD 16x2 cm Figure 3.9: Screen LCD 16x2 cm Figure 3.10: Datasheet of the Screen LCD 16x2 cm 35 ` Deltrol DC12V Mini Electric DC Solenoid Valve Figure 3.11: Deltrol DC12V Mini Electric DC Solenoid Valve Datasheet of Deltrol DC12V Mini Electric DC Solenoid Valve: 1. Inlet diameter: 15.8 MM 2. Output diameter: 15.8 MM 3. Voltage: DC 12V 4. Current: 0.95 A 5. Power: 12 W 6. weight: 210g 36 ` Taidacent SHT30 Moisture Sensors 3.3v Outdoor Plant Humdity Sensor Probe Wate Figure 3.12: Taidacent SHT30 Moisture Sensors 3.3v Outdoor Plant Humidity Sensor Probe Wate Figure 3.13: Datasheet Taidacent SHT30 Moisture Sensors 3.3v Outdoor Plant Humidity Sensor Probe Wate 37 ` 12 volt power supply Figure 3.13: 12 volt power supply 3.3.2 Block Diagram LCD Screen POWER SUPPLY ESP WROOM 32 Module Relay Fan Valve Moisture Sensors Mist generator Electrical block diagram explanation: The power supply will provide the ESP WROOM 32 and Module Relay, ESP WROOM 32 will receive the data signal from Moisture 38 ` Sensors to determine the value for the fan, valve and mist generator operated by Module Relay all the data such as temperature and humidity will be displayed on the LCD screen. 3.3.3. Schematic Firgure 3.14. Schematic of system 3.3.4. Wiring 39 ` Firgure 3.15. Circuit of system in real. 40 ` 3.4. Control Design 3.4.1. Flow Chart Start Const ,int and string Setup pin mode ,bandwith for displaying in screen Loop() Humidity > 80 Fan run Stop fan, valve and mist generator Valve run Mist generator run End 41 ` Flow Chart Explanation: We can see that it is the process of operating the system in order from top to bottom. First, after the system is powered the sensor will operate and measure the temperature and humidity in the room. If the humidity in the room drops below 80%, the system will operate and increase the humidity in the room. Unless, the system will automatically shut off until the humidity falls below 80%. 3.4.2. Code for product Code for ESP-WROOM-32: #include <SHT1x.h> #include <Wire.h>; #include <LiquidCrystal_I2C.h>; LiquidCrystal_I2C lcd(0x27,16,2); // Specify data and clock connections and instantiate SHT1x object #define dataPin 17 #define clockPin 16 #define VCC 12 #define valve 27 byte doC[8]={ B00111, B00101, B00101, B00111, B00000, B00000, B00000, B00000 }; SHT1x sht1x(dataPin, clockPin); 42 ` void setup() { lcd.begin(); //Khởi động màn hình. Bắt đầu cho phép Arduino sử dụng màn hình lcd.backlight(); lcd.createChar(1,doC); Serial.begin(115200); pinMode(VCC, OUTPUT); pinMode(valve, OUTPUT); } void loop() { lcd.setCursor(0,0); float temp_c; float temp_f; float humidity; digitalWrite(VCC, HIGH); // Read values from the sensor temp_c = sht1x.readTemperatureC(); temp_f = sht1x.readTemperatureF(); humidity = sht1x.readHumidity(); // Print the values to the serial port Serial.print("Temperature: "); Serial.print(temp_c, DEC); Serial.print("C / "); Serial.print(temp_f, DEC); .print("F. Humidity: "); Serial.print(humidity); Serial.println("%"); lcd.print("Temp: "); lcd.print(temp_c); lcd.write(1); lcd.print("C"); lcd.setCursor(0,1); lcd.print("Humi: " ); lcd.print(humidity); 43 ` lcd.print("%"); if (humidity>80) digitalWrite(valve, HIGH); else digitalWrite(valve, LOW); } 44 ` CHAPTER 4 EXPERIMENT RESULTS AND ANALYSIS 4.1. Design Experiments 4.1.1. Needs In order to identify the general needs of the product, we conducted a small survey with students, university students and workers to get the most general view. After a few days of surveying, we had the most general overview of the product and we will take that data to be able to develop more for the product. After collecting the data, the following table will be the essential needs of the product and the important product ratios for that customer. Table 4: Needs table Number Needs Important (vote) % 1 The product should have a variety of colours 2% 2 The products should be reasonably priced 18 % 3 The product should have interesting shapes 9% 4 The product should easy to use 1% 5 The product can be used for a long time 20 % 6 The products should be reasonably sized 39% 7 Products can be effective in open spaces 11 % 4.1.2. Metrics From the general requirements of the customers as the above table, we will summarize and make a table of metrics to have a better view of their needs and measurement units and lists. 45 ` Table 5: Metrics table. Metrics Unit M1 Colors List M2 Automatic List M3 Materials of parts List M4 Price VND M5 Duration of life Month/Year M6 Shape of the product List M7 Use Fan to improve the effective List Table 6: List of indirect metrics table List of Indirect Metric M1 Yellow, red, blue, white, etc. M2 Auto mode M3 Wood, hard plastic, stainless steel, etc. M6 Cylindrical, square, spherical, special form, etc. 4.1.3. Needs – Metrics Correlation The following will be the units or factors that directly or indirectly affect the need. 46 ` Table 7: Direct dimension and Indirect dimension. Need Metric M1 1 M2 M3 M4 I I 4 M6 M7 M8 I 2 3 M5 I D D D 5 D 6 I 7 D D Direct dimension I Indirect dimension The reasons why we mark the factors that direct dimension and indirect dimension affect needs 2, 3, 4 because these needs have many Metric. Consider the box of need 2, because in order for a product to have an affordable price, not only the designer calculates the components inside that product, the material to make will also partially affect the that product, if the product is made of wood, the price of that product will be completely different from the product made of metal because the price of the two materials is different, if the product uses materials more expensive that make the price of the product will also be expensive. For need 3, a product with a unique shape to the customer does not necessarily mean a product with a unique design, but sometimes the products have simple features along with the harmony with the space. the customer will order the product will also make the product impressive, the color is also an important part in this regard, whether the color 47 ` suitable with the space that the customer put or not it will make the product in that space stand out or not. About need 4, to be able to effective in open space we use fans to improve steam growth rates and create a feeling of faster, more efficient cooling in open spaces. The system is still effective when it is near the user. 4.1.3 Product Specification Table 8: General specifications for the product. No. Specification name Important Unit Ideal value Marginal value 1 Colors 2% List 2 Dimensions 19 % list mm mm 3 Weight 10 % Gram (g) 2000 g 1500-2000g 4 Material 12 % List 5 Sensor 8% List 6 Microcontroller 5 % List 7 Fan 16 % List 8 Lifetime 5% Years 9 Display screen 3% List 10 Mode 20 % List Type Basic years years Addition 4.1.4 Experiment Method Table 9: Experiment method. Specification Unit Sampling time Method Description Total weight Gram 1 Use scale to measure the weight of the machine. 48 ` Dimension Centimeter 1 Use ruler to measure the dimension of the machine. Accuracy % 10 Take the product to a dusty environment such as a factory workshop. Power supply Volt 1 Use a multimeter to measure. Material List 1 Make a list and buy materials from the market. Fan List 1 Make a list and buy materials from the market. Display screen List 1 Make a list and buy materials from the market. Sensor List 1 Make a list and buy materials from the market. Electronic components List 1 Make a list and buy materials from the market. 1 Go to the shop for counselors and print. 1 Make a list and buy materials from the market. 10 Shake and simulate light collision with product Printed circuit Microcontroller List Reliability of product With figures or values we need accuracy, not necessarily absolute accuracy, just relative and it has a slight degree of intersection in that range, we will suspect that value, degree. The efficiency of the machine we have tested has a total of 10 times, for us the number of times make test this is enough and can ensure accuracy. 4.2. Operation Experiments 49 ` In order to test whether the product is stable or not before being presented to our customers, we have had the actual tests: Static test, estimating static parameters such as size, weight, hard (physical tests of the product) and a dynamic test to estimate the performance of the device, such as whether the power supply is stable or not, whether the code is stable or not (testing of components electronic inside products). Making both above test methods to ensure the product is absolutely safe, no fire or explosion and increase reliability to customers. 4.2.1. Static Test Static analysis is important for systems that require high safety criteria, the benefits of when we do Static analysis are the ability to identify defect early before performing dynamic testing. The cost of repairing is much cheaper than finding it late in software development and putting it into use. Prevent design and code defect by uncovering deficiencies and incorrect system operations. Increased development performance: for example, design can be improved, easy to maintain code. To perform this test, we will completely refrain from using the code to operate, test our calculations and design steps for the product circuitry to detect potential errors can happen as we connect the power cord to the pins for ESP WROOM 32 and print circuit design. During the test we discovered a small error that the code not working properly as required so we fixed it by changed the code. In order to ensure our design is safe for users for many different collision conditions, we have conducted mechanical design tests of the product, 4.2.2. Mechanical Design In terms of the mechanical design of the product, we have relied on the idea of simplifying design of product as much as possible so that it can suitable with a lot of spaces. Here we have chosen the product as plastic because it has a quite durable outer layer and is protected by a plastic layer of plastic PA which is high strength, abrasion resistant as well as lubricating. In addition, PA plastic also has chemical resistance, electrical insulation properties as well as shock reduction and reduced 50 ` progress. We have designed the product to have many right angles and bolted edges to ensure durability of the case when there are collisions. We performed a few small tests, such as shaking the product, being lightly bumped with other objects such as balls, the results we received were very positive, the product was not cracked or damaged on surfaces, but if bumped in strong situations, the product will also ensure there is not much damage, only minor cuts caused by sharp points. 4.2.3. Electrical Design When we completed all the mechanical design tests for the product, we switched to testing the internal circuitry of the product, first we tested the all-new electrical wire, No wiring tearing or melting (this may cause electric leakage and fire). Then we check the line on the circuit board to match the simulation design (this is very important because just a faulty path will cause a circuit fire), the next step is we check the power supply for electronic components is stable so that the product can operate at full capacity, the final step is that we will run the simulation ARDUINO code to ensure the product works well. Table 10: Table of static test criteria No. Specifications Unit Ideal value 1 Total weight Gram 2000 g 90 % 2 Material List Plastic 100 % 3 Fan List Fan AC 100 % 4 Sensor List GT18No.3805 100 % 5 Microcontroller List ESP WROOM 32 100 % 6 Display screen List LCD 100 % 7 Mode List Auto 100 % 8 Dimensions List Medium size 100% 51 Marginal value Real value Matched percentage ` 4.2.3. Dynamic Test After all static tests have been completed, the next step is to perform dynamic tests, which will run the code and then execute the test on the same environment and devices as the actual environment in which the software / system will be used. We will perform a check of the operation of the system to make sure the operation of all system. Table 11: Power consumption test data. Power supply Consumption (v) Name of component Ideal value Marginal value Test no Measure value Result (%) ESP WROOM 32 80 80 1 80 100 % Module Relay 2 2 1 2 100 % Sensor 63% 63% 1 63% 100 % To be able to perform the humidity test, we had to check in a very tight, windless room to get an accurate reading. Not only that, we have to use the hygrometer to accurately measure the ambient humidity. 4.2.4. Product Quality The following table will show the synthesize result of the product and through that team can determine the quality of the product: Table 12: Synthesize Result No. Specification Unit 1 Total Weight Gam 2 Dimension Centimetre 3 Material List Ideal Value Marginal Value Real Value 2000 1500-2000 2000 98% Medium Size (25 – 30.5 – 33.5) Medium Size (25 – 30.5 – 33.5) 100% Match Percentage Plastic 52 List Plastic, Steel, Aluminum 100% ` 4 Sensor List GT18No.3805 GT18No.3805 100% 5 Fan List Fan 12v AC 50mm Fan 12v AC 50mm 100% 6 Micro-Controller List ESP WROOM 32 ESP WROOM 32. 100% 7 Display Screen List LCD LCD 100% 8 Noise dB 0 – 10 dB 5dB 90% 9 Colours List Brown Brown, Yellow, Red. 100% 10 Mode List Auto Auto 100% Result 0 dB Percent of static test: 98.18% Percent of dynamic test: 99.42% Overall: 98.8% From the table above we can see that the percentage of dynamic and static testing is very high, from which the overall test of the machine is greatly appreciated. Thereby we can see that the machine works really dark with the functions that it brings. The data we have measured from the actual value compared to the estimated value is not much difference, which proves that the machine can guarantee the benefits that it brings. 4.3. Conclusion From all the test above, we can see that the result is the great success. But due to the in experience and lack of testing equipment, the test may not conduct all the important characteristic and not exactly correct. However, the air purifier is working and actually accomplish the objective of the project. 53 ` CHAPTER 5 CONCLUSION AND RECOMMENDATIONS 5.1. Conclusion The machine has high durability and did not detect any errors during our testing. The system works well in closed environments like bedrooms and living rooms. The system creates a better living environment for users, safe cooling and a pleasant feeling. 100% Test participants found steam cooling much more comfortable than air-conditioning. Save twice as much energy as air-conditioner (verified). Do not pollute the environment. The system is completely automatic, controlled by AI. Easy to use, safe for children and make no noise when operating. 5.2. Recommendations Use additional fans to increase efficiency. Secure an enclosed space and incorporate a ventilation fan system to reduce humidity when needed. Choose the right electrical equipment and paint the wall. Keep metal utensils in the right place. 54 ` REFERENCES Wikipedia (n.d). Humidity. Retrieved from https://en.wikipedia.org/wiki/Humidity What is Humidity (n.d).How temperature affects indoor and humidity levels. Retrieved from https://www.airthings.com/what-is-humidity Benjamin Elisha Sawe (2017, April 25). What Is Humidity And How Does It Affect Life On Earth? Retrieved from https://www.worldatlas.com/articles/what-is-humidity-and-how-does-it-af fect-life-on-earth.html Tịnh Nguyễn (2020, June 29).Rate the top 8 best humidifiers to buy 2020. Retrieved from https://chanhtuoi.com/may-phun-suong-tao-am-p2025.html 55