ELECTRONIC - ELECTRONIC TRUONG TUAN VU_420H0292 AUTOMATIC DRYER & REMOTE CONTROL SPECIALIZED PROJECT CONTROL AND AUTOMATICAL ENGINEERING Advisor PhD.. SPECIALIZED PROJECT SCHEDULE
Trang 1CONTROL AND AUTOMATICAL
ENGINEERING
Trang 3
ELECTRONIC - ELECTRONIC
TRUONG TUAN VU_420H0292
AUTOMATIC DRYER & REMOTE
CONTROL
SPECIALIZED PROJECT CONTROL AND AUTOMATICAL
ENGINEERING
Advisor PhD VO HUU HAU
Trang 5especially the teachers of the Faculty of Electrical and Electronics Engineering, who have imparted a lot of useful knowledge to me in recent years The Faculty of Electrical and Electronics Engineering has given us many opportunities to learn and experience in real life to draw valuable lessons for our future career paths
And especially, I would like to thank PhD Vo Huu Hau, the teacher enthusiastically guided and imparted to me many new knowledge to solve difficult problems in the process of making the report
In the design process as well as the process of making the thesis report because | do not have much experience and in-depth research on many fields, the report cannot avoid errors, | look forward to receiving your comments valuable contributions from the teachers so that I can learn more experiences and complete the report better
Ho Chi Minh City, November 29, 2023
Author
Trang 6The work was completed at Ton Duc Thang University
CHAIRMAN OF THE BOARD OF DEFENSE DEFENSE
Trang 7I] hereby declare that this is my own research work and is under the scientific guidance of phD Vo Huu Hau The research contents and results in this topic are honest and have not been published in any form before The data in the tables for analysis, comments and evaluation are collected by the author himself from different sources, clearly stated in the reference section
In addition, in the Specialized Project, a number of comments, assessments
as well as data from other authors, other agencies and organizations are also used with citations and source annotations
If I detect any fraud, I would like to take full responsibility for the content of my Specialized Project Ton Duc Thang University is not related to copyright and copyright violations caused by me during the implementation process (if any)
Ho Chi Minh City, November 29, 2023
Author
Truong Tuan Vu
Trang 8SPECIALIZED PROJECT SCHEDULE
Student's name: Truong Tuan Vi
Class: 20H40302 MSSV: 420H0292
title: AUTOMATIC DRYER & REMOTE CONTROL
1 Research and brainstorm about | tutorials on youtube
for the project
4 Design block diagrams for the | continue project and algorithm flow | implementation
charts, estimate what needs to be purchased
8 Make product model System check
9 System check Write a report
Submit a Completed % Specialized project
specialized protected/Amprotected mULTI-CN
project
Trang 9
CHAPTER 1 INTRODUCTION 2S ce eeseeeeecseecaeescseeeeeseecaenesneseeneteeseesees l CHAPTER 2 OVERVIEW OF TOPIC S221 2110112111101 214111111111 11111 01 H1 ch 2
PM uc 1n 2
2.2_ Types of drying racks tOday 0201022011201 11211151 1111111111511 1 1111511 1kg ky 8 2.2.1 Regular drying rack (wall/ceiling/rooftop IHHOUHHHGđÌ cà che ke 8 2.2.2 Smart APVING SHOCS oceccccccccccccccccceeccee esses tsceseeesteseseseeseeesseseseseeteeaessseesesestenesess 9 2.2.3 Window-mounted APYING VACK c.cccccccccccccceccecstectsecesensesseeseseseeneceneenstenssessenssees 10 V8 2 0a 0 0 0 II 2.3 Research in “33D 12
P Noi nh 32 12
P NI cố ƯCẼẼẼAAIẶẦẶỒỶẶỶ 13
2.6 Expected results: TT 01110211101 11121 11 2111011110111 1110111101110 11111011111 13 CHAPTER 3 DESIGN AND CONSTRUCTION 0 2S SH Hye 14 3.1 The block diagram of the syste1m: - 2 2211222111131 11311 113111111111 1111 111111 x+2 14 canh oi 14
3.1.2 Display bloek - 2 1 20101201 11011111 1111111111111 1111111111111 11111111111 11 ra 15 EBi9uono vẽ 16
3.1.4 Sensor DIOCK 00 24
3.1.5 Motion BlOCK 0 28
3.2 Requirements for designing and manufacturing smart drying raeks 31
CHAPTER 4 SIMULATION ON US SOFTWAIRE Qua 34 4.1 Overview 2 ốc co an 34
4.2 CircuIt sinulation on PrOẨUE§ c2 211121251211 1211111 11 111111111111 11 81118111111 krr 35 4.3 App Blynk and I[DE progran ARDUINO - 0 222112211 12211 1211122112212 38 4.4 Propram wrtting soffware PIC-C L 12 1120111211121 1121115211181 11 1111201111 4I CHAPTER 5 AUTERNATIVE AND CONTROL - - Q2 HS S999 2110111011112 s42 42 —= ` 90 na 42
5.2 Algorithm flowchart on the sySt€fm: - - 2c 1 2211221111 12211 1122211111122 11 112g 43 = o dảDBBBBB 46 5.4 Result:
Trang 10AN TS nh .AăA 31 VAN, nh 6 “<‹j 31 6.3 Development ccc cece cece cecteceeecesesecseseseesessseseesessesessseessesseseaaessentsnssseesees 31
ÐĐ:/.)490.r.9a)0)0)05 0n l
TL ẻ*% 9.9 l
Trang 11Figure 1.3 Urban population of Ho Chi Minh City from 1995 to preliminary 2019 3
Figure 1.4 Vinhomes Central Park ApartImetit 2 2222211211111 1153 111151111811 15 8111112 ray 3 T100 Phi 4
Figure I.6 Warning about drying clothes 1n apaftiT€fIfs 2 - 2 2212212221212 21122112 cey 5 Figure 1.7 Makeshift clothes dryIng scene . 1 2 0110112011111 11111 1111111111111 111111112 5 Figure 1.8 wall-mounted drying racE + c1 201120111101 11101 113111111 11111 1111111111111 1111111 ra 8 Figure 1.10 Window-mounted dry1ng rack - ác 2211121112211 121 11121115211 181 111811221 10 DT100is0 N0 ii sai ái vu an -4 11
Eigure 2.1: System block điapraim - - 12c 12212211 1211121 1211511111111 110111011011 11111 111 111 ke 14 DT1001<922026i:-) 00 ÁP 0i nưidảẳia5Ầ 15
IT101<0 60899011 16
I1 u17 1n e L7 Figure 2.5 Lora transceiver module sx1287 433mhz 10km UART -:- 222cc sccss2 19 lT1001<01218)/00(ì).x9s se m) 22
Figure 2.7 Humidity temperafure S€IISOF .- 2 1 20 22201121 1123111211151 1111521111181 11 111122 k2 24 I10is02 1.100: 0 : si - 26
I10i<0 0+8 in ea 27
I1 61A4 .- 28
I1 602i 2i 0n 30
EIigure 3.2 Vitme 5000x800mm LG 202202221121 1521 1111111011181 101 1118811181111 1 11211 He 32 l1 660i i40.) NA n ẦẦ s.Ắ 34 EIigure 3.4 Protues startup IIIt€FÍAC€ - - 0 20121112111 112211211111 11111111 1111111 111g H1 ng ke 34 Figure 3.5 Signal recetving GIFCUIE - 20 20122112211 221121 1111111111112 111 1111011111111 1 H1 ng k xxx 35 Figure 3.6 Layout sienalÌ reC€IVIIĐ GICUIÍ G2 22121122112 11 1511211151 1111 1111181118211 12111 1 xe 36 Figure 3.7 Signal generation GITGUIE 22c 2212211221121 115112112 111211111111 1111 1111111111111 kg 37 Figure 3.8 Layout signal generation CIFCUIE c1 2212221221121 1151 12 112 1192110111011 18111 1 ke 37 Figure 3.9 Blynk on the compUt€F - 2 0 2221212221121 1151121111112 111111011111 1011 1111111111 39 Figure 4.0 Blynk on the phone - 2c 22 222122112211 551 1211151111112 110111812111 111 11111111 kg 40 IT10is 00.9.4910) 0901 0n <4 4I
Trang 12Ji viii-.bi 0ii0ii 000i 00808 48 Picture of the back of the modelo eee eee eeeeeeeeeeteeeeeeneeseeseeeteeesseeneeaes 49 Remote Control c ccc cececcccccceceseseceececsscececeentsesecceesenseceeseennseesesentseseseenteenees 50
Trang 13CHAPTER 1 INTRODUCTION
Today, with the development of science and technology, the need for people is Increasing in many areas of social life This includes the need for a comfortable and smart life This has motivated designers and manufacturers to create products that meet this convenience and intelligence One of them is a smart dryer In developed countries, its use is very widespread and popular, but in developing countries, including Vietnam, there is a tendency to find suspicious and shiny pine trees there The other side of development: Modern development of houses and apartment complexes with small areas is still limited, so it is very necessary to be compact and meet the requirements, especially apartment buildings The dryingore, owning a smart drying rack will not consider the surface area of the balcony or location A very small balcony can also install a smart drying rack In addition, it also helps us get rid of problems when drying clothes, such as convenient high-level settings for many different ages, and additional integration Roof structure, drying fan help dry clothes easily and conveniently, protecting clothes from the effects of bad weather such as rain and humidity High humidity helps clothes dry faster Based on this need and open market, | started researching, designing, and manufacturing smart clothes drying racks And in this specialized project, I will present the process
of researching, designing, and manufacturing smart drying racks Specifically, 1 will start by analyzing the smart dryer market Then come up with the idea of improving smart dryers From this idea, we started designing the suspension system and control system to create this smart dryer The above contents will be presented in detail in the project During the design and production process, errors cannot be avoided I look forward to receiving valuable comments from my teachers to help
me further improve my project
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 14CHAPTER 2 OVERVIEW OF TOPIC
Trang 153
35,000 30,000 25,000 20,000
15,000
10, 5,000
0
> © > 2
PPS FP yh 2 Ss SP Sy SP oh 6 số Sh SD OS
PII LPLP IPI SFL FELIS FF FFP PP PH" PP PH
Figure 1.2 Hanoi urban population from 1995 to preliminary 2019
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 1664,000 63,000 62,000 61,000 60,000 59,000 58,000 57,000 56,000 55,000 54,000
It is estimated that in the capital Hanoi, there are about 20 apartment and condominium projects being implemented Some names that can be mentioned here are: VinHom City, Royal City, Vincom Ba Trieu, Novaland Sunrite City, Sky Garden, etc
Trang 17
Figure 1.5 Sky Garden 3
Apartment buildings appear more and more, helping people have more place resident But also main from now which entails are not little problems subject, especially in personal life Because the living space of an apartment is not much, with a basic Vietnamese family of 4 members, it is necessary to take advantage of are not time real brand fruit new yes can born Hentai one-way good Okay These Personal activities, especially drying clothes, have become one of the difficult problems for many households They make good use of the space to perform this, but see it seems not brand very fruity We can see people scene live zones apartment dry trousers shirt like how? live (Picture 1 6) No time born Hentai is occupied quite a lot for drying clothes, creating a bad scene for the urban area Not yet many households do not even have a place to dry their clothes, they must dry in makeshift place (Figure 1.7), where there is little wind and light, this causes the clothes to become moldy and uncomfortable for the wearer
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 18Figure 1.7 Makeshift clothes drying scene
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 19s* The Internet of Things (IoT) plays an important role in modern life from many different aspects:
® Convenience and Time Savings: IoT allows devices to connect to each other and to the internet, creating a smart environment that saves time and productivity For example, smart home systems can automatically adjust lighting, temperature, or even the procurement of necessary goods through sensors and automated systems
® Seamless Connectivity: IoT helps connect everything from personal devices like smartphones and smartwatches to large industrial devices like machinery and medical equipment This creates a seamless, intelligent, and easily managed environment
e Enhanced Safety and Security: loT provides opportunities to improve security and safety For example, a smart home security system can warn when there is a risk of intrusion, or an unusual incident occurs
® Data and Analytics: IoT devices generate large amounts of data, providing important information to better understand user patterns, habits, and needs Analyzing this data can support smarter decision making
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 20Faced with clothes born problem and improved available huge potential market demand, clothes drying racks were born to meet life's needs With increasingly modern life, people's lives are getting better and better, but dried products are also increasingly improved and transformed into many different types Next, we will learn about the types of dryers available on the market
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 212.2 Types of drying racks today
`
s* On the market today, there are 4 main types of drying racks:
2.2.1 Regular drying rack (wall/ceiling/rooftop mounted)
Figure 1.8 wall-mounted drying rack
“+ Advantage
e Easy to install and use
e Fits most spaces and budgets
“+ Disadvantage
¢ Takes up a large amount of space when in use
© Not very flexible
“+ Price
¢ 700.000 VND — 2.000.000 VND 2.2.2
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 22e Smart features, remote control
e Saves space, and can be folded, automatically
“+ Disadvantage
e The price is higher than conventional types
® Requires electricity or batteries to operate
Trang 232.2.3 Window-mounted drying rack
Figure 1.10 Window-mounted drying rack
“+ Advantage
¢ Use the space near the window to save space
e Easy to install and move
Trang 242.2.4 Mobile drying rack
Figure 1.11 Mobile drying rack
“+ Advantage
e Flexible, easy to move to many different locations
e Suitable for renters
Trang 252.3 Research purposes:
To reduce the cost of products
Reduce product costs by making the most of the modules available
on the market
Reduce unnecessary operations
Harnesses the advantages and overcomes the disadvantages of commercially available types of drying racks
Improve your ability to program systems using PROTUES software and simulate this project based on what you learn 2.4 Research subjects:
2.5
Get to know the actual construction of the smart clothes horse project
Programmable Code on PIC C Software
Draw a simulation circuit based on PROTUES software
Programming interfaces to control processes and operate systems via mobile apps
Rain sensor, temperature and humidity sensor, light sensor, and his LORA circuit for sending and receiving signals
ESP 8266 is used for remote control via WLAN
Perform system insert and extract operations
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 262.5 Research scope:
¢ The automatic drying systems that use sensors for their functionality and operation
¢ Developed research on LORA sensor and transceiver circuits
¢ Research Methodology for PROTUES and PIC Software
e The use of the ESP 8266 WiFi module allows for remote control through WiFi and Blynk app
2.6 Expected results:
® No communication errors have been observed between the sensor and Lora and ESP 8266 modules due to an accurate drying system
¢ Perfect operation is achieved by the pull-in and pullout system
® It seems like the sensor is functioning properly
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 27CHAPTER 3 DESIGN AND CONSTRUCTION
3.1 The block diagram of the system:
Trang 28at 70% capacity)
Source type: pulse source
Built-in LED shows power status
Output jack type: Standard round DC jack 5.5*2.1~2.5mm Conductor length: Im
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 29¢ White text, blue background
® The distance between the two connection pins is 0.1 inch, convenient for connecting to a breadboard
e Pin names are displayed on the back of the LCD to make connections and wiring easier
e Using variable resistors or PWM, LED backlighting can be adjusted to reduce power consumption and brightness
* Can be managed through the use of 6 signal lines
¢ English and Japanese characters are supported by built-in support 3.1.3 Control block
- Function: Receives signals from the sensor block and gives treatment to the processor block to operate according to the needs that have been programmed previously
- Main components used: PIC 16F877A
Trang 30
RC3/SCK/SCI du ROGPSPO «+ 4 19
ports
PORTB (RBO - RB7): Similar to above, these pins can be used as digital input ports
ADC pin (Analog-to-Digital Converter):
RAO - RAS: These pins can be used to read analog values from analog sensors or components via ADC conversion
Configuration Pins:
VDD and VSS: Power supply and ground connection
MCLR (Master Clear): This pin can be used to reset the microcontroller
OSCI and OSC2: This pin is used to connect to peripheral components to provide clock signals
These I/O pins can be configured to act as input or output ports, or even function differently as ADC ports How they are used will depend on the programming code loaded into the microcontroller
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 31
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 32
Figure 2.5 Lora transceiver module sx1287 433mhz 10km UART LoRa (Long Range) is a wireless communication technology used to transmit data over long distances without requiring large amounts of power LoRa SX1278 433 MHz module is one of the popular modules based on Semtech's SX 1278 chip, designed to operate at 433 MHz
Trang 33“* Main function LoRa (Long Range): LoRa technology allows data transmission at longer distances than many other wireless communication technologies without requiring large amounts of power This is suitable for oT (Internet of Things) applications or applications that need remote connectivity
UART Interface: The LoRa $X1278 module often has a UART (Universal Asynchronous Receiver-Transmitter) interface, which is a common interface for data transmission in microcontrollers or microprocessors The UART interface makes it easy to connect to other microcontrollers or microprocessors via TX/RX pins
Communication distance: This module is advertised as capable of transmitting data up to about 10km (depending on environmental conditions and configuration)
Flexible configuration: LoRa SX1278 module can be configured through AT commands or through direct programming
Applications: LoRa SX1278 modules are commonly used in oT projects, remote monitoring systems, wireless communication between devices at long distances, and in wireless sensor network applications
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 34Transmission power: information about transmission power, receiver sensitivity, and parameters related to transmission performance
VCC/VDD: Power supply for the module (usually 3.3V or 5V depending on the module's requirements)
RESET: This pin is often used to reset the LoRa SX1278 module SPI Interface: If the module supports the SPI interface, there may
be pins such as MOSI, MISO, SCK (Clock), and/or other pins related to the SPI interface
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 35
Figure 2.6 Module ESP 8266 The NodeMcu Lua WIFI ESP8266 kit is built on the eSp82866, and includes integrated GPIO, PWM, IIC, 1-Wire, and ADC components on a single board Support your development in the fastest way with NodeMCU firmware With the R2, a newer version called CP2102 USB-TTL is introduced, which provides additional power and makes it possible to use thinner boards on breadboards It does not require the CH340 driver for connection
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 36e TX (Transmit) and RX (Receive): These are UART pins to transmit and receive data through the serial interface They are used to connect to a computer or other microcontroller
e CH PD (Chip Power Down): This pin is used to control the operation of the chip, usually needs to be connected to a 3.3V source to activate the chip
e GPIOO and GPIO2: These pins are often used during firmware flashing or in special boot states
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 37e GND pin (Ground connection): This pin is connected to the ground connection of the power source
> The DHTI1 variant is commonly used to measure temperature and humidity in an ambient environment and is normally connected to a
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 38microcontroller or processed through limb data (Data) Data is transmitted from the sensor according to a specific protocol (usually a simple, uncomplicated protocol) and then processed to read temperature and humidity values
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU
Trang 39We
Figure 2.8 Light sensor Photoresistor is a type of device whose resistance changes with the intensity of light Resistance can go up to hundreds of kiloOhm when in a fully enclosed environment, and down to a few hundred ohms when light is on Very suitable for application in light sensor circuits such as: Dimming Turn lights on and off when it's morning/dark, simple alarm circuit takes advantage of sunlight
e Impedance to light (10Lux): 10-20KQ
e Impedance when dark: 1MQ
Trang 40
Figure 2.9 Rain sensor
A rain sensor 1s a device used to detect or measure the amount of rain or humidity in the environment
AUTOMATIC DRYER & REMOTE CONTROL SVTH: TRUONG TUAN VU