This is a ECE Senior project on IoT and data analytics. The experiment intends to give an analytical synthesis of human behavior in a given space and time.
- Mongo DB
- MongoChef IDE
- NPM
- Node Js
- Angular Js
- Bootstrap
- AM Charts
- Data Collection
The Sensor component - ( JAVA ) sits on an Application Server and listens to the Raspberry pi GPIO pins using the pi4j API. The sensor data is saved in to MongoDB. This data collectively provides an analytical representation of the data collected over a considerable period of time.
- Motion Sensor to Raspberry Pi
- MongoDB Data Storage
- Data Analysis
Map Reduce is an algorithm to process huge volumes of data. The entire data process in basically broken into 2 steps.
MAP Step - In this stage the data is grouped per day.
Reduce Step - In this stage the value is summed for each day.
The Map Reduce process is repeated for each of the sensors for the entire data base.For example let us consider the following set of data for a particular Sensor id : HALL_SENSOR# Sensor Id Day Time 1 HALL_SENSOR Sunday 12:20:000 2 HALL_SENSOR Sunday 17:50:000 3 HALL_SENSOR Monday 22:32:000 4 HALL_SENSOR Tuesday 11:10:000 5 HALL_SENSOR Tuesday 12:22:000 - Web Based Display
-
Daily View
Occupancy volume per day in a week. This is displayed for each of Sensors.
The UI is built on Bootstrap Framework, ANgular JS running on Node.JS. The Application has MongoDB based security management. The Processed data is presented in the form of 2 charts