SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
WSN Programming Course
Introduction to Wireless Sensor
Networks
Manuel Fernández
UAH, 18th September 2013
Contents
•What areWireless Sensor Networks?
•WSN Advantages & Challenges
•Applications
• Future ofWSN
•What are Motes?
•WSN Evolution
• IEEE 802.15.4
• IEEE 802.15.4 vs. ZigBee
• Future of IEEE 802.15.4
• Embedded Operating Systems
• Introduction toTinyOS 2.x
2
• A Wireless Sensor Network (WSN) is a wireless network of small
autonomous devices spatially distributed over a certain area that
cooperatively monitor physical or environmental variables through
their attached sensors, and transmit this information to a main
location.
What are WSNs?
3
• Advantages:
• Low cost devices
• Low power
• Easy and quick to deploy
• Scalability (increase network robustness)
• Challenges:
• Energy constrained
• Limited memory and computation
• Low Bandwidth
WSN Advantages &Challenges
4
• Monitoring of objects
• Monitoring of areas
• Monitoring of objects and areas
Applications
5
Monitoring of objects
• Structural Monitoring
• Condition-based Maintenance
• Medical Diagnostics
• Urban terrain mapping
Example:Condition-based Maintenance
Fabrication plants:
• Sensors collect vibration data, monitor wear and tear; report data
in real-time
• Reduces need for a team of engineers; cutting costs by several
orders of magnitude
Applications
6
Monitoring of areas
• Environmental and Habitat Monitoring
• PrecisionAgriculture
• Indoor Climate Control
• Military Surveillance
•TreatyVerification
• IntelligentAlarms
Example: Precision agriculture
• Precision agriculture aims at making agricultural operations more
efficient and cost effective, while reducing environmental impact.
• The information collected from sensors is used to evaluate
optimum sowing density, estimate fertilizers and other inputs
needs, and to more accurately predict crop yields.
Applications
7
Monitoring of objects and areas
•Wildlife Habitats
• Disaster Management
• Emergency Response
• Ubiquitous Computing
•AssetTracking
• Health Care
• Manufacturing Process Flows
• …
Applications
8
Smart Home/Smart Office
• Sensors controlling appliances and electrical devices in the house
• Better lighting and heating in office buildings.
Biomedical/Medical
• Health Monitors:Glucose /Heart rate
• Chronic disease: artificial retina/ cochlear implants
• Hospital sensors: monitor vital signs/ record anomalies
Traffic management & monitoring
•Traffic flow
• Real time routing update
Industrial & Commercial
•Agricultural crop conditions
•Inventory tracking
•Plant equipment maintenance monitoring
•Automated problem monitoring
Future of WSN
9
• Low cost and power computer
• Sensors
• Radio module
• Storage
• Power unit
What are Motes?
CONTROL
SENSOR 3
10
• CM5000
What are Motes?
11
WSN Evolution
• First developments for military
applications
• At the end of the 90’s, the possibilities
of this technology were very evident for
researches & the industry across the
globe.
• In 2003 the IEEE 802.15.4 standard was
formulated. The first embedded
operating systems are developed
• First WSN designs are distributed
systems
• Newest designs focus on in-node
processing and actuation, and
multipoint communication
12
• In 2003 the IEEE 802.15.4 standard was formulated, as
an answer to the industry needs for a common
communication stack among small devices
• This stack is aimed towards low power consumption,
and low data transfer rates
• The communication stack focuses on the definition of
the frequencies of operation, and how they physically
access the medium
IEEE 802.15.4
13
IEEE 802.15.4
802.15.4
802.11
(Wi-Fi)
Bluetooth
UWB (Ultra
Wide Band)
Wireless USB IR Wireless
Data Rate
20, 40, and 250
Kbits/s
11 & 54
Mbits/sec
1 Mbits/s 100-500 Mbits/s 62.5 Kbits/s
20-40 Kbits/s
115 Kbits/s
4 & 16 Mbits/s
Range 10-800 meters 50-100 meters 10 meters <10 meters 10 meters
<10 meters (line
of sight)
Networking Topology
Ad-hoc, peer to
peer, star, or
mesh Point to hub
Ad-hoc, very
small networks
Point to point Point to point Point to point
Operating Frequency
868 MHz
(Europe)
900-928 MHz
(NA), 2.4 GHz
(worldwide)
2.4 and 5 GHz 2.4 GHz 3.1-10.6 GHz 2.4 GHz 800-900 nm
Complexity (Device
and application
impact)
Low High High Medium Low Low
Power Consumption
(Battery option and
life)
Very low (low
power is a design
goal)
High Medium Low Low Low
IEEE 802.15.4
Tech comparison:
15
IEEE 802.15.4 vs. ZigBee
IEEE 802.15.4 IS NOTTHE SAME AS ZIGBEE!!!
16
• IPv6 over 802.15.4
• 6LoWPAN
• Blip
• RPL (IETF )
• ….
• Industrial Automation with IEEE 802.15.4
• WirelessHART
• ISA100
• …
Future of IEEE 802.15.4
17
• Embedded OS run inside the mote and take care of most of most of
the operations, always focusing on achieving a low power state
• This allows the programmer to focus on developing applications,
and staying away from low power tinkering
• Among the most popular, TinyOS and Contiki lead the research
Embedded Operating Systems
18
Introduction to TinyOS-2.x
19
Overview
•One of the first OSs to target WSNs
– currently the most widespread
• Emphasis is on memory consumption
– both program and data memory
• Open-source w/ rich component library
• Memory efficient
• Rich tool-chain
• Large code-base and user community
TinyOS Features:
•TinyOS is programmed in nesC
• nesC is a C-style language
• nesC provides the programming abstractions
– component based
• Split-phase execution
– return values arrive asynchronously through events
• Tasks provide the unit of concurrency
– typically spawned by events
– can be pre-empted by asynchronous events
– FIFO scheduling
• Pre-emptive threaded model with TOSThreads
Introduction to TinyOS-2.x
20
• TinyOS abstracts everything as a component:
– Components can be reused
– Components can be replaced
– Components can be hardware or software
21
Introduction to TinyOS-2.x
Component-oriented Programming
• Object-Oriented Programming:
– Focuses on the relationships between classes that are
combined into one large binary executable
• Component-Oriented Programming:
– Focuses on interchangeable code modules that work
independently and don't require you to be familiar
with their inner workings to use them.
22
Introduction to TinyOS-2.x
TinyOS Architecture
Sensing Comms Other Libraries
Application
Main (scheduler)
Hardware Abstractions (ADC, CLOCK, I2C, LEDS, PHOTO, UART, SPI)
23
Introduction to TinyOS-2.x
Compiling
24
Introduction to TinyOS-2.x
Contact Info:
Manuel Fernández
manuel.fernandez@advanticsys.com
25

Weitere ähnliche Inhalte

Was ist angesagt?

Wisenet network
Wisenet networkWisenet network
Wisenet network
bhavithd
 
An overview of a wireless sensor network communication ppt
An overview of a wireless sensor network communication pptAn overview of a wireless sensor network communication ppt
An overview of a wireless sensor network communication ppt
phbhagwat
 

Was ist angesagt? (19)

Intrusion detection systems in wireless sensor networks
Intrusion detection systems in wireless sensor networksIntrusion detection systems in wireless sensor networks
Intrusion detection systems in wireless sensor networks
 
gcettb presentation on sensor network
gcettb presentation on sensor networkgcettb presentation on sensor network
gcettb presentation on sensor network
 
Wireless Sensor Networks
Wireless Sensor NetworksWireless Sensor Networks
Wireless Sensor Networks
 
wireless sensor networks using zigbee and wifi
wireless sensor networks using zigbee and wifiwireless sensor networks using zigbee and wifi
wireless sensor networks using zigbee and wifi
 
569
569569
569
 
SENSOR NETWORK PLATFORMS AND TOOLS
SENSOR NETWORK PLATFORMS AND TOOLSSENSOR NETWORK PLATFORMS AND TOOLS
SENSOR NETWORK PLATFORMS AND TOOLS
 
Sensor
SensorSensor
Sensor
 
WSN IN IOT
WSN IN IOTWSN IN IOT
WSN IN IOT
 
Wisenet - Complete ppt about the topic wisenet
Wisenet -  Complete ppt about the topic wisenetWisenet -  Complete ppt about the topic wisenet
Wisenet - Complete ppt about the topic wisenet
 
wirelss sensor network
wirelss sensor networkwirelss sensor network
wirelss sensor network
 
Intrusion Detection in A Smart Forest-Fire Early Warning Sensory System
 Intrusion Detection in A Smart Forest-Fire Early Warning Sensory System Intrusion Detection in A Smart Forest-Fire Early Warning Sensory System
Intrusion Detection in A Smart Forest-Fire Early Warning Sensory System
 
Wisenet network
Wisenet networkWisenet network
Wisenet network
 
wireless sensor networks & application :forest fire detection
 wireless sensor networks  & application :forest fire detection wireless sensor networks  & application :forest fire detection
wireless sensor networks & application :forest fire detection
 
Data acquisition and storage in Wireless Sensor Network
Data acquisition and storage in Wireless Sensor NetworkData acquisition and storage in Wireless Sensor Network
Data acquisition and storage in Wireless Sensor Network
 
An overview of a wireless sensor network communication ppt
An overview of a wireless sensor network communication pptAn overview of a wireless sensor network communication ppt
An overview of a wireless sensor network communication ppt
 
Wireless Sensor Networks ppt
Wireless Sensor Networks pptWireless Sensor Networks ppt
Wireless Sensor Networks ppt
 
Seminar Report on Wisenet Technology
Seminar Report on Wisenet TechnologySeminar Report on Wisenet Technology
Seminar Report on Wisenet Technology
 
Wireless sensor networks software architecture
Wireless sensor networks software architectureWireless sensor networks software architecture
Wireless sensor networks software architecture
 
Design Issues and Applications of Wireless Sensor Network
Design Issues and Applications of Wireless Sensor NetworkDesign Issues and Applications of Wireless Sensor Network
Design Issues and Applications of Wireless Sensor Network
 

Andere mochten auch

Localization in WSN
Localization in WSNLocalization in WSN
Localization in WSN
Yara Ali
 
Wireless sensor network security issues
Wireless sensor network security issuesWireless sensor network security issues
Wireless sensor network security issues
Maha Saad
 

Andere mochten auch (20)

TinyOS Course 01: Basic Programming
TinyOS Course 01: Basic ProgrammingTinyOS Course 01: Basic Programming
TinyOS Course 01: Basic Programming
 
TinyOS Course 02 Serial Communication
TinyOS Course 02 Serial CommunicationTinyOS Course 02 Serial Communication
TinyOS Course 02 Serial Communication
 
Wsn
WsnWsn
Wsn
 
Makalah ide implementasi wsn dan cloud computing pada traffic light
Makalah ide implementasi wsn dan cloud computing pada traffic lightMakalah ide implementasi wsn dan cloud computing pada traffic light
Makalah ide implementasi wsn dan cloud computing pada traffic light
 
Ant Colony Optimization for Wireless Sensor Network: A Review
Ant Colony Optimization for Wireless Sensor Network: A ReviewAnt Colony Optimization for Wireless Sensor Network: A Review
Ant Colony Optimization for Wireless Sensor Network: A Review
 
Security protocols & platform for wsn based medical applications
Security protocols & platform for wsn based medical applicationsSecurity protocols & platform for wsn based medical applications
Security protocols & platform for wsn based medical applications
 
Network Mnagement for WSN
Network Mnagement for WSNNetwork Mnagement for WSN
Network Mnagement for WSN
 
Security in WSN
Security in WSNSecurity in WSN
Security in WSN
 
Lifetime Power® Wireless Sensor System
Lifetime Power® Wireless Sensor SystemLifetime Power® Wireless Sensor System
Lifetime Power® Wireless Sensor System
 
Localization in WSN
Localization in WSNLocalization in WSN
Localization in WSN
 
Wireless sensor network security issues
Wireless sensor network security issuesWireless sensor network security issues
Wireless sensor network security issues
 
Digital Strategies for Patient Engagement in 2015 and Beyond
Digital Strategies for Patient Engagement in 2015 and BeyondDigital Strategies for Patient Engagement in 2015 and Beyond
Digital Strategies for Patient Engagement in 2015 and Beyond
 
Pateint monitering
Pateint moniteringPateint monitering
Pateint monitering
 
Fundamentals of hvac controls
Fundamentals of hvac controlsFundamentals of hvac controls
Fundamentals of hvac controls
 
Instrumentation for Test & Measurement Professional Development Technical Tra...
Instrumentation for Test & Measurement Professional Development Technical Tra...Instrumentation for Test & Measurement Professional Development Technical Tra...
Instrumentation for Test & Measurement Professional Development Technical Tra...
 
P3 IoT Platform
P3 IoT PlatformP3 IoT Platform
P3 IoT Platform
 
Eclipse DemoCamp Vienna: IoT, M2M für Fitness, Gesundheit und Wissenschaft
Eclipse DemoCamp Vienna: IoT, M2M für Fitness, Gesundheit und WissenschaftEclipse DemoCamp Vienna: IoT, M2M für Fitness, Gesundheit und Wissenschaft
Eclipse DemoCamp Vienna: IoT, M2M für Fitness, Gesundheit und Wissenschaft
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
 
Alnor hvac handbook
Alnor hvac handbookAlnor hvac handbook
Alnor hvac handbook
 
Emerging Technologies Driving New Patient Care
Emerging Technologies Driving New Patient CareEmerging Technologies Driving New Patient Care
Emerging Technologies Driving New Patient Care
 

Ähnlich wie TinyOS Course 00: Introduction to WSN

Presentacion invento redes de sensores inalambricas
Presentacion invento redes de sensores inalambricasPresentacion invento redes de sensores inalambricas
Presentacion invento redes de sensores inalambricas
mpgarciam
 
Presentacion invento redes de sensores inalambricas
Presentacion invento redes de sensores inalambricasPresentacion invento redes de sensores inalambricas
Presentacion invento redes de sensores inalambricas
mpgarciam
 

Ähnlich wie TinyOS Course 00: Introduction to WSN (20)

Wireless sensor network and its application
Wireless sensor network and its applicationWireless sensor network and its application
Wireless sensor network and its application
 
Wireless sensor networks (Yogesh Chandra Fulara)
Wireless sensor networks (Yogesh Chandra Fulara)Wireless sensor networks (Yogesh Chandra Fulara)
Wireless sensor networks (Yogesh Chandra Fulara)
 
Wireless sensor networks
Wireless sensor networksWireless sensor networks
Wireless sensor networks
 
Module 1 Lec 1-6- WSN-EC6128.pdf
Module 1 Lec 1-6- WSN-EC6128.pdfModule 1 Lec 1-6- WSN-EC6128.pdf
Module 1 Lec 1-6- WSN-EC6128.pdf
 
Wsn handbook
Wsn handbookWsn handbook
Wsn handbook
 
Enhancing the Performance of WSN
Enhancing the Performance of WSNEnhancing the Performance of WSN
Enhancing the Performance of WSN
 
Distributed sensor network
Distributed sensor networkDistributed sensor network
Distributed sensor network
 
Wireless Sensor Network
Wireless Sensor NetworkWireless Sensor Network
Wireless Sensor Network
 
Philips Implementing Wireless in the Hospital Enterprise: Medical Device Cons...
Philips Implementing Wireless in the Hospital Enterprise: Medical Device Cons...Philips Implementing Wireless in the Hospital Enterprise: Medical Device Cons...
Philips Implementing Wireless in the Hospital Enterprise: Medical Device Cons...
 
Presentacion invento redes de sensores inalambricas
Presentacion invento redes de sensores inalambricasPresentacion invento redes de sensores inalambricas
Presentacion invento redes de sensores inalambricas
 
Presentacion invento redes de sensores inalambricas
Presentacion invento redes de sensores inalambricasPresentacion invento redes de sensores inalambricas
Presentacion invento redes de sensores inalambricas
 
M2M.pptx
M2M.pptxM2M.pptx
M2M.pptx
 
LEACH Protocol
LEACH ProtocolLEACH Protocol
LEACH Protocol
 
A Software Defined Hierarchical Communication and Data Management Architectur...
A Software Defined Hierarchical Communication and Data Management Architectur...A Software Defined Hierarchical Communication and Data Management Architectur...
A Software Defined Hierarchical Communication and Data Management Architectur...
 
Sem
SemSem
Sem
 
Santhosh ppt1 copy
Santhosh ppt1   copySanthosh ppt1   copy
Santhosh ppt1 copy
 
IoT_IO1_1 Introduction to the IoT-1.pdf
IoT_IO1_1 Introduction to the IoT-1.pdfIoT_IO1_1 Introduction to the IoT-1.pdf
IoT_IO1_1 Introduction to the IoT-1.pdf
 
INTERNET OF THINGS.pptx
INTERNET OF THINGS.pptxINTERNET OF THINGS.pptx
INTERNET OF THINGS.pptx
 
IDS WSN.ppt
IDS WSN.pptIDS WSN.ppt
IDS WSN.ppt
 
Wireless Networks
Wireless NetworksWireless Networks
Wireless Networks
 

Kürzlich hochgeladen

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Kürzlich hochgeladen (20)

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 

TinyOS Course 00: Introduction to WSN

  • 1. WSN Programming Course Introduction to Wireless Sensor Networks Manuel Fernández UAH, 18th September 2013
  • 2. Contents •What areWireless Sensor Networks? •WSN Advantages & Challenges •Applications • Future ofWSN •What are Motes? •WSN Evolution • IEEE 802.15.4 • IEEE 802.15.4 vs. ZigBee • Future of IEEE 802.15.4 • Embedded Operating Systems • Introduction toTinyOS 2.x 2
  • 3. • A Wireless Sensor Network (WSN) is a wireless network of small autonomous devices spatially distributed over a certain area that cooperatively monitor physical or environmental variables through their attached sensors, and transmit this information to a main location. What are WSNs? 3
  • 4. • Advantages: • Low cost devices • Low power • Easy and quick to deploy • Scalability (increase network robustness) • Challenges: • Energy constrained • Limited memory and computation • Low Bandwidth WSN Advantages &Challenges 4
  • 5. • Monitoring of objects • Monitoring of areas • Monitoring of objects and areas Applications 5
  • 6. Monitoring of objects • Structural Monitoring • Condition-based Maintenance • Medical Diagnostics • Urban terrain mapping Example:Condition-based Maintenance Fabrication plants: • Sensors collect vibration data, monitor wear and tear; report data in real-time • Reduces need for a team of engineers; cutting costs by several orders of magnitude Applications 6
  • 7. Monitoring of areas • Environmental and Habitat Monitoring • PrecisionAgriculture • Indoor Climate Control • Military Surveillance •TreatyVerification • IntelligentAlarms Example: Precision agriculture • Precision agriculture aims at making agricultural operations more efficient and cost effective, while reducing environmental impact. • The information collected from sensors is used to evaluate optimum sowing density, estimate fertilizers and other inputs needs, and to more accurately predict crop yields. Applications 7
  • 8. Monitoring of objects and areas •Wildlife Habitats • Disaster Management • Emergency Response • Ubiquitous Computing •AssetTracking • Health Care • Manufacturing Process Flows • … Applications 8
  • 9. Smart Home/Smart Office • Sensors controlling appliances and electrical devices in the house • Better lighting and heating in office buildings. Biomedical/Medical • Health Monitors:Glucose /Heart rate • Chronic disease: artificial retina/ cochlear implants • Hospital sensors: monitor vital signs/ record anomalies Traffic management & monitoring •Traffic flow • Real time routing update Industrial & Commercial •Agricultural crop conditions •Inventory tracking •Plant equipment maintenance monitoring •Automated problem monitoring Future of WSN 9
  • 10. • Low cost and power computer • Sensors • Radio module • Storage • Power unit What are Motes? CONTROL SENSOR 3 10
  • 11. • CM5000 What are Motes? 11
  • 12. WSN Evolution • First developments for military applications • At the end of the 90’s, the possibilities of this technology were very evident for researches & the industry across the globe. • In 2003 the IEEE 802.15.4 standard was formulated. The first embedded operating systems are developed • First WSN designs are distributed systems • Newest designs focus on in-node processing and actuation, and multipoint communication 12
  • 13. • In 2003 the IEEE 802.15.4 standard was formulated, as an answer to the industry needs for a common communication stack among small devices • This stack is aimed towards low power consumption, and low data transfer rates • The communication stack focuses on the definition of the frequencies of operation, and how they physically access the medium IEEE 802.15.4 13
  • 15. 802.15.4 802.11 (Wi-Fi) Bluetooth UWB (Ultra Wide Band) Wireless USB IR Wireless Data Rate 20, 40, and 250 Kbits/s 11 & 54 Mbits/sec 1 Mbits/s 100-500 Mbits/s 62.5 Kbits/s 20-40 Kbits/s 115 Kbits/s 4 & 16 Mbits/s Range 10-800 meters 50-100 meters 10 meters <10 meters 10 meters <10 meters (line of sight) Networking Topology Ad-hoc, peer to peer, star, or mesh Point to hub Ad-hoc, very small networks Point to point Point to point Point to point Operating Frequency 868 MHz (Europe) 900-928 MHz (NA), 2.4 GHz (worldwide) 2.4 and 5 GHz 2.4 GHz 3.1-10.6 GHz 2.4 GHz 800-900 nm Complexity (Device and application impact) Low High High Medium Low Low Power Consumption (Battery option and life) Very low (low power is a design goal) High Medium Low Low Low IEEE 802.15.4 Tech comparison: 15
  • 16. IEEE 802.15.4 vs. ZigBee IEEE 802.15.4 IS NOTTHE SAME AS ZIGBEE!!! 16
  • 17. • IPv6 over 802.15.4 • 6LoWPAN • Blip • RPL (IETF ) • …. • Industrial Automation with IEEE 802.15.4 • WirelessHART • ISA100 • … Future of IEEE 802.15.4 17
  • 18. • Embedded OS run inside the mote and take care of most of most of the operations, always focusing on achieving a low power state • This allows the programmer to focus on developing applications, and staying away from low power tinkering • Among the most popular, TinyOS and Contiki lead the research Embedded Operating Systems 18
  • 19. Introduction to TinyOS-2.x 19 Overview •One of the first OSs to target WSNs – currently the most widespread • Emphasis is on memory consumption – both program and data memory • Open-source w/ rich component library • Memory efficient • Rich tool-chain • Large code-base and user community
  • 20. TinyOS Features: •TinyOS is programmed in nesC • nesC is a C-style language • nesC provides the programming abstractions – component based • Split-phase execution – return values arrive asynchronously through events • Tasks provide the unit of concurrency – typically spawned by events – can be pre-empted by asynchronous events – FIFO scheduling • Pre-emptive threaded model with TOSThreads Introduction to TinyOS-2.x 20
  • 21. • TinyOS abstracts everything as a component: – Components can be reused – Components can be replaced – Components can be hardware or software 21 Introduction to TinyOS-2.x
  • 22. Component-oriented Programming • Object-Oriented Programming: – Focuses on the relationships between classes that are combined into one large binary executable • Component-Oriented Programming: – Focuses on interchangeable code modules that work independently and don't require you to be familiar with their inner workings to use them. 22 Introduction to TinyOS-2.x
  • 23. TinyOS Architecture Sensing Comms Other Libraries Application Main (scheduler) Hardware Abstractions (ADC, CLOCK, I2C, LEDS, PHOTO, UART, SPI) 23 Introduction to TinyOS-2.x