CB 17 Black Book
CB 17 Black Book
By
University of Mumbai
2018-19
Page | i
CERTIFICATE OF APPROVAL
is a bonafide work of
submitted to the University of Mumbai in partial fulfillment of the requirement for the award
of the degree of
Undergraduate in “Bachelor of Engineering in Computer Engineering”
Page | ii
Project Report Approval for B.E.
Examiners
1.-------------------------
--------------------
2.-------------------------
--------------------
Date:
Place:
Page | iii
DECLARATION
I declare that this written submission represents my ideas in my own words and where others'
ideas or words have been included, I have adequately cited and referenced the original sources.
I also declare that I have adhered to all principles of academic honesty and integrity and have
not misrepresented or fabricated or falsified any idea/data/fact/source in my submission. I
understand that any violation of the above will be cause for disciplinary action by the Institute
and can also evoke penal action from the sources which have thus not been properly cited or
from whom proper permission has not been taken when needed.
Date:
Page | iv
ACKNOWLEDGEMENTS
We extend our most sincere and heartfelt thanks to our guide, Prof. Swapnil Sonawane for
providing us with the valuable guidance at the crucial junctures and advising us throughout the
year. We extend our sincere thanks to our respected head of the department. Dr. Arun
Chavan, for allowing us to use the facilities available.
We thank our parents for their continued support and patience throughout our engineering
education which culminates into our final year project as part of the Bachelor’s degree.
Lastly, we thank our classmates and peer for the support and encouragement that they have
provided us during the course of our work.
Page | v
ABSTRACT
There is no end of objects that could be made “smarter,” some being more suited to this than
others. Mirrors, for example, provide a large surface ideal for displaying information and
interacting with. “Smart Mirror” , it is a wall mounted mirror which displays relevant items to
the user such as weather, time , news , scheduling, messages and other fields of interest .This
project depicts the design and development of a smart mirror that represents an elegant interface
for glancing information for multiple people in a college environment .
The Smart Mirror lets people use their device less, while being presented with more. This is a
major step in the evolution of being informed. This is the moment technology is starting to get
out of the way. Heads will be up, hands will be set free.
Page | vi
VIT, CMPN 2019
TABLE OF CONTENT
1 Introduction 3
1.1 Problem statement 5
1.2 Definition 6
1.3 Aim and objective 7
1.4 Literature survey 8
2 Analysis 10
2.1 Process model 11
2.2 Feasibility study 13
2.3 Cost Analysis 14
3 System Requirements 15
3.1 Software Requirements 16
3.2 Hardware Requirements 16
4 Design 17
4.1 Block diagrams 18
4.2 Program flow of Smart Mirror 18
4.3 UML diagrams 19
5 Implementation 22
5.1 Proposed system 23
5.2 Methodology 27
5..3 Hardware Setup 28
6 Working 29
6.1 System overview 30
6.2 Devices 33
7 Conclusion 36
8 Future Scope 38
9 Reference 40
Page | 1
LIST OF FIGURES
2 Block Diagram 18
5 Sequence Diagram 20
7 Weather Module 24
8 Time Module 24
9 Compliment Module 25
10 Wiki Module 26
11 Hardware Setup 28
12 Slide 1 30
13 Slide 2 31
14 Slide 3 31
16 Schema of VIT 32
17 Devices 33
Page | 2
VIT, CMPN 2019
CHAPTER 1
INTRODUCTION
Creating V-Mirror
Page | 3
INTRODUCTION
In today’s world, man is looking for comfort in every single thing. Right from brushing
in the morning till, automatically switching the lights off at night, exploring for comfort
is the top priority of the modern man. Further to implicate on our lifestyle, it has evolved to
optimize time for every little task so that you get time for yourself in your busy schedule.
These days we depend mostly on the digital world just to speed up our work. Internet is the
most important technology for us now. Ranging from our daily personal activities to our
professional work, internet handles our task that seems to tedious or smart for us now.
Now if we have reached such lengths to incorporate the use of technology in our
lives, why not start living smartly too.
Smart living implies using methods and options that are smarter than the normal manual or
the other ways that we have been using until date. We have achieved smartness in
different aspects like smart phones, smart laptops, smart TV, smart cities. So what about
imbibing smartness in a basic object like a mirror as well?
We have been using mirrors since a very long time. When you see a mirror in front
of you, you see it in its capability of a mere decorative item or a basic requirement.
In today’s world, smart mirrors are used in the automobile industry, at malls for aesthetic as
well as navigational purposes, medical and healthcare purpose. These applications are
done world-wide in almost every major city of the world. However, our application of the
smart mirror involves using the smart mirror in an educational backdrop using Internet of
Things as well.
Page | 4
1.1 Problem Statement
Smart living implies using methods and options that are smarter than the normal manual or the
other ways that we have been using till date. We have achieved smartness in different aspects
like smart phones, smart laptops, smart TV, smart cities, etc. Currently, there are many
applications of the smart mirror in other industries such as automobile, healthcare and
advertisement.
As a student, we aim to make the application in the education domain by troubleshooting our
personal problems such as
• Manually checking in to check time table
• Manually checking for updated notices
• Not knowing about the events being conducted because of the long list
• Missing deadlines of subject
• In a situation where in students have to inquire about different modules as mentioned
above they need to contact different faculties
• Asking for directions as the campus is huge and a little bit hard
Page | 5
1.2 Definitions
Smart Mirror:
A smart mirror is a two-way mirror which is placed in front of an electronic display and
can display information like news, calls, contacts, events as per the user. Furthermore,
the smart mirror has a brain of its own. The heart of the smart mirror is the Raspberry Pi
through which the back-end is constructed as per the requirements of the user. [1]
Internet Of Things:
Before the era of IOT, fire hazards were handled very differently. Starting with calling
the fire vehicle to waiting for it to come and till actually tackling the fire, took time. This is
where IOT made its way and people started installing small sprinklers in their homes, which
detected smoke or heat through sensors and automatically turned themselves on. This led to
the millennials thinking this way about each small problem and led to the era of Internet
of Things. [4]
To give you a dictionary explanation, “IoT is a new technology which is growing fast
and has many applications. The Internet of things (IoT) is the network of physical
devices, vehicles, home appliances, and other items embedded with electronics,
software, sensors, actuators, and connectivity which enables these things to connect,
collect and exchange data.” [4]
Raspberry Pi:
A raspberry pi is often called the heart of any internet of things project. It is a mini
computer that can be connected to an electronic display and can be used to explore
the computing and coding in languages such as Python, JavaScript. [1]
Page | 6
1.3 Aims and Objectives
Moreover, if some student or official is new to the campus, it will help them by navigating them
to their destination. So, it gives a solution to the problem faced by new students in college
wherein they do not know the exact location of the classroom, lab, etc.
To create widgets which would give basic information of temperature, news, time
Page | 7
1.4 Literature Survey
The main purpose of our project is to club notices, events, navigation and make it stress-free
by making the mirror completely voice controlled. Internet of things is used here as we are
going beyond the use of internet in standard devices and incorporating IOT in embedded
systems applications such as Raspberry pi.
Some of the papers published on smart mirrors are about applications of it in the following
category:
Description: The smart mirror market is expected to grow from USD 2.82 billion by
2018 to USD 4.42 billion by 2023, at a CAGR of 9.41% from 2018 to 2023. The
increasing demand for smart mirrors in the automotive industry, the transition from
traditional stores to digital stores in the retail industry, the presence of a large number
of start-ups in the smart mirror market, and the new and innovative features of smart
mirrors are driving the market growth. Major factor restraining the growth of the
smart mirror market is the security issues associated with confidential and personal
data. [2]
Description: The mirror provides a natural means of interaction through which the
residents can control the household smart appliances and access personalized
services. Emphasis is also given to ensure convenience in accessing these services
with a minimum amount of user intervention. For example, face recognition-based
authentication is used to automatically identify the user facing the mirror and provide
widget-based interface to access data feeds and other services. A service-oriented
architecture has been adopted to develop and deploy the various services, where the
mirror interface, the appliances, and the news and data feeds all use Web service
communication mechanisms. The smart mirror functionalities have been
demonstrated by developing an easily extendable home automation system that
Page | 8
facilitates the integration of household appliances and various customized
information services. [7]
Description: Software is an essential part of any smart mirror used in hospitality and
retail, and healthcare and smart home applications. The software is used to display
any information on the mirror screen. The information to be displayed varies
according to the use of the mirror. The data required for displaying this information
is sourced from various data sources. The predicted highest growth of the market for
software for the said applications is attributed to the large adoption of AR-based
mirrors in the hospitality and retail sectors. The advancement of the features such as
3D modeling is likely to result in the higher growth of the market for software during
the forecast period. [3]
There is no prior application of Smart Mirror in the field of education that has been worked on.
Therefore our paper would be in a complete new direction wherein we start from scrap by
taking input from students and professors.
We took suggestions from them as to how their time and work can be optimized by
incorporating all the information in a database which is to be placed in an interactive system
and is voice controlled for ease of access.
Page | 9
VIT, CMPN 2019
CHAPTER 2
ANALYSIS
Creating V-Mirror
Page | 10
ANALYSIS
For implementing our project, we are going to use Incremental model. Since the main
feature of Incremental model is that it provides working model which becomes convenient in
these ever-changing additional functionalities.
The incremental build model is a method of software development where the product is
designed, implemented and tested incrementally (a little more is added each time) until the
product is finished. It involves both development and maintenance. The product is defined as
finished when it satisfies all of its requirements. This model combines the elements of the
waterfall model with the iterative philosophy of prototyping. The product is decomposed into
a number of components, each of which is designed and built separately (termed as builds).
Each component is delivered to the client when it is complete. This allows partial utilization of
the product and avoids a long development time. It also avoids a large initial capital outlay and
subsequent long waiting period. This model of development also helps ease the traumatic effect
of introducing a completely new system all at once. There are, however, several problems with
this model.
Page | 11
Advantages-:
1. After each iteration, regression testing should be conducted. During this testing, faulty
elements of the software can be quickly identified because few changes are made within
any single iteration.
2. It is generally easier to test and debug than other methods of software development because
relatively smaller changes are made during each iteration. This allows for more targeted
and rigorous testing of each element within the overall product.
Page | 12
2.2 Feasibility Study
Technical feasibility: The project group members are equipped with knowledge and expertise
on various technical topics to be implemented during the course of the project development.
For guidance and professional expertise, the project guide is more than capable of providing
precise and supreme solutions to unforeseeable problems during the course of the project
development.
Economic feasibility: Though, the initial investment in the project are considerably high, but
the project shall gain stability over its life resulting in substantial profits in long run.
Legal feasibility: After study of basic copyrights and law, the proposed system does not
conflict with legal requirements, protection regulations and the proposed venture is acceptable
in accordance to the laws as we aren’t violating any.
Operational feasibility: The proposed project is an improvement over an existing system. The
timeline is suitable for the implementation and development of the project. The proposed
system is sustainable and reliable.
Financial feasibility: The requirement of infrastructure will depend upon the size of the
project. Thus investment in project will directly vary with the size of the project. Hence
financial constrains if any should be considered while deciding the financial feasibility.
Resource feasibility: There is sufficient time available to build the new system, it can be built,
and it does not interfere with normal business operations, type and amount of resources
required, dependencies, and developmental procedures.
Page | 13
2.3 COST ANALYSIS:
Prices:
Raspberry Pi 3b+ - Rs 3300
Mirror – Rs 120
Wires – Rs 240
Microphone – Rs 100
SD card – Rs 200
Page | 14
VIT, CMPN 2019
CHAPTER 3
SYSTEM REQUIREMENTS
Creating V-Mirror
Page | 15
SYSTEM REQUIREMENTS
Noobs installer
Mapbox studio
Raspberry Pi 3b+
LCD Screen
Speaker
Microphone
SD Card (32 GB )
Frame
Page | 16
VIT, CMPN 2019
CHAPTER 4
DESIGN
Creating V-Mirror
Page | 17
DESIGN
Page | 19
4. 3. 2 Sequence Diagram
Page | 20
4.4 Data Flow Diagram:
Page | 21
VIT, CMPN 2019
CHAPTER 5
Implementation
Creating V-Mirror
Page | 22
Implementation
To get started with Raspberry Pi: Installation of Raspbian stretch operating system with the help
of NOOBS Installer.
All the other development kits i.e. Python, Node JS, npm and its dependencies were also installed.
Basic custom modules were created for:
Time
Current weather
News
Informative articles
In the long list of events and holidays organized by college, the main events related to a particular
department are left out as well as keeping a track of the upcoming holidays is difficult. In order to
overcome these issues, a module is created which will display the list of the upcoming holidays
and a pop up will appear which would give the warning regarding the deadlines and the events for
that day.
Each class in every department has a different time table, this module will display time table for a
specific class. All the subjects and their respective timings are stored in a yaml file and then
converted into a Json object in a java script code.
Page | 23
Modules
Weather Module:
Time Module:
Page | 24
The following properties can be configured in this module using packages available for Raspberry
Pi 3B+:
1. Timeformat- To choose 12 or 24 hour time format
2. Showdate- Turn on or off the Date section.
3. Displaytype- To choose between analog or digital clock
4. Timezone- Specify a timezone to show clock.
Compliments Module:
Properties for compliments module:
1. Update interval- Possible values: 1000 - 86400000. It tells the module to update after given
milliseconds
2. Classes- Used for css classes for font type
3. Morning start time- The time at which the morning compliments start
4. Evening start time- The time at which the evening compliments start
Wiki Module
1. ARTICLE_NEXT: Shows the next news title (hiding the summary or previously fully
displayed article)
2. ARTICLE_PREVIOUS: Shows the previous news title (hiding the summary or previously
fully displayed article) . The following example shows how the next news article title can be
displayed- this.sendNotification(‘ARTICLE_NEXT’);
3. Feeds- An array of feed urls that will be used as source.
More info about this object can be found below.
Default value: [{ title: "New York Times", url:
"http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml", encoding: "UTF-8" }]
4. showSourceTitle - Display the title of the source.
Page | 25
Fig: 5.1.1.4 Wiki Module
Page | 26
5.2 METHODOLOGY
1. Smart Mirror as a Mirror: It basically acts as a simple mirror and increases the aesthetic value
of the place as it works as a mirror when idle. [5]
3. Smart Mirror as a Informative System: Widgets for Time , Date , Weather details and news are
fetched from online using predefined URL. [5]
b. DHT11-digital sensor is used to get humidity and temperature details which will be
connected to the GPIO pin of the Raspberry Pi 3.
4. Smart Mirror as a Database Hub: Students searching for event details, exam time table ,
submission deadline and other notices related to their department/class from the ERP is a tedious
task . Instead a Smart Mirror outside each department would be the best solution as it will fetch
the respective information called out by the user from the database which would be managed by
the admin.
5. Smart Mirror used for Navigation: Any new student or staff is always confused about the
direction to their desired location (ie classroom/department/labs/library) when new to the college
specially which have huge and confusing campus. This Smart Mirror will guide the person
regarding the same.
Page | 27
5.3 HARDWARE SETUP
Page | 28
VIT, CMPN 2019
CHAPTER 6
WORKING
Creating V-Mirror
Page | 29
WORKING
6.1 System Overview
The LCD screen will be attached behind the two way mirror. The LCD screen will be connected
to a raspberry Pi3, which is a mini computer that can be connected to an electronic display and
can be used to explore the computing and coding in languages such as Python, JavaScript.
Basic widgets such as news, weather will be customized in the backend of the Raspberry Pi 3.
Further, there will be an admin, who will be provided with a simple application wherein
he/she can input data to database that will eventually be accessed by the interactive mirror when
asked by the use. The Jasper will act as a platform for the voice controlled aspect. The keywords
will be customized into the module of Jasper and the mirror will reply accordingly by analyzing
the input from the user. There will be a microphone and a speaker connected to the GPIO pins
of the Raspberry Pi 3.
The database will consist of all the information regarding the time table which will be sorted
according to different classes and labs. It will also consist of different notices and deadlines for
the respective class.
Page | 31
Fig. 6.1.4 Pictorial representation of campus
Page | 32
6.2 Devices
6.2.1 Raspberry Pi :
The Raspberry Pi is a series of small single-board computers it’s goal was to create a low-cost
device that would improve programming skills and hardware understanding at the pre-university
level . All over the world, people use Raspberry Pi to learn programming skills, build hardware
projects, do home automation, and even use them in industrial applications.
The Raspberry Pi is a very cheap computer that runs Linux, but it also provides a set of GPIO
(general purpose input/output) pins that allow you to control electronic components for physical
computing and explore the Internet of Things (IoT)
Since one is an analog interface and the other is digital, it is clear that active conversion is required
in either direction. In some situations, it may be necessary to send a VGA signal from a computer
to an HDMI connection on a newer display, TV, or projector. Using a VGA to HDMI
Scaler/Converter, like the one shown in the picture above, allows you to connect your computer to
any device requiring an HDMI connection.
Page | 33
Fig. 6.2.2: HDMI to VGA wire
6.2.3 Microphone:
A microphone, colloquially nicknamed mic or mike is a transducer that converts sound into an
electrical signal. Microphones are used in many applications such as telephones, hearing aids,
public address systems for concert halls and public events, motion picture production, live and
recorded audio engineering, sound recording, two-way radios, megaphones, radio and television
broadcasting, and in computers for recording voice, speech recognition, VoIP, and for non-acoustic
purposes such as ultrasonic sensors or knock sensors. Several different types of microphone are in
use, which employ different methods to convert the air pressure variations of a sound wave to an
electrical signal.
Page | 34
6.2.4 LCD
A liquid-crystal display (LCD) is a flat-panel display or other electronic visual display that uses
the light-modulating properties of liquid crystals. Liquid crystals do not emit light directly , instead
using a backlight or reflector to produce images in color or monochrome.[1] LCDs are available to
display arbitrary images (as in a general-purpose computer display) or fixed images with low
information content, which can be displayed or hidden, such as preset words, digits, and seven-
segment displays, as in a digital clock. They use the same basic technology, except that arbitrary
images are made up of a large number of small pixels, while other displays have larger elements.
6.2.5 Speaker:
A speaker is a term used to describe the user who is giving vocal commands to a software program.
A computer speaker is a hardware device that connects to a computer to generate sound. The signal
used to produce the sound that comes from a computer speaker is created by the computer's sound
card.
Page | 35
VIT, CMPN 2017
CHAPTER 7
CONCLUSION
Creating V-Mirror
Page | 36
CONCLUSION
A completed and functioning Smart Mirror is now ready for presentation. The Smart Mirror thus
accomplishes the required goals of the project. At minimum, the project set out to have a mirror
with aesthetic look when not in use and as an interactive screen with modules that could display
dynamic date and time , compliments , current weather , upcoming holiday list , news , etc.
Additional modules for displaying the time table, events for that day, and pop-up for the deadlines
and important notices are also created. Other feature of the project executed is the navigation
system wherein the basic schema (map) of the college is ready and would be displayed to the user
making it easy for him to reach the desired location.
However, aesthetically the mirror looks exactly as we had envisioned it. Our only regret in this
area is that the project is very heavy and bulky. Future versions would need to work on reducing
weight and slimming down the product. Overall the project met most of its goals and we are happy
with its success
Page | 37
VIT, CMPN 2019
CHAPTER 8
FUTURE SCOPE
Creating V-Mirror
Page | 38
FUTURE SCOPE
This product when successfully implemented, can be used by almost all educational sectors
running with least gadget’s requirement.
This product doesn’t limit to any group of people, it is applicable to almost everyone in the
education sector like teachers, students, librarians, peons etc.
Future scope
Touchscreen Smart Mirror
Voice Controlled Smart Mirror
ERP access for attendance details
Mailing system
Page | 39
VIT, CMPN 2019
CHAPTER 9
REFERENCES
Creating V-Mirror
Page | 40
REFERNCES
1. IOT Based Smart Mirror using raspberry Pi. Lakshmi NM and Chandana. IJERT.
https://www.ijert.org/phocadownload/conference/2018/NCESC2018/IJERTCONV6IS13131.
pdf
6. Smart Mirror- A glance into the future. Jason Chen. Santa Clara University.
scholarcommons.scu.edu/cseng_senior/93/
7. Smart Mirror- Smart Home Solution. Justin Gentry and Hector. UCF.
http://www.eecs.ucf.edu/seniordesign/sp2016fa2016/g24/docs/CDR.pdf
8. IOT Based Smart Mirror using raspberry Pi. Lakshmi NM and Chandana. IJERT.
https://www.ijert.org/phocadownload/conference/2018/NCESC2018/IJERTCONV6IS13131.
pdf
Page | 41