Top Banner
Sun SPOT Introduction Miloš Solujić
20

Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Jan 04, 2016

Download

Documents

Laura Cameron
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Sun SPOT

Introduction

Miloš Solujić

Page 2: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

OutlineSPOT – beginnings Technical details - hardwareTechnical details - softwareBasestationsSPOT – Pros and ConsExample applicationQuestions

Page 3: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

SPOT – beginnings SPOT stands for Small

Programmable Object Technology

Java is already available on few bilion cellphones – next step is SPOT

Sun Labs launched new platform for playing with sensing on Java ME

It is Java ME – CLDC – MIDP compatible

Page 4: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Technical details - hardware

180 MHz 32 bit ARM920T

512K RAM - 4M Flash2.4 GHz IEEE 802.15.4

radioUSB interfaceExample Board:2G/6G 3-axis

accelerometerTemperature sensor Light sensor

Page 5: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Technical details - hardware

8 tri-color LEDs6 analog inputs2 momentary switches5 general purpose I/O

pins4 high current output

pinsBattery can operate for

few weeks if application is well designed

Page 6: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Technical details - software Squawk – Java virtual machine

written in Java, for SPOT, but not only

Designed for resource constrained systems, like SPOT

Manages power and other features of SPOT transparently for programmer

Isolates – support for multiple independent execution spaces

Aim is to be fittable on 16KB in future

Page 7: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Technical details - software Lots of libraries, with drivers for:

◦The on-board LED◦The PIO, AIC, USART ◦The CC2420 radio chip, IEEE

802.15.4◦The base-station support◦The over-the-air (OTA)◦The radio policy manager◦And so on…

Page 8: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Technical details - software – example code using libraries

String ourAddress = System.getProperty("IEEE_ADDRESS"); IScalarInput lightSensor =

EDemoBoard.getInstance().getLightSensor(); ITriColorLED[] leds =

EDemoBoard.getInstance().getLEDs(); System.out.println("Starting sensor sampler

application on " + ourAddress + " ..."); System.err.println("Caught " + e + " in connection

initialization."); now = System.currentTimeMillis(); // Go to sleep to conserve battery

Utils.sleep(SAMPLE_PERIOD - (System.currentTimeMillis() - now));

Page 9: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Technical details - software

SPOT applications conform to the MIDlet standard

startApp(), pauseApp() and destroyApp()- three methods to be implemented in any on-SPOT application

Page 10: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Basestations

Basestations:• to allow applications running on the Host to interact

with applications running on Targets• may run in either dedicated or shared mode• any Sun SPOT can be used as the basestation• ant startbasestation is needed to start

SPOT attached via USB as basestation

Page 11: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

SPOT – pros and consPros

◦Java enabled◦It is low steep curve of learning for

SPOT◦Good documentation, community◦Simulator

Cons◦Not so small◦Security not on high level◦Some issues working with linux

Page 12: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Example application:Symbiotic NetworksConcept introduced by David

Loftus and Srdjan Krco, Ericsson Ireland

Current status: prototype of system is designed and implemented

It is tested in laboratory conditions

Page 13: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Symbiotic NetworksSystem overview

• Highly decomposable system design, still possible to deploy on single PC

• Proof of concept level of implementation, but good base for design of enterprise-level application

Page 14: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Data Collection Point - DCP

Page 15: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

DCP – Some State Diagram

EVENT REPORTING

Presented main part of work method in DcpReporter

No unnecessary processor working

Good scalability = dozens of sensors on same base station with humble resources

Page 16: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Control Centre - CC

Page 17: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Symbiotic Networks - Screenshots

Page 18: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Symbiotic Networks - Screenshots

Page 19: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Symbiotic Networks - Screenshots

Page 20: Sun SPOT Introduction Miloš Solujić. Outline SPOT – beginnings Technical details - hardware Technical details - software Basestations SPOT – Pros and.

Questions…

Contact:Miloš Solujić, [email protected]