Professional Documents
Culture Documents
Abstract
Abstract
This paper presents the design and the development of an interactive, futuristic Smart Mirror with artificial intelligence for the ambient home environment as well as
for commercial uses in work and public environments. The project collects real world machine data based on user requirements, and this data is displayed to the user.
The entire working of the Smart Mirror system is controlled and managed by a Raspberry Pi. The Smart Mirror implemented, is a personalised digital device equipped
with peripherals, namely - a microphone, speakers, an LCD monitor covered with a sheet of two-way acrylic mirror, and is powered by a Raspberry Pi. It provides basic
common functionalities such as weather of the city, latest updates of news and headlines, and local time corresponding to the location. Using speech processing
techniques the user, therefore, interacts with the Smart Mirror through verbal commands. A Remote Configuration Tool (RCT) is also created to help the user with the
working of the Smart Mirror when the user’s voice commands result in false positives and true negatives. The Smart Mirror listens to the user’s commands and performs
the corresponding functions.
KEYWORDS: Smart Mirror, Raspberry Pi, Internet of Things, Ambient Artificial Intelligence, Web Programming ,
CHAPTER 1
INTRODUCTION
Interactive raspberry pi is programmed using python and connects to a monitor with inbuilt speaker so as to provide an onscreen interface and voice assistance as well.
Section 2 focuses computing, with wirelessly connected embedded devices that are being used in various day today activities, are changing and improving the standards of
the quality of life. Based on this interactive computing and communication technologies, many devices/products are now emerging and with this multimedia intelligence it is
providing comfortable, secure and convenient personal services everywhere whether it is home or various industries and making a lot of users comfortable .We look at the
mirror daily and interact with it psychologically to find out how we look and how our attire is. The interactive mirror is a development effort to augment the mirror with
proper embedded intelligence for offering enhanced features such as weather of the city, latest updates of news and head-lines and local time corresponding to the location.
The Smart Mirror would help in developing smart houses with embedded artificial intelligence, as well as finding its applications in industries. The remainder of this paper is
organized as follows. Briefly comments on theory and some related works. This is followed by the description of the smart mirror including the design and architecture of the
proposed Smart Mirror in Conclusion and some thoughts on future work are presented at last. Smart mirrors are straight from science fiction. They’re part of an optimistic
vision of the future that imagines a world where screens and data are everywhere, ready to feed you whatever information you need at a moment’s notice. Basically, the
mirror is looks like normal mirror but when someone stand in front of it the scene changes. The mirror provides a functional, user friendly and interactive UI to its user for
accessing their social sites, messengers,etc. It has widgets for displaying the current whether conditions, Time, Events, Latest news headlines The Smart Mirror would help in
developing smart houses with embedded artificial lintelligence, as well as finding its applications in industries. Switching home appliances becomes easy with mirror. Virtual
dressing, a smart way of having trial
1.1 OVERVIEW:
Needs Statement:
Over 1 million #selfies are taken every day with 30% of photos taken by people between the ages of 18 and 24 being#selfie1. In total, 28% of time spent online is on social
media2. According to A today AOL survey, women spend an average of 6.4 hours/week while men spend 4.5hours/week working on their appearances3. The Smart Mirror is a
system that combines these tasks in an efficient and enjoyable way to provide time savings for the use.
1.2 Objective Statement:
The objective of this project was to design and prototype a device that acted as a “Smart Mirror” by displaying the user’s image and providing customizable information on the
display. A “Smart Mirror” is a device that acts as a traditional mirror while also superimposing informational data which can be customized by the user. The mirror also allows
for touch free user interaction with some of the data displays. Users are able to create a profile and customize the visual interface to display what specific data feeds they want.
1.3 Product Description:
The mirror is eventually a technologically augmented interaction device. The objective of designing the mirror is to provide a natural interface in the ambient home
environment for accessing various services such as location based weather, time, calendar etc. as well as provide access to YouTube, Soundcloud, maps etc. The project
includes downloading the Raspbian operating system based on Debian and extracting the image on SD card, inserting the card in the Raspberry Pi SD slot an then
performing the required steps. We plan to deliver a working prototype i.e. design and development of a futuristic Smart Mirror on Raspberry Pi 3 for the ambient home
environment as well as for commercial uses in various industries. Most people have mirrors at home, so the concept of a smart mirror that you can interact with is
attractive and can be fantasized by anyone .At times no one has time to read the newspaper or switch on the TV right in the morning to check the news headlines or the
weather forecast. If a mirror serves to this purpose, one can imagine the amount of time it will save and be of such a great use. The device was to look like a regular
mirror but would have a screen inside. The project which would collect real world machine data such as location based latest news and headlines, weather reports, and as
well as show us the local time. The data would be transmitted from the machine and would be managed in a central database. We have also worked on including
Artificial Intelligence in the Smart Mirror wherein a Voice enabled assistant will cater to the needs of the user.
Before beginning such an involved project, research is required in order to build up a good background and understanding of what is needed. Research done by each
engineer will be determined on what parts of the project they are responsible for or interested in. For the electrical engineers this consists of all hardware components, as
well as design techniques. The computer engineers researched various techniques for communication, facial recognition, and the architecture that will ferry messages
between the hardware and the Internet. Time was also taken to look into devices are products that already exist that are similar to ours. This is an important aspect not only
to generate ideas for our own mirror, but also to make sure our device is different from the others and provides benefits that they cannot.
Magic mirror
Magic Mirror is a DIY project designed by Michael Teeuw. This design was the main influence of our Smart Mirror. The Magic Mirror allows users to view the weather in
their area, their calendar, the local news, and provide a compliment. The mirror works by having a display monitor display information behind a two-way mirror. The
two-way mirror allows the information (white text) to be seen from the other side, while still reflecting the user’s appearance. Teeuw designed a webpage that would
constantly update with all the information to be displayed. The webpage is a simple design, white text on a black background, in order to be seen through the mirror. A
Raspberry Pi is used in connection with the display monitor to show the webpage. In order to power the project, Teeuw found a monitor with USB ports and used that to
power the Raspberry Pi. The biggest influences of the Magic Mirror on this project are the mirror design and the open source software.
4.2 Relevant Technologies
The following research section highlights the relevant technologies and engineering related concepts which may be utilized within the development and implementation of the Smart
Mirror. While an explanation of each technology is present, initial decisions regarding the different implementations may also be found, playing a part later in component selection.
By first researching and understanding the existing technology which can be utilized in the system, the team has been able to make educated decisions with respect to technical
concepts and options available.
I2C
The I2C communication protocol is a popular technology due to its robust nature of acknowledgments between a master and slave devices. The protocol relies on just two wires
for communicating with up to ~112 devices. Two signal wires, SCL and SDA, are used for communication. The two signal wires are considered to be open drain since pull up
resistors are used to pull the signal high when the devices are not communicating, and the devices will pull the signal low during communication. During design, a master device
must be selected as the device which initiates all communication between itself and the slave devices. With I2C communication, every device is designated as a Master or a Slave.
In most implementations, a system will consist of a single master device which drives the SCL clock line and initiates all communication with slave devices. Slave devices act as
responders to the requests being made by the master device.
CHAPTER 4
Related Standards and Realistic Design Constraints
The following sections describe various standards and constraints associated with this project. It is important to keep standards in mind during the design process in
order for our project to be up to industry par. It is also pertinent to understand the constraints involved so that the process can go smoothly with no sudden surprises.
There are a multitude of standards that must be abided by in the process of designing a project, and many constraints that must be recognized and worked with. Our
group took the time to research a few of the standards that directly impact our project and they can be seen in the Standards section below. We recognized what kind of
constraints may arise from the project based on the nature of the required components and operation of the various subsystems. Within the corporate engineering
environment, numerous standards must be applied to the new technology and devices developed by the engineering and technical employees. By abiding with the set of
standardized rules, product safety, compatibility, consistency, and repeatability are enforced for these products. As a precursor to industry development, it is crucial to
understand the research process required to develop a new product compliant with the established legal standards.
USB 2.0
Universal Serial Bus (USB) is the standard that details the cables, connections and communication protocols for a bus that can be used for communication and/or power
supply between electronic devices. The Raspberry Pi is powered using a Micro USB cable so this standard is relevant to the project. For this project the USB Power
Delivery section of the standard is most applicable. This standard offers some useful features in regards to the power delivery capabilities of USB. It can deliver up to
100W, power flow is bidirectional, optimizes the flow of power, and can also be used in low power situations. The most useful feature for this project is the optimized
flow of power. This means that only the power needed to run a device is sent through the cable. When the mirror is not in use, the Raspberry Pi will draw less power is
less of the devices connected to it will be using energy. Once the mirror is in use, the Pi will need more power drawn for the power supply.
RS232
RS232 is the standard set by Electronic Industries Association (EIA) that relates to serial communication transmission of data. The standard defines signal characteristics
such as voltage levels, timing, slew rate, signaling rate, short circuit reactions, and cabling standards. This standard is applicable to the project as the ATmega328
microcontroller and Raspberry Pi microcomputer will communicate with each other via serial communication. The selected components, to be later discussed, implement
the RS232 standard natively through the UART embedded modules.
IEEE 802.11
(Wi-Fi) 802.11 is the standard set by IEEE regarding the use of Wi-Fi. The standard allows the transmission of signals over the 2.4 GHz ISM band in the US. This
standard allows all 23 devices, regardless of manufacturer, to communicate with each other wirelessly. This project will use a Raspberry Pi that has a Wi-Fi chip, so this
standard is applicable. We will use the Wi-Fi connection to connect to the local network to obtain data from multiple sources for display on the mirror. Adherence to this
standard has been met through association as the manufacturers of the Raspberry Pi have developed the board with a 802.11 compliant chip. Specific implementations of
the standard will not require design from the ground up and are reliant on the certified compliance of the device when it was released to the market.
IEC 60269
IEC 60260 is the engineering standard that applies to the use of fuses to protect a circuit. The volume that is applicable to the project is “IEC 60269-5 – Guidance for the
Application of Low Voltage Fuses”. This section explains how to apply fuses to your circuits in order to protect your electronic equipment or electrical devices. This is the
first time the engineers in the team have designed a power distribution system so a fuse will help to ensure protection in case there is a fault in the design. When the PCB
is designed, circuit protection will be kept in mind, and a fuse will most likely be used in this way.
5.2 Realistic Design Constraints
When taking on any project, one must always consider the constraints involved. These are what will limit the project in ways that typically cannot be controlled. Due to the
nature and setting of this project many constraints arise. The following sections will discuss these constraints in detail.