SlideShare a Scribd company logo
1 of 57
Download to read offline
Wireless Sensor Network Protocol for Smart
Parking Application
       Experimental Study on the Arduino Platform
                           Ostiz L., Pita C., Doggen J.*,
                               Dams T., Van Houtven P.
                               *jeroen.doggen@artesis.be
                                    September 25, 2012
Outline

Introduction and Problem Statement
System Design
   Envisioned Application
   Hardware Specifications
   Software Libraries
WSN Protocol Design
  System Operation
Experimental Study
Future Work
Conclusion

                                     2/27
Outline

Introduction and Problem Statement
System Design
   Envisioned Application
   Hardware Specifications
   Software Libraries
WSN Protocol Design
  System Operation
Experimental Study
Future Work
Conclusion

                                     3/27
Wireless Sensor Networks


   A wireless sensor network is a set of small autonomous sensor
   nodes which cooperate to solve a common application using
   some kind of perception of physical parameters.




                                                             4/27
Arduino Development Platform


 The Arduino development platform
 allow designers to develop electronic
 prototypes.
 The platform been gaining in
 popularity over the last years.
 The open-source community has
 70000 registered users and an
 abundance of user submitted
 libraries.
 Ease of use is the main selling point.



                                          5/27
Arduino meets WSN: Why?

 Typical WSN application require:
     Specialised software knowledge: e.g.
     TinyOS, Contiki
     Specialised hardware: TelosB,
     Z-Wave, XBee, DASH7




                                            6/27
Arduino meets WSN: Why?

 Typical WSN application require:
     Specialised software knowledge: e.g.
     TinyOS, Contiki
     Specialised hardware: TelosB,
     Z-Wave, XBee, DASH7
 The Arduino platform provides:
     Many well-documented software
     libraries for hardware interfacing
     A big existing user community
     Many options to share your own
     hardware and software designs




                                            6/27
Arduino meets WSN: Why?

 Typical WSN application require:
     Specialised software knowledge: e.g.
     TinyOS, Contiki
     Specialised hardware: TelosB,
     Z-Wave, XBee, DASH7
 The Arduino platform provides:
     Many well-documented software
     libraries for hardware interfacing
     A big existing user community
     Many options to share your own
     hardware and software designs
 Question: “Can we build a competitive
 WSN using the Arduino platform?”

                                            6/27
Outline

Introduction and Problem Statement
System Design
   Envisioned Application
   Hardware Specifications
   Software Libraries
WSN Protocol Design
  System Operation
Experimental Study
Future Work
Conclusion

                                     7/27
Outline

Introduction and Problem Statement
System Design
   Envisioned Application
   Hardware Specifications
   Software Libraries
WSN Protocol Design
  System Operation
Experimental Study
Future Work
Conclusion

                                     8/27
Envisioned Application




                         9/27
Outline

Introduction and Problem Statement
System Design
   Envisioned Application
   Hardware Specifications
   Software Libraries
WSN Protocol Design
  System Operation
Experimental Study
Future Work
Conclusion

                                     10/27
Hardware Specifications

  Seeeduino development board: Atmel AVR ATmega328P
  nRF24L01 wireless interface: Nordic Semiconductor
  Sharp GP2Y0A21YK infra-red distance sensor




                                                      11/27
Arduino meets WSN: Sensing


 Our nodes are based on the Arduino
 compatible Seeeduino board.




                                      12/27
Arduino meets WSN: Sensing


 Our nodes are based on the Arduino
 compatible Seeeduino board.
 Sensing:
     A sensor node detects cars in parking
     spots using an IR distance sensor.




                                             12/27
Arduino meets WSN: Sensing


 Our nodes are based on the Arduino
 compatible Seeeduino board.
 Sensing:
     A sensor node detects cars in parking
     spots using an IR distance sensor.
     The values coming from the distance
     sensors is interpreted using our own
     sensor library.




                                             12/27
Arduino meets WSN: Sensing


 Our nodes are based on the Arduino
 compatible Seeeduino board.
 Sensing:
     A sensor node detects cars in parking
     spots using an IR distance sensor.
     The values coming from the distance
     sensors is interpreted using our own
     sensor library.
     Multiple measurements are combined to
     confirm the presence of a car.




                                             12/27
Arduino meets WSN: Communication


 The radio module: nRF24L01 (Nordic
 Semiconductor)
     Ultra low power 2.4GHz RF Transceiver
     Approximately half the power of a typical
     XBee RF Transceiver




                                                 13/27
Arduino meets WSN: Communication


 The radio module: nRF24L01 (Nordic
 Semiconductor)
     Ultra low power 2.4GHz RF Transceiver
     Approximately half the power of a typical
     XBee RF Transceiver
     Only Physical layer on-chip




                                                 13/27
Arduino meets WSN: Communication


 The radio module: nRF24L01 (Nordic
 Semiconductor)
     Ultra low power 2.4GHz RF Transceiver
     Approximately half the power of a typical
     XBee RF Transceiver
     Only Physical layer on-chip
     Partial Link-layer through an existing Arduino
     library (RF24 by Maniacbug)




                                                      13/27
Arduino meets WSN: Communication


 The radio module: nRF24L01 (Nordic
 Semiconductor)
     Ultra low power 2.4GHz RF Transceiver
     Approximately half the power of a typical
     XBee RF Transceiver
     Only Physical layer on-chip
     Partial Link-layer through an existing Arduino
     library (RF24 by Maniacbug)
     We implemented collision avoidance




                                                      13/27
Arduino meets WSN: Communication


 The radio module: nRF24L01 (Nordic
 Semiconductor)
     Ultra low power 2.4GHz RF Transceiver
     Approximately half the power of a typical
     XBee RF Transceiver
     Only Physical layer on-chip
     Partial Link-layer through an existing Arduino
     library (RF24 by Maniacbug)
     We implemented collision avoidance
     We implemented a cluster based Layer 3
     protocol, very similar to the popular LEACH
     protocol.



                                                      13/27
Outline

Introduction and Problem Statement
System Design
   Envisioned Application
   Hardware Specifications
   Software Libraries
WSN Protocol Design
  System Operation
Experimental Study
Future Work
Conclusion

                                     14/27
Arduino Libraries


   Arduino software libraries make it straightforward for anyone to
   start embedded development.




                                                             15/27
Arduino Libraries


   Arduino software libraries make it straightforward for anyone to
   start embedded development.
   Used Arduino libraries
       Sharp GP2Y0A21YK infra-red distance sensor
       Maniacbug RF24 library
       Low-Power library




                                                             15/27
Arduino Libraries


   Arduino software libraries make it straightforward for anyone to
   start embedded development.
   Used Arduino libraries
       Sharp GP2Y0A21YK infra-red distance sensor
       Maniacbug RF24 library
       Low-Power library
   Developed Arduino libraries
       Cluster network library
       Detecting car library
       Node energy library




                                                             15/27
Outline

Introduction and Problem Statement
System Design
   Envisioned Application
   Hardware Specifications
   Software Libraries
WSN Protocol Design
  System Operation
Experimental Study
Future Work
Conclusion

                                     16/27
Outline

Introduction and Problem Statement
System Design
   Envisioned Application
   Hardware Specifications
   Software Libraries
WSN Protocol Design
  System Operation
Experimental Study
Future Work
Conclusion

                                     17/27
Low Energy Adaptive Cluster Hierarchy
   (LEACH)


1. Divide the network in clusters




                                           18/27
Low Energy Adaptive Cluster Hierarchy
   (LEACH)


1. Divide the network in clusters
2. Election a temporary Cluster Head (CH)




                                            18/27
Low Energy Adaptive Cluster Hierarchy
   (LEACH)


1. Divide the network in clusters
2. Election a temporary Cluster Head (CH)
3. The CH aggregates all sensor data and
   forwards it to the sink




                                            18/27
Low Energy Adaptive Cluster Hierarchy
   (LEACH)


1. Divide the network in clusters
2. Election a temporary Cluster Head (CH)
3. The CH aggregates all sensor data and
   forwards it to the sink
   During operation we have two phases:




                                            18/27
Low Energy Adaptive Cluster Hierarchy
   (LEACH)


1. Divide the network in clusters
2. Election a temporary Cluster Head (CH)
3. The CH aggregates all sensor data and
   forwards it to the sink
   During operation we have two phases:
       CH selection




                                            18/27
Low Energy Adaptive Cluster Hierarchy
   (LEACH)


1. Divide the network in clusters
2. Election a temporary Cluster Head (CH)
3. The CH aggregates all sensor data and
   forwards it to the sink
   During operation we have two phases:
       CH selection
       Normal operation




                                            18/27
Cluster Head Selection



1. CH broadcasts an Energy Request message.




                                              19/27
Cluster Head Selection



1. CH broadcasts an Energy Request message.
2. SNs measure their energy level and send it to the CH.




                                                           19/27
Cluster Head Selection



1. CH broadcasts an Energy Request message.
2. SNs measure their energy level and send it to the CH.
3. CH collects replies and compares energy levels.




                                                           19/27
Cluster Head Selection



1. CH broadcasts an Energy Request message.
2. SNs measure their energy level and send it to the CH.
3. CH collects replies and compares energy levels.
4. Node with the most energy is selected as the new CH.




                                                           19/27
Cluster Head Selection



1. CH broadcasts an Energy Request message.
2. SNs measure their energy level and send it to the CH.
3. CH collects replies and compares energy levels.
4. Node with the most energy is selected as the new CH.
5. CH broadcasts the new CH ID to all SNs.




                                                           19/27
Cluster Head Selection



1. CH broadcasts an Energy Request message.
2. SNs measure their energy level and send it to the CH.
3. CH collects replies and compares energy levels.
4. Node with the most energy is selected as the new CH.
5. CH broadcasts the new CH ID to all SNs.
6. SNs update the CH ID at the same time.




                                                           19/27
Sensing and Communication



 Sensor node:
  1. Check for parking lot status change
  2. Send changes to the CH
  3. Go to sleep




                                           20/27
Sensing and Communication



 Sensor node:
  1. Check for parking lot status change
  2. Send changes to the CH
  3. Go to sleep
 Cluster head:
  1. Aggregate all sensor data.
  2. Forward data to the sink.
  3. Go to sleep




                                           20/27
Outline

Introduction and Problem Statement
System Design
   Envisioned Application
   Hardware Specifications
   Software Libraries
WSN Protocol Design
  System Operation
Experimental Study
Future Work
Conclusion

                                     21/27
Experimental Study


Evaluation and solutions to practical problems.
    Energy consumption
         Minimise energy consumption by maximising sleep time
         Power down external sensors




                                                                22/27
Experimental Study


Evaluation and solutions to practical problems.
    Energy consumption
         Minimise energy consumption by maximising sleep time
         Power down external sensors
    Packet Loss Ratio
         Evaluation of packet loss ratio to ensure proper system operation




                                                                   22/27
Experimental Study


Evaluation and solutions to practical problems.
    Energy consumption
         Minimise energy consumption by maximising sleep time
         Power down external sensors
    Packet Loss Ratio
         Evaluation of packet loss ratio to ensure proper system operation
    Synchronisation
         ATmega328P internal oscillator: significant error margin
         between individual sensors
         Software based solution: recalibration in reference to CH




                                                                     22/27
Outline

Introduction and Problem Statement
System Design
   Envisioned Application
   Hardware Specifications
   Software Libraries
WSN Protocol Design
  System Operation
Experimental Study
Future Work
Conclusion

                                     23/27
Future Work


  Further development of the proof-of-concept application
      Server-side data management
      Mobile phone application to search for vacant parking spots
      Embedded display module for in-car placement




                                                               24/27
Future Work


  Further development of the proof-of-concept application
      Server-side data management
      Mobile phone application to search for vacant parking spots
      Embedded display module for in-car placement
  Protocol enhancement
      Better scalability and security
      Location aware cluster head selection




                                                               24/27
Future Work


  Further development of the proof-of-concept application
      Server-side data management
      Mobile phone application to search for vacant parking spots
      Embedded display module for in-car placement
  Protocol enhancement
      Better scalability and security
      Location aware cluster head selection
  Clean up the code and allow other people to use it
      Better documentation
      Easy and working examples




                                                               24/27
Outline

Introduction and Problem Statement
System Design
   Envisioned Application
   Hardware Specifications
   Software Libraries
WSN Protocol Design
  System Operation
Experimental Study
Future Work
Conclusion

                                     25/27
Conclusion

   We implemented an event-driven, hierarchical WSN clustering
   protocol with an energy-aware CH selection algorithm similar to
   the LEACH protocol.




                                                            26/27
Conclusion

   We implemented an event-driven, hierarchical WSN clustering
   protocol with an energy-aware CH selection algorithm similar to
   the LEACH protocol.
   We used Seeeduino development boards, nRF24L01 low-power
   RF modules and Sharp IR distance sensors.




                                                            26/27
Conclusion

   We implemented an event-driven, hierarchical WSN clustering
   protocol with an energy-aware CH selection algorithm similar to
   the LEACH protocol.
   We used Seeeduino development boards, nRF24L01 low-power
   RF modules and Sharp IR distance sensors.
   Our synchronisation mechanism solves the problems caused by
   the inaccuracy of the Arduino internal Timer.




                                                            26/27
Conclusion

   We implemented an event-driven, hierarchical WSN clustering
   protocol with an energy-aware CH selection algorithm similar to
   the LEACH protocol.
   We used Seeeduino development boards, nRF24L01 low-power
   RF modules and Sharp IR distance sensors.
   Our synchronisation mechanism solves the problems caused by
   the inaccuracy of the Arduino internal Timer.
   Preliminary measurement results show that the hardware
   choices were not optimal for this WSN Application.




                                                            26/27
Conclusion

   We implemented an event-driven, hierarchical WSN clustering
   protocol with an energy-aware CH selection algorithm similar to
   the LEACH protocol.
   We used Seeeduino development boards, nRF24L01 low-power
   RF modules and Sharp IR distance sensors.
   Our synchronisation mechanism solves the problems caused by
   the inaccuracy of the Arduino internal Timer.
   Preliminary measurement results show that the hardware
   choices were not optimal for this WSN Application.
   Although Arduino is easy to use as an experimental
   open-source platform, it is currently not the most appropriate
   platform to develop low-power WSN applications.

                                                             26/27
Questions & Answers




                      27/27

More Related Content

What's hot

Personal radar ppt 1
Personal radar ppt 1Personal radar ppt 1
Personal radar ppt 1
Ronak Vyas
 
Iisrt z pranoti kumbhare
Iisrt z pranoti kumbhareIisrt z pranoti kumbhare
Iisrt z pranoti kumbhare
IISRT
 
Wireless RF module
Wireless RF moduleWireless RF module
Wireless RF module
rapper13_32
 
PC based Oscilloscope
PC based OscilloscopePC based Oscilloscope
PC based Oscilloscope
Sayyed Z
 
Spectrum Analyzer
Spectrum AnalyzerSpectrum Analyzer
Spectrum Analyzer
Manasa K
 

What's hot (20)

ULTRASONIC PERIPATETIC SCANNER FOR AUTONOMOUS TEST BENCH USING RASPBERRY Pi
ULTRASONIC PERIPATETIC SCANNER FOR AUTONOMOUS TEST BENCH USING RASPBERRY PiULTRASONIC PERIPATETIC SCANNER FOR AUTONOMOUS TEST BENCH USING RASPBERRY Pi
ULTRASONIC PERIPATETIC SCANNER FOR AUTONOMOUS TEST BENCH USING RASPBERRY Pi
 
Personal radar ppt 1
Personal radar ppt 1Personal radar ppt 1
Personal radar ppt 1
 
RADAR
RADARRADAR
RADAR
 
DATA ACQUISITION (DAQ) IN LABVIEW
DATA  ACQUISITION (DAQ) IN LABVIEWDATA  ACQUISITION (DAQ) IN LABVIEW
DATA ACQUISITION (DAQ) IN LABVIEW
 
Short Range Radar System using Arduino Uno
Short Range Radar System using Arduino UnoShort Range Radar System using Arduino Uno
Short Range Radar System using Arduino Uno
 
Smart ambulance
Smart ambulanceSmart ambulance
Smart ambulance
 
Pir sensor based security alarm system using um 3561 (2)
Pir sensor based security alarm system using um 3561 (2)Pir sensor based security alarm system using um 3561 (2)
Pir sensor based security alarm system using um 3561 (2)
 
Ultrasonic Distance Measurement NRF905 Wireless Transmission System Based on ...
Ultrasonic Distance Measurement NRF905 Wireless Transmission System Based on ...Ultrasonic Distance Measurement NRF905 Wireless Transmission System Based on ...
Ultrasonic Distance Measurement NRF905 Wireless Transmission System Based on ...
 
Ultrasonic radar using 8051
Ultrasonic radar using 8051Ultrasonic radar using 8051
Ultrasonic radar using 8051
 
4th-Yr-PROJECT-REPORT
4th-Yr-PROJECT-REPORT4th-Yr-PROJECT-REPORT
4th-Yr-PROJECT-REPORT
 
10 Reasons to use the Renesas RX21A integrated billing meter solution kit
10 Reasons to use the Renesas RX21A integrated billing meter solution kit10 Reasons to use the Renesas RX21A integrated billing meter solution kit
10 Reasons to use the Renesas RX21A integrated billing meter solution kit
 
Iisrt z pranoti kumbhare
Iisrt z pranoti kumbhareIisrt z pranoti kumbhare
Iisrt z pranoti kumbhare
 
Distance Measurement by Ultrasonic Sensor
Distance Measurement by Ultrasonic SensorDistance Measurement by Ultrasonic Sensor
Distance Measurement by Ultrasonic Sensor
 
Wireless RF module
Wireless RF moduleWireless RF module
Wireless RF module
 
Frequency Synthesis and Clock Generation for High Speed Systems - VE2013
Frequency Synthesis and Clock Generation for High Speed Systems - VE2013Frequency Synthesis and Clock Generation for High Speed Systems - VE2013
Frequency Synthesis and Clock Generation for High Speed Systems - VE2013
 
universal remote controller for electric bulb and ceiling fan
universal remote controller for electric bulb and ceiling fanuniversal remote controller for electric bulb and ceiling fan
universal remote controller for electric bulb and ceiling fan
 
LOGIC ANALYSER, ARBITARY WAVE GENERATOR AND WAVE ANALYSER
LOGIC ANALYSER, ARBITARY WAVE GENERATOR AND WAVE ANALYSERLOGIC ANALYSER, ARBITARY WAVE GENERATOR AND WAVE ANALYSER
LOGIC ANALYSER, ARBITARY WAVE GENERATOR AND WAVE ANALYSER
 
PC based Oscilloscope
PC based OscilloscopePC based Oscilloscope
PC based Oscilloscope
 
ULTRASONIC
ULTRASONICULTRASONIC
ULTRASONIC
 
Spectrum Analyzer
Spectrum AnalyzerSpectrum Analyzer
Spectrum Analyzer
 

Viewers also liked

Viewers also liked (12)

Project Report Distance measurement system
Project Report Distance measurement systemProject Report Distance measurement system
Project Report Distance measurement system
 
Project report on arduino based parking lot system
Project report on arduino based parking lot systemProject report on arduino based parking lot system
Project report on arduino based parking lot system
 
Arduino Based Parking Lot System
Arduino Based Parking Lot SystemArduino Based Parking Lot System
Arduino Based Parking Lot System
 
HC-SR04 Ultrasonic sensor with Arduino
HC-SR04 Ultrasonic sensor with ArduinoHC-SR04 Ultrasonic sensor with Arduino
HC-SR04 Ultrasonic sensor with Arduino
 
State fair project ( Remote Car Parking System)
State fair project ( Remote Car Parking System)State fair project ( Remote Car Parking System)
State fair project ( Remote Car Parking System)
 
Ultrasonic sensor
Ultrasonic sensorUltrasonic sensor
Ultrasonic sensor
 
Reverse car-parking
Reverse car-parkingReverse car-parking
Reverse car-parking
 
Obstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINOObstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINO
 
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNOObstacle detection Robot using Ultrasonic Sensor and Arduino UNO
Obstacle detection Robot using Ultrasonic Sensor and Arduino UNO
 
Report On Arduino
Report On  ArduinoReport On  Arduino
Report On Arduino
 
Arduino seminar report
Arduino seminar reportArduino seminar report
Arduino seminar report
 
Ultrasonic based distance measurement system
Ultrasonic based distance measurement systemUltrasonic based distance measurement system
Ultrasonic based distance measurement system
 

Similar to Wireless Sensor Network Protocol for Smart Parking Application Experimental Study on the Arduino Platform

Smart Objects for Human Computer Interaction, Experimental Study
Smart Objects for Human Computer Interaction, Experimental Study Smart Objects for Human Computer Interaction, Experimental Study
Smart Objects for Human Computer Interaction, Experimental Study
Jeroen Doggen
 
Evaluation of the Technology Supporting the Development of an Assets Tracking...
Evaluation of the Technology Supporting the Development of an Assets Tracking...Evaluation of the Technology Supporting the Development of an Assets Tracking...
Evaluation of the Technology Supporting the Development of an Assets Tracking...
Dominique Guinard
 
51679421-Wireless-Sensor-Networks-PPT.pptx
51679421-Wireless-Sensor-Networks-PPT.pptx51679421-Wireless-Sensor-Networks-PPT.pptx
51679421-Wireless-Sensor-Networks-PPT.pptx
Geetha982072
 
USRP Project Final Report
USRP Project Final ReportUSRP Project Final Report
USRP Project Final Report
Arjan Gupta
 

Similar to Wireless Sensor Network Protocol for Smart Parking Application Experimental Study on the Arduino Platform (20)

Smart Objects for Human Computer Interaction, Experimental Study
Smart Objects for Human Computer Interaction, Experimental Study Smart Objects for Human Computer Interaction, Experimental Study
Smart Objects for Human Computer Interaction, Experimental Study
 
Arduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoArduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic Arduino
 
Evaluation of the Technology Supporting the Development of an Assets Tracking...
Evaluation of the Technology Supporting the Development of an Assets Tracking...Evaluation of the Technology Supporting the Development of an Assets Tracking...
Evaluation of the Technology Supporting the Development of an Assets Tracking...
 
Superfluid Orchestration of heterogeneous Reusable Functional Blocks for 5G n...
Superfluid Orchestration of heterogeneous Reusable Functional Blocks for 5G n...Superfluid Orchestration of heterogeneous Reusable Functional Blocks for 5G n...
Superfluid Orchestration of heterogeneous Reusable Functional Blocks for 5G n...
 
51679421-Wireless-Sensor-Networks-PPT.pptx
51679421-Wireless-Sensor-Networks-PPT.pptx51679421-Wireless-Sensor-Networks-PPT.pptx
51679421-Wireless-Sensor-Networks-PPT.pptx
 
USRP Project Final Report
USRP Project Final ReportUSRP Project Final Report
USRP Project Final Report
 
Track 2 session 4 - st dev con 2016 - opensoftwarex
Track 2   session 4 - st dev con 2016 - opensoftwarexTrack 2   session 4 - st dev con 2016 - opensoftwarex
Track 2 session 4 - st dev con 2016 - opensoftwarex
 
AAPT Presentation-No Videos.pptx
AAPT Presentation-No Videos.pptxAAPT Presentation-No Videos.pptx
AAPT Presentation-No Videos.pptx
 
Eric Theis resume61.1
Eric Theis resume61.1Eric Theis resume61.1
Eric Theis resume61.1
 
IRJET - Zigbee based Street Light Control System
IRJET - Zigbee based Street Light Control SystemIRJET - Zigbee based Street Light Control System
IRJET - Zigbee based Street Light Control System
 
Dash7 alliance protocol - where rfid meets wsn
Dash7 alliance protocol -  where rfid meets wsnDash7 alliance protocol -  where rfid meets wsn
Dash7 alliance protocol - where rfid meets wsn
 
Smart Container
Smart ContainerSmart Container
Smart Container
 
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOROBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
OBSTACLE AVOIDACE ROBOT USING ARDUINO UNO AND ULTRASONIC SENSOR
 
B1_25Jan21.pptx
B1_25Jan21.pptxB1_25Jan21.pptx
B1_25Jan21.pptx
 
Inria Tech Talk : RIOT, l'OS libre pour vos objets connectés #IoT
Inria Tech Talk : RIOT, l'OS libre pour vos objets connectés #IoTInria Tech Talk : RIOT, l'OS libre pour vos objets connectés #IoT
Inria Tech Talk : RIOT, l'OS libre pour vos objets connectés #IoT
 
final presentation
final presentationfinal presentation
final presentation
 
2011 01-24 dragino
2011 01-24 dragino2011 01-24 dragino
2011 01-24 dragino
 
Arduino embedded systems and advanced robotics
Arduino embedded systems and advanced roboticsArduino embedded systems and advanced robotics
Arduino embedded systems and advanced robotics
 
Overview of DuraMat software tool development (poster version)
Overview of DuraMat software tool development(poster version)Overview of DuraMat software tool development(poster version)
Overview of DuraMat software tool development (poster version)
 
Automatic Enable and Disable Speed Breaker
Automatic Enable and Disable Speed BreakerAutomatic Enable and Disable Speed Breaker
Automatic Enable and Disable Speed Breaker
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

Wireless Sensor Network Protocol for Smart Parking Application Experimental Study on the Arduino Platform

  • 1. Wireless Sensor Network Protocol for Smart Parking Application Experimental Study on the Arduino Platform Ostiz L., Pita C., Doggen J.*, Dams T., Van Houtven P. *jeroen.doggen@artesis.be September 25, 2012
  • 2. Outline Introduction and Problem Statement System Design Envisioned Application Hardware Specifications Software Libraries WSN Protocol Design System Operation Experimental Study Future Work Conclusion 2/27
  • 3. Outline Introduction and Problem Statement System Design Envisioned Application Hardware Specifications Software Libraries WSN Protocol Design System Operation Experimental Study Future Work Conclusion 3/27
  • 4. Wireless Sensor Networks A wireless sensor network is a set of small autonomous sensor nodes which cooperate to solve a common application using some kind of perception of physical parameters. 4/27
  • 5. Arduino Development Platform The Arduino development platform allow designers to develop electronic prototypes. The platform been gaining in popularity over the last years. The open-source community has 70000 registered users and an abundance of user submitted libraries. Ease of use is the main selling point. 5/27
  • 6. Arduino meets WSN: Why? Typical WSN application require: Specialised software knowledge: e.g. TinyOS, Contiki Specialised hardware: TelosB, Z-Wave, XBee, DASH7 6/27
  • 7. Arduino meets WSN: Why? Typical WSN application require: Specialised software knowledge: e.g. TinyOS, Contiki Specialised hardware: TelosB, Z-Wave, XBee, DASH7 The Arduino platform provides: Many well-documented software libraries for hardware interfacing A big existing user community Many options to share your own hardware and software designs 6/27
  • 8. Arduino meets WSN: Why? Typical WSN application require: Specialised software knowledge: e.g. TinyOS, Contiki Specialised hardware: TelosB, Z-Wave, XBee, DASH7 The Arduino platform provides: Many well-documented software libraries for hardware interfacing A big existing user community Many options to share your own hardware and software designs Question: “Can we build a competitive WSN using the Arduino platform?” 6/27
  • 9. Outline Introduction and Problem Statement System Design Envisioned Application Hardware Specifications Software Libraries WSN Protocol Design System Operation Experimental Study Future Work Conclusion 7/27
  • 10. Outline Introduction and Problem Statement System Design Envisioned Application Hardware Specifications Software Libraries WSN Protocol Design System Operation Experimental Study Future Work Conclusion 8/27
  • 12. Outline Introduction and Problem Statement System Design Envisioned Application Hardware Specifications Software Libraries WSN Protocol Design System Operation Experimental Study Future Work Conclusion 10/27
  • 13. Hardware Specifications Seeeduino development board: Atmel AVR ATmega328P nRF24L01 wireless interface: Nordic Semiconductor Sharp GP2Y0A21YK infra-red distance sensor 11/27
  • 14. Arduino meets WSN: Sensing Our nodes are based on the Arduino compatible Seeeduino board. 12/27
  • 15. Arduino meets WSN: Sensing Our nodes are based on the Arduino compatible Seeeduino board. Sensing: A sensor node detects cars in parking spots using an IR distance sensor. 12/27
  • 16. Arduino meets WSN: Sensing Our nodes are based on the Arduino compatible Seeeduino board. Sensing: A sensor node detects cars in parking spots using an IR distance sensor. The values coming from the distance sensors is interpreted using our own sensor library. 12/27
  • 17. Arduino meets WSN: Sensing Our nodes are based on the Arduino compatible Seeeduino board. Sensing: A sensor node detects cars in parking spots using an IR distance sensor. The values coming from the distance sensors is interpreted using our own sensor library. Multiple measurements are combined to confirm the presence of a car. 12/27
  • 18. Arduino meets WSN: Communication The radio module: nRF24L01 (Nordic Semiconductor) Ultra low power 2.4GHz RF Transceiver Approximately half the power of a typical XBee RF Transceiver 13/27
  • 19. Arduino meets WSN: Communication The radio module: nRF24L01 (Nordic Semiconductor) Ultra low power 2.4GHz RF Transceiver Approximately half the power of a typical XBee RF Transceiver Only Physical layer on-chip 13/27
  • 20. Arduino meets WSN: Communication The radio module: nRF24L01 (Nordic Semiconductor) Ultra low power 2.4GHz RF Transceiver Approximately half the power of a typical XBee RF Transceiver Only Physical layer on-chip Partial Link-layer through an existing Arduino library (RF24 by Maniacbug) 13/27
  • 21. Arduino meets WSN: Communication The radio module: nRF24L01 (Nordic Semiconductor) Ultra low power 2.4GHz RF Transceiver Approximately half the power of a typical XBee RF Transceiver Only Physical layer on-chip Partial Link-layer through an existing Arduino library (RF24 by Maniacbug) We implemented collision avoidance 13/27
  • 22. Arduino meets WSN: Communication The radio module: nRF24L01 (Nordic Semiconductor) Ultra low power 2.4GHz RF Transceiver Approximately half the power of a typical XBee RF Transceiver Only Physical layer on-chip Partial Link-layer through an existing Arduino library (RF24 by Maniacbug) We implemented collision avoidance We implemented a cluster based Layer 3 protocol, very similar to the popular LEACH protocol. 13/27
  • 23. Outline Introduction and Problem Statement System Design Envisioned Application Hardware Specifications Software Libraries WSN Protocol Design System Operation Experimental Study Future Work Conclusion 14/27
  • 24. Arduino Libraries Arduino software libraries make it straightforward for anyone to start embedded development. 15/27
  • 25. Arduino Libraries Arduino software libraries make it straightforward for anyone to start embedded development. Used Arduino libraries Sharp GP2Y0A21YK infra-red distance sensor Maniacbug RF24 library Low-Power library 15/27
  • 26. Arduino Libraries Arduino software libraries make it straightforward for anyone to start embedded development. Used Arduino libraries Sharp GP2Y0A21YK infra-red distance sensor Maniacbug RF24 library Low-Power library Developed Arduino libraries Cluster network library Detecting car library Node energy library 15/27
  • 27. Outline Introduction and Problem Statement System Design Envisioned Application Hardware Specifications Software Libraries WSN Protocol Design System Operation Experimental Study Future Work Conclusion 16/27
  • 28. Outline Introduction and Problem Statement System Design Envisioned Application Hardware Specifications Software Libraries WSN Protocol Design System Operation Experimental Study Future Work Conclusion 17/27
  • 29. Low Energy Adaptive Cluster Hierarchy (LEACH) 1. Divide the network in clusters 18/27
  • 30. Low Energy Adaptive Cluster Hierarchy (LEACH) 1. Divide the network in clusters 2. Election a temporary Cluster Head (CH) 18/27
  • 31. Low Energy Adaptive Cluster Hierarchy (LEACH) 1. Divide the network in clusters 2. Election a temporary Cluster Head (CH) 3. The CH aggregates all sensor data and forwards it to the sink 18/27
  • 32. Low Energy Adaptive Cluster Hierarchy (LEACH) 1. Divide the network in clusters 2. Election a temporary Cluster Head (CH) 3. The CH aggregates all sensor data and forwards it to the sink During operation we have two phases: 18/27
  • 33. Low Energy Adaptive Cluster Hierarchy (LEACH) 1. Divide the network in clusters 2. Election a temporary Cluster Head (CH) 3. The CH aggregates all sensor data and forwards it to the sink During operation we have two phases: CH selection 18/27
  • 34. Low Energy Adaptive Cluster Hierarchy (LEACH) 1. Divide the network in clusters 2. Election a temporary Cluster Head (CH) 3. The CH aggregates all sensor data and forwards it to the sink During operation we have two phases: CH selection Normal operation 18/27
  • 35. Cluster Head Selection 1. CH broadcasts an Energy Request message. 19/27
  • 36. Cluster Head Selection 1. CH broadcasts an Energy Request message. 2. SNs measure their energy level and send it to the CH. 19/27
  • 37. Cluster Head Selection 1. CH broadcasts an Energy Request message. 2. SNs measure their energy level and send it to the CH. 3. CH collects replies and compares energy levels. 19/27
  • 38. Cluster Head Selection 1. CH broadcasts an Energy Request message. 2. SNs measure their energy level and send it to the CH. 3. CH collects replies and compares energy levels. 4. Node with the most energy is selected as the new CH. 19/27
  • 39. Cluster Head Selection 1. CH broadcasts an Energy Request message. 2. SNs measure their energy level and send it to the CH. 3. CH collects replies and compares energy levels. 4. Node with the most energy is selected as the new CH. 5. CH broadcasts the new CH ID to all SNs. 19/27
  • 40. Cluster Head Selection 1. CH broadcasts an Energy Request message. 2. SNs measure their energy level and send it to the CH. 3. CH collects replies and compares energy levels. 4. Node with the most energy is selected as the new CH. 5. CH broadcasts the new CH ID to all SNs. 6. SNs update the CH ID at the same time. 19/27
  • 41. Sensing and Communication Sensor node: 1. Check for parking lot status change 2. Send changes to the CH 3. Go to sleep 20/27
  • 42. Sensing and Communication Sensor node: 1. Check for parking lot status change 2. Send changes to the CH 3. Go to sleep Cluster head: 1. Aggregate all sensor data. 2. Forward data to the sink. 3. Go to sleep 20/27
  • 43. Outline Introduction and Problem Statement System Design Envisioned Application Hardware Specifications Software Libraries WSN Protocol Design System Operation Experimental Study Future Work Conclusion 21/27
  • 44. Experimental Study Evaluation and solutions to practical problems. Energy consumption Minimise energy consumption by maximising sleep time Power down external sensors 22/27
  • 45. Experimental Study Evaluation and solutions to practical problems. Energy consumption Minimise energy consumption by maximising sleep time Power down external sensors Packet Loss Ratio Evaluation of packet loss ratio to ensure proper system operation 22/27
  • 46. Experimental Study Evaluation and solutions to practical problems. Energy consumption Minimise energy consumption by maximising sleep time Power down external sensors Packet Loss Ratio Evaluation of packet loss ratio to ensure proper system operation Synchronisation ATmega328P internal oscillator: significant error margin between individual sensors Software based solution: recalibration in reference to CH 22/27
  • 47. Outline Introduction and Problem Statement System Design Envisioned Application Hardware Specifications Software Libraries WSN Protocol Design System Operation Experimental Study Future Work Conclusion 23/27
  • 48. Future Work Further development of the proof-of-concept application Server-side data management Mobile phone application to search for vacant parking spots Embedded display module for in-car placement 24/27
  • 49. Future Work Further development of the proof-of-concept application Server-side data management Mobile phone application to search for vacant parking spots Embedded display module for in-car placement Protocol enhancement Better scalability and security Location aware cluster head selection 24/27
  • 50. Future Work Further development of the proof-of-concept application Server-side data management Mobile phone application to search for vacant parking spots Embedded display module for in-car placement Protocol enhancement Better scalability and security Location aware cluster head selection Clean up the code and allow other people to use it Better documentation Easy and working examples 24/27
  • 51. Outline Introduction and Problem Statement System Design Envisioned Application Hardware Specifications Software Libraries WSN Protocol Design System Operation Experimental Study Future Work Conclusion 25/27
  • 52. Conclusion We implemented an event-driven, hierarchical WSN clustering protocol with an energy-aware CH selection algorithm similar to the LEACH protocol. 26/27
  • 53. Conclusion We implemented an event-driven, hierarchical WSN clustering protocol with an energy-aware CH selection algorithm similar to the LEACH protocol. We used Seeeduino development boards, nRF24L01 low-power RF modules and Sharp IR distance sensors. 26/27
  • 54. Conclusion We implemented an event-driven, hierarchical WSN clustering protocol with an energy-aware CH selection algorithm similar to the LEACH protocol. We used Seeeduino development boards, nRF24L01 low-power RF modules and Sharp IR distance sensors. Our synchronisation mechanism solves the problems caused by the inaccuracy of the Arduino internal Timer. 26/27
  • 55. Conclusion We implemented an event-driven, hierarchical WSN clustering protocol with an energy-aware CH selection algorithm similar to the LEACH protocol. We used Seeeduino development boards, nRF24L01 low-power RF modules and Sharp IR distance sensors. Our synchronisation mechanism solves the problems caused by the inaccuracy of the Arduino internal Timer. Preliminary measurement results show that the hardware choices were not optimal for this WSN Application. 26/27
  • 56. Conclusion We implemented an event-driven, hierarchical WSN clustering protocol with an energy-aware CH selection algorithm similar to the LEACH protocol. We used Seeeduino development boards, nRF24L01 low-power RF modules and Sharp IR distance sensors. Our synchronisation mechanism solves the problems caused by the inaccuracy of the Arduino internal Timer. Preliminary measurement results show that the hardware choices were not optimal for this WSN Application. Although Arduino is easy to use as an experimental open-source platform, it is currently not the most appropriate platform to develop low-power WSN applications. 26/27