SlideShare una empresa de Scribd logo
1 de 36
Sun SPOT
Wireless Sensors Networks
José Jaime Ariza
ISIS group (University of Málaga)
Slideshare version, original version at http://jariza.net/ponencias.
1. SENSORS NETWORKS
1. SENSORS NETWORKS
1. SENSORS NETWORKS
1. SENSORS NETWORKS
Applications
• Air pollution.
• Forest fire detection.
• Water monitoring.
• Agriculture.
• Structural monitoring.
• Enviromental sensing.
• Machine monitoring.
• Etc...
1. SENSORS NETWORKS
Gateway
Sensor
node
Sensor
node
Sensor
node
Sensor
node
Sensor
node
Sensor
node
Sensor
node
1. SENSORS NETWORKS
Requirements
• Wireless communications.
• Low power consumption.
• Easy deployment.
• Sensors.
• Heterogeneous network.
2. COMMUNICATIONS
A sensor may use a communication device to connect to a
network, but it is of key importance that devices “speak” a
common language.
2. COMMUNICATIONS
ISO standarizes the different communication levels
of devices, so that they can understand each other.
WIRELESS PERSONAL AREA
NETWORKS (WPAN)
WIRELESS LOCAL AREA
NETWORKS (WPAN)
2. COMMUNICATIONS
ISO standarizes the different communication levels
of devices, so that they can understand each other.
2. COMMUNICATIONS
ISO standarizes the different communication levels
of devices, so that they can understand each other.
2. COMMUNICATIONS
ISO standarizes the different communication levels
of devices, so that they can understand each other.
Security (authentication and privacy)
Hardware interfacing
2. COMMUNICATIONS
ISO standarizes the different communication levels
of devices, so that they can understand each other.
Fixed network
2. COMMUNICATIONS
ISO standarizes the different communication levels
of devices, so that they can understand each other.
Mobile network
2. COMMUNICATIONS
ISO standarizes the different communication levels
of devices, so that they can understand each other.
Mobile network
2. COMMUNICATIONS
For wireless sensor implementation there are several technologies...
2. COMMUNICATIONS
For wireless sensor implementation there are several technologies...
ZigBee
(WPAN)
Bluetooth
(WLAN/WPAN)
Wi-Fi
(WLAN)
●802.15.4
●250 kbps
●TX: 35mA
●Standby: 3µA
●32-60 kB memory
●Sensors, remote
control...
●Mesh, P-P, P-M.
●802.15.1
●1 Mbps
●TX: 40mA
●Standby: 200µA
●100+ kB memory
●Telecom, audio...
●P-M.
●802.11
●300Mbps
●TX: > 400mA
●Standby: 20mA
●100+ kB memory
●Internet...
●P-M
2. COMMUNICATIONS
For wireless sensor implementation there are several technologies...
3. WIRELESS SENSORS
Sensor, processing and communication units can be packed into a tight, cheap
and low power circuit.
3. WIRELESS SENSORS
Any sensor can connect to a WPAN and, through it, to any other wireless
network, like mobile phones, laptops, PDAs, etc.
4. Sun SPOT
Sun
Small
Programmable
Object
Technology
Java platform for developing applications for wireless sensors
4. Sun SPOT
314,93€
4. Sun SPOT
Gateway
Mota
4. Sun SPOT
Processor Board
• Core CPU: ARM9, 32bit, 400Mhz.
• RAM: 1Mb
• Flash: 8Mb
• Radio: 2.4 Ghz 802.15.4.
• USB interface.
• 3 serial lines.
• 770 mAh L-ion battery.
• Deep sleep: 40µA/65µA
• Temperature sensor.
4. Sun SPOT
Sensor Board
• ATmega microcontroller.
• 4 digital GPIO.
• 4 analog GPIO and ADC.
• Tri-color light sensor.
• 2/4/8G 3-axis accelerometer.
• I2C.
• Speaker.
• IR receiver & IR transmitter.
• 8 RGB LEDs.
• 2 switches.
4. Sun SPOT
Software
• Virtual Marchine
– Squawk VM (J2ME CLDC 1.1).
– Memory protection (bad code).
– Security protection (malicious code).
• Programming with...
– Java.
– Netbeans.
– SunSPOT SDK.
4. Sun SPOT
Communications
• Wireless
– 802.15.4
– +250Kbps
– ZigBee support
– Topologies: adhoc, mesh, cluster tree, star.
• Wired
– USB
4. Sun SPOT
Sqwak VM
• Mainly written in Java.
• Runs on ARM9 without underlying OS.
• Drivers written in Java.
• Open Source.
• Isolate application model.
4. Sun SPOT
Build and deploy flow
Javac
Java source
Squawk suit
converter
SunSPOT
Build
4. Sun SPOT
Sqwak split VM
4. Sun SPOT
SunSPOT SDK
• Squawk Java VM: Desktop and Sun SPOT
• Libraries
– Java ME CLDC 1.1 libraries
– Hardware libraries
• SPI, PIO... (drivers written in Java)
• Demo sensor board library
– Wireless layer libraries
– Network layer libraries
• 802.15.4 MAC (layer written in Java)
4. Sun SPOT
Code spnippet: send broadcast
try {
dgConnection =
(DatagramConnection) Connector.open("radiogram://broadcast:37");
dg = dgConnection.newDatagram(dgConnection.getMaximumLength());
dg.reset();
dg.writeUTF("I rock");
dgConnection.send(dg);
} catch (IOException ex) {
//Catch code
}
4. Sun SPOT
Code spnippet: receive broadcast
try {
dgConnection =
(RadiogramConnection) Connector.open("radiogram://:37");
dg = dgConnection.newDatagram(dgConnection.getMaximumLength());
} catch (IOException e) {/*Catch code*/}
while(true){
try {
dg.reset();
dgConnection.receive(dg);
tmp = dg.readUTF();
} catch (IOException e) {/*Catch code*/}
}
4. Sun SPOT
Code spnippet: sensors reading
ILightSensor lightSensor = (ILightSensor)
Resources.lookup(ILightSensor.class);
min = ((IMeasurementInfo)lightSensor).getMinValue();
max = ((IMeasurementInfo)lightSensor).getMaxValue();
lightLevel = lightSensor.getAverageValue();
4. Sun SPOT
Code spnippet: outputs
ITriColorLEDArray leds = (ITriColorLEDArray)
Resources.lookup(ITriColorLEDArray.class);
leds.getLED(0).setOff();
leds.getLED(0).setColor(LEDColor.BLUE);
leds.getLED(0).setOn();
leds.getLED(3).setRGB(0, 0, 0);
speaker =
(IToneGenerator) Resources.lookup(IToneGenerator.class, "speaker");
speaker.startTone(freq);
speaker.stopTone();
Thank you
…
¿Any question?

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Rf receiver design case studies
Rf receiver design case studiesRf receiver design case studies
Rf receiver design case studies
 
WiMax - Technology & Architecture
WiMax - Technology & ArchitectureWiMax - Technology & Architecture
WiMax - Technology & Architecture
 
Beam forming- New Technology
Beam forming- New TechnologyBeam forming- New Technology
Beam forming- New Technology
 
Mac
MacMac
Mac
 
time hopping spread spectrum term paper
time hopping spread spectrum term papertime hopping spread spectrum term paper
time hopping spread spectrum term paper
 
Protocols for internet of things
Protocols for internet of thingsProtocols for internet of things
Protocols for internet of things
 
Multi-Hopping
Multi-HoppingMulti-Hopping
Multi-Hopping
 
EC6651 COMMUNICATION ENGINEERING UNIT 1
EC6651 COMMUNICATION ENGINEERING UNIT 1EC6651 COMMUNICATION ENGINEERING UNIT 1
EC6651 COMMUNICATION ENGINEERING UNIT 1
 
Multiple input & Multiple Output Systems
Multiple input & Multiple Output SystemsMultiple input & Multiple Output Systems
Multiple input & Multiple Output Systems
 
Orthogonal Frequency Division Multiplexing (OFDM)
Orthogonal Frequency Division Multiplexing (OFDM)Orthogonal Frequency Division Multiplexing (OFDM)
Orthogonal Frequency Division Multiplexing (OFDM)
 
Mw&oc manual
Mw&oc manualMw&oc manual
Mw&oc manual
 
UWB and applications
UWB and applicationsUWB and applications
UWB and applications
 
Assignment Of 5G Antenna Design Technique
Assignment Of 5G Antenna Design TechniqueAssignment Of 5G Antenna Design Technique
Assignment Of 5G Antenna Design Technique
 
Microwave components
Microwave componentsMicrowave components
Microwave components
 
Analog modulation
Analog modulationAnalog modulation
Analog modulation
 
Wireless Body Area Networks
Wireless Body Area Networks Wireless Body Area Networks
Wireless Body Area Networks
 
Intro to wireless sensor network
Intro to wireless sensor networkIntro to wireless sensor network
Intro to wireless sensor network
 
Amplitute modulation
Amplitute modulationAmplitute modulation
Amplitute modulation
 
4.5 equalizers and its types
4.5   equalizers and its types4.5   equalizers and its types
4.5 equalizers and its types
 
Digital communication
Digital communicationDigital communication
Digital communication
 

Destacado

Air Programming on Sunspot with use of Wireless Networks
Air Programming on Sunspot with use of Wireless NetworksAir Programming on Sunspot with use of Wireless Networks
Air Programming on Sunspot with use of Wireless Networksijsrd.com
 
Silicon Labs CMEMS Oscillator teardown reverse costing report by published Yo...
Silicon Labs CMEMS Oscillator teardown reverse costing report by published Yo...Silicon Labs CMEMS Oscillator teardown reverse costing report by published Yo...
Silicon Labs CMEMS Oscillator teardown reverse costing report by published Yo...Yole Developpement
 
Sun spots piper- put your bibliographies in!!!!!
Sun spots  piper- put your bibliographies in!!!!!Sun spots  piper- put your bibliographies in!!!!!
Sun spots piper- put your bibliographies in!!!!!whitmers
 
Automotive sensors
Automotive sensorsAutomotive sensors
Automotive sensorsRaju Patel
 
Sun's Energy transport mechanism
 Sun's Energy transport mechanism  Sun's Energy transport mechanism
Sun's Energy transport mechanism Allan Alaurin
 
The natural causes of climate change
The natural causes of climate changeThe natural causes of climate change
The natural causes of climate changeJoBlack
 
Semi-Detailed Lesson Plan on The Young Terrorist by Anonymous
Semi-Detailed Lesson Plan on The Young Terrorist by AnonymousSemi-Detailed Lesson Plan on The Young Terrorist by Anonymous
Semi-Detailed Lesson Plan on The Young Terrorist by AnonymousTalugtug National High School
 
PPT on mind reading computer
 PPT on mind reading computer PPT on mind reading computer
PPT on mind reading computerAnjali Agarwal
 
A Detailed Lesson Plan in World Literature
A Detailed Lesson Plan in World LiteratureA Detailed Lesson Plan in World Literature
A Detailed Lesson Plan in World LiteratureDenmark Aleluya
 
Detailed: Lesson plan in literature for grade 7 students
Detailed: Lesson plan in literature for grade 7 studentsDetailed: Lesson plan in literature for grade 7 students
Detailed: Lesson plan in literature for grade 7 studentsYuna Lesca
 
Sunspots and Climate Change
Sunspots and Climate ChangeSunspots and Climate Change
Sunspots and Climate ChangeTed Badami
 

Destacado (20)

Sunspot
SunspotSunspot
Sunspot
 
Air Programming on Sunspot with use of Wireless Networks
Air Programming on Sunspot with use of Wireless NetworksAir Programming on Sunspot with use of Wireless Networks
Air Programming on Sunspot with use of Wireless Networks
 
Silicon Labs CMEMS Oscillator teardown reverse costing report by published Yo...
Silicon Labs CMEMS Oscillator teardown reverse costing report by published Yo...Silicon Labs CMEMS Oscillator teardown reverse costing report by published Yo...
Silicon Labs CMEMS Oscillator teardown reverse costing report by published Yo...
 
Sun spots piper- put your bibliographies in!!!!!
Sun spots  piper- put your bibliographies in!!!!!Sun spots  piper- put your bibliographies in!!!!!
Sun spots piper- put your bibliographies in!!!!!
 
Automotive sensors
Automotive sensorsAutomotive sensors
Automotive sensors
 
Sun's Energy transport mechanism
 Sun's Energy transport mechanism  Sun's Energy transport mechanism
Sun's Energy transport mechanism
 
cold fusion ppt
cold fusion pptcold fusion ppt
cold fusion ppt
 
The natural causes of climate change
The natural causes of climate changeThe natural causes of climate change
The natural causes of climate change
 
Nanocomputing
NanocomputingNanocomputing
Nanocomputing
 
Ppt of nanocomputing
Ppt of nanocomputingPpt of nanocomputing
Ppt of nanocomputing
 
Honey Pot
Honey PotHoney Pot
Honey Pot
 
Semi-Detailed Lesson Plan on The Young Terrorist by Anonymous
Semi-Detailed Lesson Plan on The Young Terrorist by AnonymousSemi-Detailed Lesson Plan on The Young Terrorist by Anonymous
Semi-Detailed Lesson Plan on The Young Terrorist by Anonymous
 
3d internet
3d internet3d internet
3d internet
 
Honeypots
HoneypotsHoneypots
Honeypots
 
PPT on mind reading computer
 PPT on mind reading computer PPT on mind reading computer
PPT on mind reading computer
 
A Detailed Lesson Plan in World Literature
A Detailed Lesson Plan in World LiteratureA Detailed Lesson Plan in World Literature
A Detailed Lesson Plan in World Literature
 
Detailed: Lesson plan in literature for grade 7 students
Detailed: Lesson plan in literature for grade 7 studentsDetailed: Lesson plan in literature for grade 7 students
Detailed: Lesson plan in literature for grade 7 students
 
Sunspots and Climate Change
Sunspots and Climate ChangeSunspots and Climate Change
Sunspots and Climate Change
 
mems ppt
mems pptmems ppt
mems ppt
 
Semi-Detailed Lesson Plan on Elements of Poetry
Semi-Detailed Lesson Plan on Elements of PoetrySemi-Detailed Lesson Plan on Elements of Poetry
Semi-Detailed Lesson Plan on Elements of Poetry
 

Similar a Sun SPOT, Wireless Sensors Networks

51679421-Wireless-Sensor-Networks-PPT.pptx
51679421-Wireless-Sensor-Networks-PPT.pptx51679421-Wireless-Sensor-Networks-PPT.pptx
51679421-Wireless-Sensor-Networks-PPT.pptxGeetha982072
 
Wirless Parsonal Area Networks.ppt
Wirless Parsonal Area Networks.pptWirless Parsonal Area Networks.ppt
Wirless Parsonal Area Networks.pptMunazza63
 
6-IoT protocol.pptx
6-IoT protocol.pptx6-IoT protocol.pptx
6-IoT protocol.pptxPratik Gohel
 
WIRELESS SENSOR NETWORK
WIRELESS SENSOR NETWORKWIRELESS SENSOR NETWORK
WIRELESS SENSOR NETWORKTejas Wasule
 
Squid.link Gateway
Squid.link GatewaySquid.link Gateway
Squid.link GatewayFreddy Engel
 
The Wireless Library Palinet Spring2005
The Wireless Library Palinet Spring2005The Wireless Library Palinet Spring2005
The Wireless Library Palinet Spring2005Bill Drew
 
Ch7 Data Transmission in Smart City, Summer Cours, AUST 2015
Ch7 Data Transmission in Smart City, Summer Cours, AUST  2015Ch7 Data Transmission in Smart City, Summer Cours, AUST  2015
Ch7 Data Transmission in Smart City, Summer Cours, AUST 2015Isam Shahrour
 
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 - opensoftwarexST_World
 
Security in Wireless Sensor Network
Security in Wireless Sensor NetworkSecurity in Wireless Sensor Network
Security in Wireless Sensor Networkgaurav kumar
 
gcettb presentation on sensor network
gcettb presentation on sensor networkgcettb presentation on sensor network
gcettb presentation on sensor networkrahulkumargiri
 
Bluetooth based smart sensor devices 2
Bluetooth based smart sensor devices 2Bluetooth based smart sensor devices 2
Bluetooth based smart sensor devices 2Vijay Kribpz
 
wirelesssecurity materialwirelesssecurity materialwirelesssecurity material
wirelesssecurity materialwirelesssecurity materialwirelesssecurity materialwirelesssecurity materialwirelesssecurity materialwirelesssecurity material
wirelesssecurity materialwirelesssecurity materialwirelesssecurity materialNune SrinivasRao
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptxMathavan N
 
Lecture 02 Mobile hardware
Lecture 02 Mobile hardwareLecture 02 Mobile hardware
Lecture 02 Mobile hardwareMaksym Davydov
 
Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013Benjamin Cabé
 
Null mumbai-iot-workshop
Null mumbai-iot-workshopNull mumbai-iot-workshop
Null mumbai-iot-workshopNitesh Malviya
 

Similar a Sun SPOT, Wireless Sensors Networks (20)

51679421-Wireless-Sensor-Networks-PPT.pptx
51679421-Wireless-Sensor-Networks-PPT.pptx51679421-Wireless-Sensor-Networks-PPT.pptx
51679421-Wireless-Sensor-Networks-PPT.pptx
 
Wirless Parsonal Area Networks.ppt
Wirless Parsonal Area Networks.pptWirless Parsonal Area Networks.ppt
Wirless Parsonal Area Networks.ppt
 
6-IoT protocol.pptx
6-IoT protocol.pptx6-IoT protocol.pptx
6-IoT protocol.pptx
 
WIRELESS SENSOR NETWORK
WIRELESS SENSOR NETWORKWIRELESS SENSOR NETWORK
WIRELESS SENSOR NETWORK
 
Squid.link Gateway
Squid.link GatewaySquid.link Gateway
Squid.link Gateway
 
The Wireless Library Palinet Spring2005
The Wireless Library Palinet Spring2005The Wireless Library Palinet Spring2005
The Wireless Library Palinet Spring2005
 
Symbian os
Symbian osSymbian os
Symbian os
 
Ch7 Data Transmission in Smart City, Summer Cours, AUST 2015
Ch7 Data Transmission in Smart City, Summer Cours, AUST  2015Ch7 Data Transmission in Smart City, Summer Cours, AUST  2015
Ch7 Data Transmission in Smart City, Summer Cours, AUST 2015
 
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
 
Security in Wireless Sensor Network
Security in Wireless Sensor NetworkSecurity in Wireless Sensor Network
Security in Wireless Sensor Network
 
20171106 - Workshop lille
20171106 -  Workshop lille20171106 -  Workshop lille
20171106 - Workshop lille
 
gcettb presentation on sensor network
gcettb presentation on sensor networkgcettb presentation on sensor network
gcettb presentation on sensor network
 
Bluetooth based smart sensor devices 2
Bluetooth based smart sensor devices 2Bluetooth based smart sensor devices 2
Bluetooth based smart sensor devices 2
 
IoT_standards
IoT_standardsIoT_standards
IoT_standards
 
wirelesssecurity materialwirelesssecurity materialwirelesssecurity material
wirelesssecurity materialwirelesssecurity materialwirelesssecurity materialwirelesssecurity materialwirelesssecurity materialwirelesssecurity material
wirelesssecurity materialwirelesssecurity materialwirelesssecurity material
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
Wsn
WsnWsn
Wsn
 
Lecture 02 Mobile hardware
Lecture 02 Mobile hardwareLecture 02 Mobile hardware
Lecture 02 Mobile hardware
 
Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013Open source building blocks for the Internet of Things - Jfokus 2013
Open source building blocks for the Internet of Things - Jfokus 2013
 
Null mumbai-iot-workshop
Null mumbai-iot-workshopNull mumbai-iot-workshop
Null mumbai-iot-workshop
 

Último

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
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...DianaGray10
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
+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...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

Sun SPOT, Wireless Sensors Networks

  • 1. Sun SPOT Wireless Sensors Networks José Jaime Ariza ISIS group (University of Málaga) Slideshare version, original version at http://jariza.net/ponencias.
  • 5. 1. SENSORS NETWORKS Applications • Air pollution. • Forest fire detection. • Water monitoring. • Agriculture. • Structural monitoring. • Enviromental sensing. • Machine monitoring. • Etc...
  • 7. 1. SENSORS NETWORKS Requirements • Wireless communications. • Low power consumption. • Easy deployment. • Sensors. • Heterogeneous network.
  • 8. 2. COMMUNICATIONS A sensor may use a communication device to connect to a network, but it is of key importance that devices “speak” a common language.
  • 9. 2. COMMUNICATIONS ISO standarizes the different communication levels of devices, so that they can understand each other. WIRELESS PERSONAL AREA NETWORKS (WPAN) WIRELESS LOCAL AREA NETWORKS (WPAN)
  • 10. 2. COMMUNICATIONS ISO standarizes the different communication levels of devices, so that they can understand each other.
  • 11. 2. COMMUNICATIONS ISO standarizes the different communication levels of devices, so that they can understand each other.
  • 12. 2. COMMUNICATIONS ISO standarizes the different communication levels of devices, so that they can understand each other. Security (authentication and privacy) Hardware interfacing
  • 13. 2. COMMUNICATIONS ISO standarizes the different communication levels of devices, so that they can understand each other. Fixed network
  • 14. 2. COMMUNICATIONS ISO standarizes the different communication levels of devices, so that they can understand each other. Mobile network
  • 15. 2. COMMUNICATIONS ISO standarizes the different communication levels of devices, so that they can understand each other. Mobile network
  • 16. 2. COMMUNICATIONS For wireless sensor implementation there are several technologies...
  • 17. 2. COMMUNICATIONS For wireless sensor implementation there are several technologies... ZigBee (WPAN) Bluetooth (WLAN/WPAN) Wi-Fi (WLAN) ●802.15.4 ●250 kbps ●TX: 35mA ●Standby: 3µA ●32-60 kB memory ●Sensors, remote control... ●Mesh, P-P, P-M. ●802.15.1 ●1 Mbps ●TX: 40mA ●Standby: 200µA ●100+ kB memory ●Telecom, audio... ●P-M. ●802.11 ●300Mbps ●TX: > 400mA ●Standby: 20mA ●100+ kB memory ●Internet... ●P-M
  • 18. 2. COMMUNICATIONS For wireless sensor implementation there are several technologies...
  • 19. 3. WIRELESS SENSORS Sensor, processing and communication units can be packed into a tight, cheap and low power circuit.
  • 20. 3. WIRELESS SENSORS Any sensor can connect to a WPAN and, through it, to any other wireless network, like mobile phones, laptops, PDAs, etc.
  • 21. 4. Sun SPOT Sun Small Programmable Object Technology Java platform for developing applications for wireless sensors
  • 24. 4. Sun SPOT Processor Board • Core CPU: ARM9, 32bit, 400Mhz. • RAM: 1Mb • Flash: 8Mb • Radio: 2.4 Ghz 802.15.4. • USB interface. • 3 serial lines. • 770 mAh L-ion battery. • Deep sleep: 40µA/65µA • Temperature sensor.
  • 25. 4. Sun SPOT Sensor Board • ATmega microcontroller. • 4 digital GPIO. • 4 analog GPIO and ADC. • Tri-color light sensor. • 2/4/8G 3-axis accelerometer. • I2C. • Speaker. • IR receiver & IR transmitter. • 8 RGB LEDs. • 2 switches.
  • 26. 4. Sun SPOT Software • Virtual Marchine – Squawk VM (J2ME CLDC 1.1). – Memory protection (bad code). – Security protection (malicious code). • Programming with... – Java. – Netbeans. – SunSPOT SDK.
  • 27. 4. Sun SPOT Communications • Wireless – 802.15.4 – +250Kbps – ZigBee support – Topologies: adhoc, mesh, cluster tree, star. • Wired – USB
  • 28. 4. Sun SPOT Sqwak VM • Mainly written in Java. • Runs on ARM9 without underlying OS. • Drivers written in Java. • Open Source. • Isolate application model.
  • 29. 4. Sun SPOT Build and deploy flow Javac Java source Squawk suit converter SunSPOT Build
  • 30. 4. Sun SPOT Sqwak split VM
  • 31. 4. Sun SPOT SunSPOT SDK • Squawk Java VM: Desktop and Sun SPOT • Libraries – Java ME CLDC 1.1 libraries – Hardware libraries • SPI, PIO... (drivers written in Java) • Demo sensor board library – Wireless layer libraries – Network layer libraries • 802.15.4 MAC (layer written in Java)
  • 32. 4. Sun SPOT Code spnippet: send broadcast try { dgConnection = (DatagramConnection) Connector.open("radiogram://broadcast:37"); dg = dgConnection.newDatagram(dgConnection.getMaximumLength()); dg.reset(); dg.writeUTF("I rock"); dgConnection.send(dg); } catch (IOException ex) { //Catch code }
  • 33. 4. Sun SPOT Code spnippet: receive broadcast try { dgConnection = (RadiogramConnection) Connector.open("radiogram://:37"); dg = dgConnection.newDatagram(dgConnection.getMaximumLength()); } catch (IOException e) {/*Catch code*/} while(true){ try { dg.reset(); dgConnection.receive(dg); tmp = dg.readUTF(); } catch (IOException e) {/*Catch code*/} }
  • 34. 4. Sun SPOT Code spnippet: sensors reading ILightSensor lightSensor = (ILightSensor) Resources.lookup(ILightSensor.class); min = ((IMeasurementInfo)lightSensor).getMinValue(); max = ((IMeasurementInfo)lightSensor).getMaxValue(); lightLevel = lightSensor.getAverageValue();
  • 35. 4. Sun SPOT Code spnippet: outputs ITriColorLEDArray leds = (ITriColorLEDArray) Resources.lookup(ITriColorLEDArray.class); leds.getLED(0).setOff(); leds.getLED(0).setColor(LEDColor.BLUE); leds.getLED(0).setOn(); leds.getLED(3).setRGB(0, 0, 0); speaker = (IToneGenerator) Resources.lookup(IToneGenerator.class, "speaker"); speaker.startTone(freq); speaker.stopTone();