HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION
FACULTY OF HIGH QUALITY TRAINING
REPORT
AUTOMATIC BATHROOM LIGHTS
Name of Students
Student ID
Nguyễn Phúc Tiến
19161030
Phạm Huỳnh Minh
Khanh
19161069
Ho Chi Minh City, 6th, January, 2021
HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION
FACULTY OF HIGH QUALITY TRAINING
REPORT
AUTOMATIC BATHROOM LIGHTS
Name of Students
Student ID
Nguyễn Phúc Tiến
19161030
Phạm Huỳnh Minh
Khanh
19161069
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 Thanh Hai
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 , it means that you have accepted the terms
of the author mentioned above.
COPY RIGHT
These articles and content are the copyrights of my team (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.
6
`
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
doing this research as a requirement of completing my project.
First of all, I would like to express my endless thanks and gratefulness to
my supervisor Dr. Nguyễn Thanh Hả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.
7
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
me up all the trouble for the rest of my life.
`
TABLE OF CONTENTS
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
8
`
LIST OF TABLES
Content
Page
Time progress table
11,12,13
14
Cost Management table
9
`
LIST OF ABBREVIATION
No.
Full word
Abbreviation
1
Integrated Circuit
IC
2
Polyamide
PA
3
Control Humidity In The Air
C.H.I.T.A
10
`
ABSTRACT
Automatic bathroom lights is a complete system
whose main function is to turn on and off the light when
someone enters or exits the bathroom, it includes digital
IC, control sensor, power source.
Most bathrooms in Vietnam are designed in a closed space, so
there is little light coming inside. Today, on the market, there are many
types of lights that have good illumination but mainly use switches to turn
them on and off, which makes it very difficult for people to find the
switch in the dark. And if you are someone who forgets to turn off the
electricity, your electricity bill will be quite high. With this sign every
time we need to use the toilet or bathroom, especially in the dark. With a
laser sensor, every time someone enters or exits the bathroom or toilet,
the light will automatically turn on and off to save electricity and not
waste you having to find the light switch at night.
In the future technology will lead the way and this circuit will be
a part of it. In addition to this circuit application in the family, it can also
be used in hospitals to help patients easily move in the hospital. Not only
that, it also saves electricity and protects the environment
11
`
CHAPTER 1
INTRODUCTION
I. PROBLEM
STATEMENT
The main theme of this project is about the automatic light on and off
system and our improvement to suit the environment and conditions of
the home and hospital. It is a device that automatically turns the lights on
and off when someone comes in and out. Today, it is widely applied in
smart home systems. The automatic mode saves energy and is convenient
for the user, with very little damage
II. CASE
STUDY AND CONSTRAINTS
Vietnam is a country with an area that is not too large,
while the population is very large. Therefore, bathrooms or
toilets are often designed in a minimalist manner, the
space is usually an enclosed space, so it will be very dark
even at night or during the day, so they often design LED
lights to illuminate those spaces. For adults, turning on the
switch will not be a problem, but for children, the elderly
and especially the patients, it will be very difficult. In
addition, many people have the habit of forgetting to turn
off the electricity after using the toilet, which wastes
electricity, so the automatic bathroom light system will
help you solve the above problems.
III. DESCRIPTION
OF THE PROJECT
12 is to focus on automatic lights on and off.
The purpose of this project
From there, it shows the superiority of the system compared to turning on
and off the bathroom lights automatically. Towards the safety and
`
convenience of people, saving energy and protecting the environment,
helping people get closer to comfort and convenience in daily life.
IV. RESEARCH METHODOLOGY
Scientific research methodology
The method of data collection
Experimental method
Analysis and synthesis method suitable theory
V. METHODOLOGY
1. 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
PROCEED 1
Activities
Start
End
Basic knowledge
research
17/05/2021
17/05/2021
Determine feasibility
17/05/2021
17/05/2021
Buy materials
27/05/2021
27/05/2021
Proceed to report
26/05/2021
30/05/2021
28/05/2021
03/06/2021
13
Assemble electrical
components
`
Testing the system
PROCEED 2
04/06/2021
04/06/2021
04/06/2021
04/06/2021
04/06/2021
04/06/2021
Complete the whole
system and complete the
content of the essay
FINISH
Complete essay
2. Cost Management:
Cost management requires the project must be accomplished on time
and accepted budget. We can do some activities like evaluating,
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
Optical proximity sensor 5V
1
250.000 VND
Available
Candy commom capacitors 1uF
Module Relay 12V DC blue
1
3.000 VND
Available
1
19.000 VND
Available
1
9.000 VND
Available
1
4.000 VND
Available
3
3.000 VND
Available
10
1.000 VND
Available
3
3.000 VND
Available
Normal power resistor 10/2W
1
2.500 VND
Available
Normal power resistor 10/2W
2
5.000 VND
Available
Capacitor 100uF/16V
Common capacitor 470u/25V
100n common ceramic
Supplier
capacitor
Normal 1k resistor
Normal 10k resistor
14
`
Power IC 7805
1
2.500 VND
Available
8 pin ic base
1
1.000 VND
Available
Normal IC 555
1
2.000 VND
Available
14 pin ic base
1
2.000 VND
Available
IC 4013
1
3.000 VND
Available
Transistor C1815
2
5.000 VND
Available
Transistor A1015
1
2.000 VND
Available
Super bright 5mm blue led
3
7.500 VND
Available
Normal diode 1N4007
5
50.000 VND
Available
Normal diode zener 12V/2
1
2.500 VND
Available
Terminal 2
2
3.000 VND
Available
Terminal 3 LL
1
1.500 VND
Available
100k . button rheostat
Total costs
1
4.000 VND
Available
350.000 VND
CHAPTER 2
LITERATURE REVIEW
2.1. Background
2.1.1. Integrated circuits
An integrated circuit or monolithic integrated circuit (also referred to
15
as an IC, a chip, or a microchip) is a set of electronic circuits on one small
flat piece (or "chip") of semiconductor material, usually silicon. Large
`
numbers of tiny MOSFETs integrate into a small chip. This results in
circuits that are orders of magnitude smaller, faster, and less expensive
than those constructed of discrete electronic components. The IC's mass
production capability,
reliability,
and
building-block
approach
to integrated circuit design has ensured the rapid adoption of standardized
ICs in place of designs using discrete transistors. ICs are now used in
virtually all electronic equipment and have revolutionized the world
of electronics. Computers, mobile
phones,
and
other
digital home
appliances are now inextricable parts of the structure of modern societies,
made possible by the small size and low cost of ICs.
IC is also known as integrated circuit, the use of IC is extremely great
because: Integrated circuit will help reduce the size of electrical circuits a
lot, besides the accuracy is increased. IC can be said to be a very
important part of logic circuits. There are quite a few types of ICs,
programmable and fixed-function, and there are non-programmable ones.
Each IC has its own environmental properties such as temperature,
voltage limit, working capacity, all recorded in the datasheet of the
manufacturer that created it.
2.1.2. 555 timer IC
The 555 timer IC is an integrated circuit (chip) used in a variety of timer,
delay, pulse generation, and oscillator applications. Derivatives provide
two (556) or four (558) timing circuits in one package. It was
commercialized in 1972 by Signetics. Numerous companies have made
the original bipolar timers and similar low-power CMOS timers too. In
2017, it was said over a billion 555 timers are produced annually by some
16
estimates, and "probably the most popular integrated circuit ever made."
2.1.3. Power Management IC
`
The power iC is designed to regulate, convert, and stabilize the current
and voltage passing through it. An iC power supply can multiply a given
voltage, divide from a desired voltage source and generate the desired
power at the output voltage.
2.1.4 Inverting circuit
is a type D flip-flops which is internally composed of 2 type D flip-flops
with two steady states. Inputs are used to change the 0 and 1 states. Each
flip-flop has independent data, set, reset, and clock inputs. Setup or reset
is clock independent and is performed by a high level on the
corresponding set or set line.
2.2. Research and review of an existing system (device)
Automatic control of WC lights using 1 PIR sensor and 1 door sensor
This plan uses Hass to control. Communication with zigbee sensor via
USB zigbeemqtt2. Equipment: 1 PIR sensor (I use Tuya's zigbee sensor Square type, 3 AAA batteries), 1 Xiaomi Aqara zigbee door sensor - The
cost of 2 sensors is about 550k
First, a little about the device:
+ Aqara's door sensor is ok, no need to pay attention
+ PIR sensor - motion sensor detects by infrared waves. When there is an
object with body temperature moving, the PIR will detect the movement
and report the status of people (on state). Conversely, if the moving part
is obscured (most often when brushing teeth, washing face), the sensor
still says no one (off state). Delay - Delay: on -> off - 1ph, off -> on - 5s
Automatic Light On Off Bathroom - Toilet | Smart House
17 anti-theft when someone enters the room
The application can alarm
without the permission of the owner. When the homeowner returns to the
`
room, there will be a remote control to turn off the anti-theft protection
mode.
It's really useful when stealing Phone/Laptop in the room happens often
in many places such as Hostels, apartment rooms,...
- eChipKool electronics meets all of the above needs, bringing products
that satisfy customers, bringing peace of mind to your home.
- PIR 501 motion sensor 3 meters away, 110 degrees wide angle, with 2
rheostats to adjust Sensitivity and Delay light on
Intelligent toilet with auto sensing device
The bathroom, in addition to serving the necessary needs of people, also
contributes to perfecting the overall beauty of the house. With smart toilet
equipment originating from famous domestic and foreign brands, it brings
modernity and comfort to your home.
CHAPTER 3
DESIGN AND IMPLEMENTATION
3.1. Block Diagram
3.1.1. Block Listing
The block diagram will conclude some block following:
Source block
18
`
Figure 3.1. Power block using IC 7850
Create delay block
Figure 3.2. Create delay block using IC 555
Time-delay adjustable potentiometer:
T=1.1((R9+VR3).C3)
T MIN = 1.1 ( 1000 x 0.0001 ) = 100mS
T MAX = 1.1 ( (1000
+ 100000 )x 0.0001 ) = 11.11S
19
Control block
`
Figure 3.3. Control block using IC 4013
Counting block
Figure 3.4. Counter block using IC74192 and IC 74247
III.1.2. Connection
20
`
Figure 3.5. Complete circuit simulated on Proteus
3.2. Electrical Design
List of Components
Optical proximity sensor 5V
Figure 3.6. Optical proximity sensor 5V
21
Module Relay 12V DC
`
Figure 3.7. Module Relay 12V DC
Power IC 7805
Figure 3.8. Power IC 7805
Normal IC 555
22
IC 4013
Figure 3.9. IC 555
`
Figure 3.10. IC 4013
Transistor C1815
Figure 3.11. Transistor C1815
Transistor A1015
23
Figure 3.12. Transistor A1015
LED
`
Figure 3.12. Super bright 5mm blue led
7 segment LED
Figure 3.13. 7 segment LED
IC 74192
Figure 3.14. IC 74192
24
IC 74247
`
Figure 3.15. IC 74247
100k . button rheostat
Figure 3.16. 100k . button rheostat
3.4. Control Design
Flow Chart
Optical
proximity
Sensors
Module
relay
IC 555
IC 4013
Counter
cỉcuit
25
Light
SOURCE