Abstract— This paper describes the design and working problems. It also acts as an innovative and attractive
of mirror made smart called magic mirror built using object that can be placed in any surrounding.
raspberry pi. The visual representation of the product is
similar to a regular mirror that can display weather details,
A product that can inhibit all the qualities of a regular
temperature, time and daily news on voice commands. The
smart mirror acts as a personal assistant, an enquiry center personal assistant on androids or laptops with application-
and displays important curriculum or college notices. It can based knowledge along with the above-mentioned
answer basic questions, display class timetable and show problems with some suitable speech detection modules
directions to various places of an institute. It could be linked and speech convertor engines, all in a small processing
to google cloud for various IOT based tasks like home power operating system as that of a raspberry pi (Debian).
automation etc. It uses a proximity sensor to turn on the
screen if in use and turn back off when not in use. Built on a Putting the tasks above in a simplified manner, three
strong speech to text engine, it can understand various types basic functionalities that would be fulfilled can be given
of accents to understand any command clearly. The smart or
magic mirror designed by using a raspberry pi as the main
as,
controller and a led display that is placed behind the mirror, 1. Personal Assistant-
can serve a variety of endless application-based commands. The mirror acts like a personal assistant. The mirror does
With such a wide range of applications, this could certainly various tasks like updating calendar, setting up reminders,
become an important part of technology in future times. updating date and time, displaying weather, daily news
and other such general-purpose activities. It can respond
Keywords—Interactive mirror, notice board, personal to some of the commands like time, weather, news, g-
assistant, enquiry center. mail, technology updates, college notifications, birthday,
jokes, life.
I. INTRODUCTION 2. Enquiry Centre-
Students may have many doubts related to their academic.
Mirrors are everyday items that have so far eluded And also, some students face trouble in finding a
being made smart. The idea of combining a mirror with particular teacher or a classroom. Such queries can be
technology, discussing further possibilities and uses are answered by the mirror. This enquiry center can be very
some objectives of this paper. The smart mirror is same as helpful to the first-year students who are new to the
various smart devices available like smart phones, smart college. These queries will be regarding finding the
televisions, smart lights etc. but with some certain and direction to any particular classroom, locating any
specific advantages. The smart mirror was way beyond an professor etc. This can be an endless module as we can
ordinary mirror, having a screen inside that one can configure as many questions as we need. Thus, this can
interact with by using voice commands. The smart mirror differ based on the workspace in which you are using this
usually consists of a one-way mirror with a screen mirror.
attached to it that displays a static web page. 3. Notice board-
The mirror works with the help of a raspberry pi. A The mirror can be used for displaying various academic
Raspberry Pi is a credit card-sized computer originally notices in the college. Though the colleges have LCD’s
designed for education. The Raspberry Pi is slower than a for this purpose, but it is not cost efficient and also
modern laptop or desktop but is still a complete Linux changing the information on the display is comparatively
computer and can provide all the expected abilities that difficult. By using smart mirror, it can be done easily. The
implies, at a low-power consumption level. The proposed product is linked with the android device of the
system is used for a college environment. There are administrator so that he can change the notice and
several displays or notice boards present at different information as and when required to be displayed.
places in an institute that are difficult to operate manually.
The problem of finding places in new buildings was too a
concern. This product acts as a solution for above
II.LITERATURE SURVEY platform allows to easily implement a general-purpose
Michael Teeuw’s [1] was the first to develop a smart smart mirror on a Raspberry PI computer board with some
mirror and was the first to embrace the idea of using a RPI basic functionalities, such as clock, calendar, current
to power an informative mirror. The first smart mirror weather, newsfeed etc., and many other third-party
blog was posted back in 2014, since it was a very new functionalities. The server module leads all the operations:
product it gained a lot of attention back then. The mirror interaction with the user through the sensors and the
uses raspberry pi 2 and display as monitor. It simply mirror user interface (UI), information visualization
displayed the time and weather using modules. It was through the mirror UI etc. Summing up, the server module
simply an information panel, we cannot interact with the operates four main functionalities following a multi-
mirror. A module-based interface was created and thread paradigm: world sensing, information processing,
displayed weather, news, time or daily comic strip. information management and information visualization.
Ryan Nelwan [2] in the year 2016 gathered much
interest and developed a smart mirror much similar to the A. Notice:
one developed by teeuw’s, however it had the touch This module displays a random notice regarding any
capability. It serves mostly as an entertainment system academic activities that are to be conducted in the college.
where a user can use the touch controls to control music The notification property contains an object with four
or run different program, but does not implement any arrays: ‘morning’, ‘afternoon’, ‘evening’ and ‘anytime’.
forms of artificial intelligence.
Hannah Mittelstaedt [3] made a home mirror and B. Newsfeed:
posted in reddit. It was the main inspiration for my This module displays news headlines based on an RSS
project. She actually used Nexus 7 tablet as the display feed. Scrolling through news headlines happens time-
panel. Since it was an android tablet so she used android based (update Interval), but can also be controlled by
widgets to display time, weather, date, remainders. The sending news feed specific notifications to the module.
software doesn’t support custom widgets but it is An array of feed URLs are used as source. The URL of
opensource so anyone can modify it and create a different the feed used for headlines is:
version. The code is available on GitHub where Hannah 'http://www.timesofindia.com/services/xml/rss/nyt/Home
also provided a step-by-step guide on how to build the Page.xml'.
device. Home Mirror is a device that also looks great and
it is also easier to build than other devices as it only C. Update Notification:
requires two main parts, the tablet and the mirror. This will display a message whenever a new version of
However, it lacks any kind of interaction. the Magic Mirror application is available.
D. Clock:
III.SYSTEM DESIGN This module displays the current date and time. The
information will be updated real time. It displays time in
24-hour time format. The time zone Asia/Kolkata is used
for displaying time.
E. Current Weather:
This module displays the current weather, including the
windspeed, the sunset or sunrise time, the temperature and
an icon to display the current conditions. The location
used for weather information is Mumbai, Maharashtra,
India. The weather information is obtained from the url:
'http://api.openweathermap.org/data/’.OpenWeatherMap i
s an online service that provides weather data, including
current weather data and forecasts. For data sources, it
utilizes meteorological broadcast services ,raw data
from airport weather stations, raw data from radar
Figure 1-Block diagram stations, and raw data from other official weather stations.
All data is processed by OpenWeatherMap in a way that it
The software architecture of the system is implemented
attempts to provide accurate online weather forecast data
through the web socket communication protocol. The
and weather maps.
architecture is modular and each single module can be
easily integrated in the Magic Mirror platform. This
F. Weather Forecast: I. WORKING OF PROJECT
This module displays the weather forecast for the coming
week, including an icon to display the current conditions,
the minimum temperature and the maximum temperature.
The URL used for this module is same as that of current
weather module.
G. Weekly Schedule:
It displays today's timetable from a weekly recurring
schedule of a timetable of particular class. It is intended
for regular weekly schedules, which have a low update
frequency and thus can be maintained manually.
H. PIR Sensor:
It can monitor a PIR motion sensor and put your mirror to
sleep if nobody uses it by turning off HDMI output or by
turning off the mirror via a relay.
I. Slide Changer:
This is an extension to the above modules, allowing the
modules to be displayed in a rotating carousel instead of
displaying all of them at once.
J. Alarm:
In this an array is created where all the alarms are treated
as objects. These objects have properties like time,
24-hour format, days etc. A sound is set for the alarm and
if the sound is not defined alarm will be fired with default
alarm sound. Along with these certain voice modules can
be included which are accessible through voice
commands. They are:
a. Technology news:
This module gives the latest technology news when asked
by the user. Technology News is a social news website
that caters to programmers and entrepreneur, delivering
content related to computer science and entrepreneurship.
Jasper technology news will notify the user about the top
10 stories.
b. Evernote:
Allows you to create notes and let the mirror store the
note in your Evernote account.
c. Status:
This module gives information regarding the status of the Figure 2 - Workflow diagram.
mirror like in which platform it is running, its current
CPU utilization, current memory utilization etc. For the hardware, a Dell computer monitor, a two-way
d. MQTT: mirror (or a one-way glass), a Raspberry Pi, USB
When triggered it publishes a simple MQTT event. The microphones, jack speaker and a proximity sensor are
available devices are room, light, door and the available used. Everything was put together in a wooden frame.
topic messages are on, off, true, false, open, close. The device has two wooden parts. The back part holds the
e. Reboot and Shutdown: display and the Raspberry Pi and is used to support the
These are used to reboot and shutdown the raspberry pi device so that it can be hung on a wall. The frame is
using voice. attached to the glass by two small wooden slots.
work out of the box. It lacks a hard drive and it does not
come with a preinstalled operating system. To install an
OS microSD card prepared with an OS image is needed.
And because the software that runs on the mirror is coded
on the same device at least a screen, a keyboard and a
mouse are required.
Fig.5:Initialization
3. Raspberry Pi
The Raspberry Pi is a single board computer developed by
the Raspberry Pi foundation in the UK. The Pi does not Fig.6:Home screen
The screen shows the timetable display. control the household appliances like switch on/off light
and fans through basic voice commands. Majorly, since
we are using this mirror in college environment, basic
functionalities like barcode scanner or finger print sensor
can be integrated to fulfill basic tasks such as college
attendance or program registrations etc. This could
include registering in programs by scanning of ID cards.
VII. REFERENCE