osnf - open sensor network framework
DESCRIPTION
My Project for NTTDATA Global Hackaton 2014 - OSNF - Open Sensor Network FrameworkTRANSCRIPT
Copyright © 2014 NTT DATA Italia SpA CODICE-DATA-P1
The information contained in this document is the property of NTT DATA Italia S.p.A. and the addressee of the document. The information is closely linked to the oral comments accompanying the same, and may be used only by those attending the presentation. Copying, publishing or divulging the material contained in this document is forbidden and may be illegal.
Open source full stack Sensor Network Management Solution
Open Sensor Network Framework
Copyright © 2014 NTT DATA Italia SpA 2
IDEA Open Sensor Network Framework
Building sensor networks with cheap and well known hardware (Arduino,
RaspberryPI)
A network consist of several nodes, each one managed by a single Rpi
Each node has one or multiple Arduino station
Managing the whole network through an extensible open source framework
Data available through Web Services
NoSQL DB available for specialist data analysis
Web interface/Mobile App for user interaction
Open Sensor Network Frameork
Copyright © 2014 NTT DATA Italia SpA 3
Architecture Open Sensor Network Frame
Open Sensor Network Frameork
Copyright © 2014 NTT DATA Italia SpA 4
Why?
• Many proprietary solutions available
• There isn’t any widely used standard in this field
• Threre isn’t any similar framework running on Arduino/RPI
• Embrace open source community using Arduino/Rpi
• Solution applicable to many application domains
►Environment Management
►Manufacturing
►Automotive
►Energy
►Telco
►Healthcare
Open Sensor Network Frameork
Copyright © 2014 NTT DATA Italia SpA 5
Use Case
Streetlights Energy saving
• Distribute several nodes along the street
• Each node can detect passing cars and turn on/off streetlights
• Every node will turn lights on based on the information gathered by the previous one
Open Sensor Network Frameork
Copyright © 2014 NTT DATA Italia SpA 6
Key technologies used and lesson learnt
Hardware Layer
► Arduino
• widely used single-board microcontroller
• used for controlling sensors/actuators
• open hardware
► RaspberryPi
• credit card-sized single-board computer
► Data is gathered by Arduino and sent to Rpi via serial port using a standard
protocol
Open Sensor Network Frameork
Copyright © 2014 NTT DATA Italia SpA 7
Key technologies used and lesson learnt
Framework
• Python
- High level interpreted language
- Rapid development for serial communication and web service
- Easy framework configuration
• Flask
- Light weight web application framework written in python
- Rapid web service development
Open Sensor Network Frameork
Copyright © 2014 NTT DATA Italia SpA 8
Data Storage Layer
► NoSQL database MongoDB instance hosted in the cloud on mongolab.com and configured to efficiently store large time series data.
► The implementation of this layer, for the team was an opportunity to put the hands on a new technology and gain know how reusable on a lot of different field.
► In fact, today there are many sources of data that represent observations ordered over time. For example:
• Sensors measure temperature, barometric pressure, humidity and other environmental variables.
• Financial markets generate prices.
• Industrial fleets such as ships, aircraft and trucks produce location, velocity, and operational metrics.
• Status updates on social networks.
• Calls, SMS messages and other signals from mobile devices.
• Systems themselves write information to logs.
Open Sensor Network Frameork
Key technologies used and lesson learnt
Copyright © 2014 NTT DATA Italia SpA 9
Key technologies used and lesson learnt
Front end
• jQuery dashboard
• Query web-service data through Ajax
Open Sensor Network Frameork
Copyright © 2014 NTT DATA Italia SpA 10
Future evolutions
Framework enhancements
► Inter-node communication
► Support for more sensors
► Support for wireless communication between node and stations
Analytics Layer
► Innovative technologies like Storm, Mortar or Hadoop can be good choices for
the implementation of the layer for real-time analytics, online machine learning,
continuous computation and more.
Open Sensor Network Frameork
Copyright © 2014 NTT DATA Italia SpA 11
Future evolutions
Framework enhancements
► Inter-node communication
► Support for more sensors
► Support for wireless communication between node and stations
Analytics Layer
► Innovative technologies like Storm, Mortar or Hadoop can be good choices for
the implementation of the layer for real-time analytics, online machine learning,
continuous computation and more.
Open Sensor Network Frameork
Copyright © 2014 NTT DATA Italia SpA 12
Hardware OSNF
Open Sensor Network Frameork
Global Hackathon 13-14 Settembre 2014
Copyright © 2014 NTT DATA Italia SpA 13
Team OSNF
Vincenzo Pirrone Antonio Di Cello Alessando Galasso Immacolata Conforti
Open Sensor Network Frameork
Team OSNFNTT Data Cosenza
Global Hackathon 13-14 Settembre 2014