Monday, November 9, 2015

WHAT ARE GROVE SENSORS?

Grove is a modulated, ready-to-use tool set. Much like Lego, it takes a building block approach to assembling electronics. Compared with the traditional, complicated learning method of using a breadboard and various electronic components to assemble a project, Grove simplifies and condenses the learning process significantly. The Grove system consists of a base shield and various modules with standardized connectors. The base shield allows for easy connection of any microprocessor input or output from the Grove modules, and every Grove module addresses a single function, such as a simple button or a more complex heart rate sensor. Each one comes with clear documentation and demo code to help you get started quickly. The Grove system also offers stand-alone mixer packs (Grove - Mixer Pack and Grove - Mixer Pack V2) that include a set of Grove modules that can be connected with each other to circuits without having to use a base shield of any sort. This way, various projects and circuits that do not need micro-controllers or microprocessors can be built.The grove sensors used for the project are:
GROVE SENSORS FOR MOTION SENSING:

Sensors in this category enable your microcontroller to detect motion, location and direction. You can make the movement of your microcontroller understandable in three dimensional spaces or determine which direction is up with the help of a 3-axis accelerometer and compass.
Axis compass.jpg
3axi accelerometer 1.5g.jpg
Gbgr 01.jpg
Grove – Collision Sensor photo.jpg
AnalogAccelerometer.JPG
3-Axis Digital Accelerometer16g.jpg
6Axis Compass.jpg
Axis Analog Gyro.jpg

HOW TO BUILD AN ANDROID APP

1)SETUP THE ENVIRONMENT:
Before you start this class, be sure you have your development environment set up. You need to:

2)HOW TO GET STARTED
http://developer.android.com/training/basics/firstapp/creating-project.html.
3)HOW TO RUN THE APP
http://developer.android.com/training/basics/firstapp/running-app.html.
4)HOW TO BUILD A SIMPLE USER INTERFACE
http://developer.android.com/training/basics/firstapp/building-ui.html.
5)STARTING ANOTHER ACTIVITY
http://developer.android.com/training/basics/firstapp/starting-activity.html.

HOW TO SETUP A GALILEO BOARD

Setup Intel Galileo Gen 2 Board (Arduino Sketch 6.1) on Windows 8.1 64 bit

3. Do the following before connecting SD card to the board --
a. Install Arduino Driver - ....\IntelArduino-1.6.0-Windows\arduino-1.6.0+Intel\drivers
b. Follow the latest guide above till the Blink LED example.
4. Do the following after connecting SD card to the board --
a. After you connect the SD card, the Galileo COM port will disappear in Device Manager, and a CDC Serial Driver will appear in Unknown Devices
b. Install CDC Driver -
b1. In 'My Computer' you will see SD Card has appeared as a Removable Disk -> GoTo folder win-driver, copy iotdk-serial-external.zip into your local, unzip it.
b2. In Device Manager, right click on CDC Serial Driver --> Click Update driver --> Choose 'Browse Computer ..' --> Browse to the folder, where you have unzipped the above file.
b3. Refresh Device Manager - Action Menu - Scan for Hardware changes
5. Connect to Internet:
c. Connecting to WiFi - https://software.intel.com/en-us/articles/getting... (If it is not working, you will need to disable any Internet proxy you have turned on)

WORKING OF THE PROJECT

 Connect the Galileo board directly to the phone using Bluetooth. In remote areas, where Internet connectivity is absent, the data from the sensors will be stored inside the phone's SD card over Bluetooth. Also, the data can be stored inside the IoT board itself. Later when the person is in Internet zone, the data will be pushed to the cloud.
An Android app for the person who is tracking the child or another person:  An android application is used to connect to the person using the band.After registering the location of the person using the app,the information is pushed to the cloud.

DIFFERENT COMPONENTS OF THE POJECT

1)CLOUD CONCEPTS
All the data that is being recorded by the sensors is pushed to the cloud.The data  is analyzed by the cloud and is stored  using an application.
2)SENSORS:
 GPS sensors are added to track the movement of the person, generating more insights. The amount of information gathered from the sensors in an absolutely non-intrusive way is very effective in such ground level scenarios.A buzzer is used to raise alert.
3)SOFTWARE COMPONENTS:
 Components used: 1. Intel XDK for IoT to write JavaScript programs to run on Galileo 2. Putty to run setup commands and install npm modules on Galileo 3. Android SDK to write Android App to receive Push Notifications from the Cloud 3. Java to write Restful web services to receive data from Galileo 4. Linux programming on Amazon EC2 to setup Amazon cloud for data analysis 5. Apache Tomcat to run Restful web services to receive data from Galileo 6. Elastic search algorithm in Java setup to do data analysis for huge amount of data 7. NoSQL database setup to store the received data 8. HTML5 CSS programming to setup Kibana dashboard displaying real-time processed data with intuitive details 9. Java program to enable real time Push Notification to Android Phones using Amazon SNS and Google Cloud Messaging Service (GCM) 10. OS used: Windows 8, Linux. 11. We have done a full setup of Intel Analytics Cloud as well, but since the connectivity was intermittent, we moved to AWS.
4)HARDWARE COMPONENTS:
1. Intel Galileo board 
2.Grove kit and sensors 
3. WiFi card
c. The Dev Kit.
All the hardware components listed above came in the Dev Kit.

Friday, October 16, 2015

community outreach programmes undertaken as part of the project

As part of the community outreach programme,we have decided to create a page on facebook regarding internet of things and the various projects that can be carried by students out under this topic.The webpage address is https://www.facebook.com/projectsiot?skip_nax_wizard=true.

Who is the target audience of our project

Target audience of our project mainly include:

  1. Parents who wish to locate their children in crowded places.
  2. It can be used by women who work late night shifts as a rape alarm.
  3. It can be used by organizations to locate their employees in cases of emergency.