2. STEP 1: PURPOSE AND REQUIREMENT
SPECIFICATION
• Defines
• System purpose
• Behavior and
• Requirements (such as data analysis requirement , system
management requirements)
Automatic Water Dispensor 2
3. • Purpose : As such there is problem of water wastage
through water purifiers so we can avoid this wastage of
water by detecting the presence of water bottles or glass.
• Behavior : In IOT based water dispenser machine,
microcontroller is programmed to on the tap when water
bottle or glass is detected and will get off when object is
removed .
• System requirements : System will detect data locally .
• Data analysis requirements : System will perform locally
analysis of data.
Automatic Water Dispensor 3
4. STEP 2 : PROCESS SPECIFICATION
• Defines the process with the help of use cases
• The use cases are formally described based on purpose and
requirement specification.
• In this use case : circle denotes a state or an attribute
Automatic Water Dispensor 4
6. STEP 3 : DOMAIN MODEL SPECIFICATION
• Physical entity : in this system, object and solenoid valve is the physical
entity where tap is monitored using respective sensors .
• Virtual entity : it’s a representation of physical entity in digital world. For
each physical entity there exist one VE in domain model.
• Device : provides medium for interaction between physical and virtual
entities .In this, device is a arduino which has sensor, mosfet ,led attached
to it.
Automatic Water Dispensor 6
7. STEP 3 : DOMAIN MODEL SPECIFICATION
• Resource : on device resources are hosted on device and
include components that provide information about physical
entity .
• Services : in this , the services will be only controlling
service.
Automatic Water Dispensor 7
9. STEP 4:INFORMATION
MODEL
SPECIFICATION
The virtual entity solenoid valve is
dependent on the object.
If the object is detected then the led
will glow and the solenoid valve
will be in on state.
When valve is in state on then flow
of water will start and it will be off
when object is filled so, led will get
off.Automatic Water Dispensor 9
10. STEP 5 : SERVICE SPECIFICATION
Automatic Water Dispensor 10
12. • Threshold service sets high or low
depending on the position of the
glass sense by ultrasonic sensor.
• State service sets mosfet on or off.
• Led is provided with mosfet to check
the state of mosfet.
• If the mosfet is in on state then
solenoid valve automatically turns on
otherwise it will be in off state.
Automatic Water Dispensor 12
13. STEP 6:IOT LEVEL SPECIFICATION
• The system has single
device that performs
sensing data and
perform analysis and
host it. Thus IOT level
1 is used
Automatic Water Dispensor 13
14. STEP 7:FUNCTIONAL VIEW SPECIFICATION
1.A solenoid valve is used in dispenser to control the water flow.
2.Ultrasonic sensor is checks any object like glass or any other is placed
before the dispenser or not.
3.Trigger pins are used to trigger the sensor. Initially trigger pins are set to
low(2ms) after it will be high (10ms) and again it will be low.
4.It causes one ultrasonic wave emit out from the sensor and get returns
back from the object. It gives the distance.
5.Until this ultrasonic wave is in contact with the solenoid valve the tap is
closed and as the contact is brake flow of water will starts automatically.
Automatic Water Dispensor 14
15. TIME = PULSE IN (ECHO . HIGH)
DISTANCE = TIME*(340/20000)
THIS FORMULA IS USED FOR CALCULATING THE DISTANCE OR TIME.
Automatic Water Dispensor 15