COMPUTER TECHNOLOGY | TYCM-A
SANJIVANI K. B. P. POLYTECHNIC, KOPARGAON
IOT Based Smart Mirror
Third Year Diploma (CM5I)
Department Of Computer Technology
Presented By:
1) Gite Tushar Somnath (1800340407)
2) Kotwal Anurag Mahesh (1800340433)
3) Pawar Pranav Anand (1800340446)
Guide:
Prof. P. M. Dhanrao
Page No. 1
Sanjivani K. B. P. Polytechnic, Kopargaon
Contents:
COMPUTER TECHNOLOGY | TYCM-A
Page No. 2
Sanjivani K. B. P. Polytechnic, Kopargaon
7%
1] Introduction:
COMPUTER TECHNOLOGY | TYCM-A
Page No. 3
Sanjivani K. B. P. Polytechnic, Kopargaon
15%
2] Objectives:
�
COMPUTER TECHNOLOGY | TYCM-A
Page No. 4
Sanjivani K. B. P. Polytechnic, Kopargaon
21%
3] Problem Statement:
COMPUTER TECHNOLOGY | TYCM-A
Page No. 5
Sanjivani K. B. P. Polytechnic, Kopargaon
The major problem of any existing mirror is displaying just the object in front of it or just the human face without having to information of with them. This project is developed with the intention that people spend quality time in front of the mirror.
29%
4] Literature Review:
�
COMPUTER TECHNOLOGY | TYCM-A
Page No. 6
Sanjivani K. B. P. Polytechnic, Kopargaon
37%
5] Proposed system and Block diagram:
COMPUTER TECHNOLOGY | TYCM-A
Page No. 7
Sanjivani K. B. P. Polytechnic, Kopargaon
48%
COMPUTER TECHNOLOGY | TYCM-A
Page No. 8
Sanjivani K. B. P. Polytechnic, Kopargaon
Figure 1.1 Block Diagram of Smart Mirror
57%
6] Few Lines of Code:
def tick(self):
with setlocale(ui_locale):
if time_format == 12:
time2 = time.strftime('%I:%M %p') #hour in 12h format
else:
time2 = time.strftime('%H:%M') #hour in 24h format
day_of_week2 = time.strftime('%A')
date2 = time.strftime(date_format)
# if time string has changed, update it
if time2 != self.time1:
self.time1 = time2
self.timeLbl.config(text=time2)
if day_of_week2 != self.day_of_week1:
self.day_of_week1 = day_of_week2
self.dayOWLbl.config(text=day_of_week2)
if date2 != self.date1:
self.date1 = date2
self.dateLbl.config(text=date2)
self.timeLbl.after(200, self.tick)
COMPUTER TECHNOLOGY | TYCM-A
Page No. 9
Sanjivani K. B. P. Polytechnic, Kopargaon
62%
class Clock(Frame):
def __init__(self, parent, *args, **kwargs):
Frame.__init__(self, parent, bg='black') # initialize time label
self.time1 = ''
self.timeLbl = Label(self, font=('Helvetica', large_text_size), fg="white", bg="black")
self.timeLbl.pack(side=TOP, anchor=E) # initialize day of week
self.day_of_week1 = ''
self.dayOWLbl = Label(self, text=self.day_of_week1, font=('Helvetica', small_text_size), fg="white", bg="black")
self.dayOWLbl.pack(side=TOP, anchor=E) # initialize date label
self.date1 = ''
self.dateLbl = Label(self, text=self.date1, font=('Helvetica', small_text_size), fg="white", bg="black")
self.dateLbl.pack(side=TOP, anchor=E)
self.tick()
7] Result and Output:
COMPUTER TECHNOLOGY | TYCM-A
Page No. 10
Sanjivani K. B. P. Polytechnic, Kopargaon
67%
COMPUTER TECHNOLOGY | TYCM-A
Page No. 11
Sanjivani K. B. P. Polytechnic, Kopargaon
7.1) Output :
Figure 1.2 Output of Smart Mirror
74%
COMPUTER TECHNOLOGY | TYCM-A
Page No. 12
Sanjivani K. B. P. Polytechnic, Kopargaon
7.2 Live demo output :
77%
8] Requirements analysis :
COMPUTER TECHNOLOGY | TYCM-A
Page No. 13
Sanjivani K. B. P. Polytechnic, Kopargaon
Raspberry Pi 3 Model B+ (RAM 1GB)
Temperature sensor DHT11
Wi-Fi Module ESp8266
Monitor Display 15”
Resistor, Capacitor, Diode
Mirror Frame 16”
Mirror Panel(One way glass)
80%
9] Functional Overview:
COMPUTER TECHNOLOGY | TYCM-A
Page No. 14
Sanjivani K. B. P. Polytechnic, Kopargaon
84%
10] ER Diagram:
ER Diagram stands for Entity Relationship Diagram, also known as ERD is a diagram that displays the relationship of entity sets stored in a database. In other words, ER diagrams help to explain the logical structure of databases.
COMPUTER TECHNOLOGY | TYCM-A
Page No. 15
Sanjivani K. B. P. Polytechnic, Kopargaon
85%
Figure 1.3 ER Diagram
11] Implementation:
Turn on the supply of both raspberry and LED Monitor.
Turn any Hotspot and connect it with raspberry Pi.
Now to Monitor the raspberry pi connect your device to raspberry through VNC Viewer it requires an IP address so we have to enter the correct IP address of raspberry pi so it will be get connected.
After the proper connection, open terminal and connect through terminal over the coding logic programming.
The smart mirror is displayed on the mirror through the LED Monitor. It displays the Date, news, Weather in your calendar.
COMPUTER TECHNOLOGY | TYCM-A
Page No. 16
Sanjivani K. B. P. Polytechnic, Kopargaon
86%
12] Limitations:
COMPUTER TECHNOLOGY | TYCM-A
Page No. 17
Sanjivani K. B. P. Polytechnic, Kopargaon
89%
13] Conclusion:
With the help of this literature survey we aim at designing a smart mirror that provides an ambient environment between users and the internet. The smart mirror can also be implemented in various industrial and home applications. Hence IoT proves out to be an important technology for making household appliances smart. Smart mirrors can be connected to Mobile phones. The mirrors can be better enhanced to be deployed in beauty parlors, cloth shops, hotels, etc. with better advancements in technology, mirrors can be used in many other fields.
COMPUTER TECHNOLOGY | TYCM-A
Page No. 18
Sanjivani K. B. P. Polytechnic, Kopargaon
92%
14] Reference:
COMPUTER TECHNOLOGY | TYCM-A
Page No. 19
Sanjivani K. B. P. Polytechnic, Kopargaon
95%
COMPUTER TECHNOLOGY | TYCM-A
Page No. 20
100%