9.Project-Smart Refrigerator

Abstract :

If we use IOT in our daily life it  makes our life easier. In this project our refrigerator is connected to the raspberry pi and from this it is connected to internet. In this weight sensor(FSR) is connected to calculate weight and camera is connected to take pictures i refrigerator. By these two sensors our refrigerator is connected to internet and we can access some instances in refrigerator.

Requirements : 

  • Raspberry pi
  • FSR(Force Sensitive Resistor)
  • Arduino(Optional)
  • Camera
  • Wires and Resistors

About sensor: 

  • Force-sensing resistors consist of a conductive polymer, which changes resistance in a predictable manner following application of force to its surface.
  • When force is applied on active are and weight is going to change. When we sensor we can find the active area.
  • We all know about camera and its operations.

First coming to connection of sensors

  • Connecting FSR to raspberry pi :                                                                                                                                         In this process I used arduino because it converts analog to digital and I connected this arduino  to Raspberry pi.Image result for FSR connecting arduino     By using USB I connected this arduino to raspberry pi.
  • Next coming to camera we have camera module in raspberry pi and camera is fixed in it.

Programs to connect these sensors:

link that provide scripts

After writing the code interesting part is how to interact with user. For this I followed two methods. They are:

  1. Storing data in database
  2. displaying stored data through an application

Data storage from sensors :

I used mongoDB to store the data from sensor. I used this because I came to know it can be used for data analytics.

used this link to connect mongoDb with python

Capture

when we use the above code data can be inserted into database. Now we can access the database.

  • Now coming to displaying data to the user I choose .NET application to display them.

Capture.PNGAbove picture gives some information about .NET application.

By using this I used to display data stored in database.

  • In this project I used camera and used some commands to mail images and get live video.

used this link to create live video

  • used “echo” command to send emails (I preferred emails to send notifications.

Now coming to flow of this projectCapture                                          RESULTS : 

.net application is used to display the results in webpage.

Capture.PNG

And notifications are send to emailCapture

Future Enhancement:

  • By adding the earth coordinates to application we can get notifications about groceries which are in less quantity in our refrigerator.
  • we can analyse the weight and get summary about groceries in the week.

STRUCTURE OF THE PROJECT:

This link provides architecture of project

Technologies used in this project:

Restful services is used to send data from database to application. Architecture which provides how Restful works:

d1a98509-d298-4286-950f-88fd1261f6fc