advertisement

Sun SPOT

100 %
0 %
advertisement
Information about Sun SPOT

Published on April 25, 2008

Author: alpercelk

Source: slideshare.net

Description

Sun SPOT presentation at KTH/Stockholm by Sun Campus Ambassadors.
www.sunkth.wordpress.com
advertisement

Sun Small Programmable Object Technology (Sun SPOT) Gokhan DOGAN & Alper CELIK Sun Campus Ambassadors to KTH [email_address] [email_address]

Gokhan DOGAN & Alper CELIK

The Squawk Java VM What is Sun SPOT? Agenda Java on Sun SPOT What To Do/Where To Go Sun SPOT Demo

The Squawk Java VM

What is Sun SPOT?

Java on Sun SPOT

What To Do/Where To Go

Sun SPOT Demo

Introduction: What is Sun SPOT? Java on small devices Sun has licensed Java on over 1.5 billion cell phones Programming the world with Java

Java on small devices

Sun has licensed Java on over 1.5 billion cell phones

Programming the world with Java

What is Sun SPOT? A Java platform for developing applications for wireless networks and small devices Applications such as: Robotics Art Toys Personal electronics Commercial Applications Telemetries

A Java platform for developing applications for wireless networks and small devices

Applications such as:

Robotics

Art

Toys

Personal electronics

Commercial Applications

Telemetries

Sun SPOT Device Basic device has three layers Battery Processor Board with Wireless Communication Sensor Board (add-on card) Processor Board alone acts as a base-station User programs the device entirely in Java using Netbeans.

Basic device has three layers

Battery

Processor Board with Wireless Communication

Sensor Board (add-on card)

Processor Board alone acts as a base-station

User programs the device entirely in Java using Netbeans.

Sun SPOT Hardware Processor Board 180 Mhz 32-bit ARM920T core, 512K RAM, 4M Flash 2.4 Ghz 802.15.4 radio with integrated antenna USB interface Sensor board 2G/6G 3-axis accelerometer light and temperature sensors 8 3-color LEDS, 2 momentary switches, 6 analog inputs, 5 GPIO pins and 4 high current output pins and a ADC.

Processor Board

180 Mhz 32-bit ARM920T core, 512K RAM, 4M Flash

2.4 Ghz 802.15.4 radio with integrated antenna

USB interface

Sensor board

2G/6G 3-axis accelerometer

light and temperature sensors

8 3-color LEDS, 2 momentary switches, 6 analog inputs, 5 GPIO pins and 4 high current output pins and a ADC.

Why Sun SPOT? Need for higher level programming language With good development tools and IDEs. eg. Netbeans. higher level proramming language Java vs. C Separate developer from low level hardware Focus on application functionality and features.

Need for higher level programming language

With good development tools and IDEs. eg. Netbeans.

higher level proramming language

Java vs. C

Separate developer from low level hardware

Focus on application functionality and features.

Why Sun SPOT? Abstraction of low level details through VM Protection of hardware by VM Memory protection from bad code Security protection from malicious code 802.15.4 wireless communication upto 250Kbps, ZigBee support adhoc, mesh, cluster tee and star topologies. A simple device with sensors and wireless operates at low power

Abstraction of low level details through VM

Protection of hardware by VM

Memory protection from bad code

Security protection from malicious code

802.15.4 wireless communication

upto 250Kbps, ZigBee support

adhoc, mesh, cluster tee and star topologies.

A simple device with sensors and wireless operates at low power

The Squawk Java VM What is Sun SPOT? Java on Sun SPOT What To Do/Where To Go Sun SPOT Demo

The Squawk Java VM

What is Sun SPOT?

Java on Sun SPOT

What To Do/Where To Go

Sun SPOT Demo

Sun SPOT Build and Deploy Flow *.java *.class *.suite *.bin

The Squawk Java VM Host (Desktop) Device (SunSPOT)

The Squawk Java VM What is Sun SPOT? Agenda Java on Sun SPOT What To Do/Where To Go Sun SPOT Demo

The Squawk Java VM

What is Sun SPOT?

Java on Sun SPOT

What To Do/Where To Go

Sun SPOT Demo

Sun SPOT Software Development Kit Squawk Java VM: Desktop and Sun SPOT Libraries Java ME CLDC 1.1 libraries Hardware libraries SPI, AIC, TC, PIO drivers all written in the Java programming language Demo sensor board library Wireless layer libraries Network layer libraries 802.15.4 MAC layer written in Java Desktop libraries

Squawk Java VM: Desktop and Sun SPOT

Libraries

Java ME CLDC 1.1 libraries

Hardware libraries

SPI, AIC, TC, PIO drivers all written in the Java programming language

Demo sensor board library

Wireless layer libraries

Network layer libraries

802.15.4 MAC layer written in Java

Desktop libraries

Sun SPOT Radio Communication Example: A Java Snippet for Sending try { // Broadcast a message on port 52 DatagramConnection conn = (DatagramConnection) Connector.open(“radiogram://broadcast:52”); Datagram packet = conn.newDatagram(conn.getMaximumLength()); packet.writeInt(someValue); conn.send(packet); } catch (IOException ioe) { /* Handler */ }

Sun SPOT Radio Communication Example: A Java Snippet for Receiving try { // Listen on port 52 DatagramConnection conn = (DatagramConnection) Connector.open(“radiogram://:52”); Datagram packet = (Radiogram) listenerConn.newDatagram(0); conn.receive(packet); //get the address of the sending SPOT String address= packet.getAddress(); int rssi = packet.getRssi(); //get signal strength } catch (IOException ioe) { /* Handler */ }

Sun SPOT Sensor Code Snippet RangeInput light = SensorBoard.getLightSensor(); RangeInput temp = SensorBoard.getTemperatureSensor(); ISwitch switch1 = SensorBoard.getSwitch1(); Accelerometer3D accel = SensorBoard.getAccelerometer(); // Set accelerometer to 6G scalling ( (LIS3L02AQAccelerometer) accel).set6GSScale(); SensorBoardColouredLED led1 = SensorBoardColouredLED.getLed1(); led1.setOn(); // Change LED colour as SPOT is tilted int xAccel = accel.getX().getValue(); if(xAccel > 0) led1.setRGB(xAccel, 0, 0); else led1.setRGB(0, 0, xAccel);

The Squawk Java VM What is Sun SPOT? Agenda Java on Sun SPOT What To Do/Where To Go Sun SPOT Demo

The Squawk Java VM

What is Sun SPOT?

Java on Sun SPOT

What To Do/Where To Go

Sun SPOT Demo

demo

The Squawk Java VM What is Sun SPOT? Agenda Java on Sun SPOT What To Do/Where To Go Sun SPOT Demo

The Squawk Java VM

What is Sun SPOT?

Java on Sun SPOT

What To Do/Where To Go

Sun SPOT Demo

Visit http://www.sunspotworld.com/ submit a proposal for classroom curriculum using Sun SPOTS obtain a Sun SPOT development kit Watch some cool Sun SPOT video demos Participate in Sun SPOT forum Create something cool!

submit a proposal for classroom curriculum using Sun SPOTS

obtain a Sun SPOT development kit

Watch some cool Sun SPOT video demos

Participate in Sun SPOT forum

Create something cool!

Sun SPOT Resources Project Sun SPOT http://www.sunspotworld.com/ Sun SPOT documents and applications notes Short Video demos Classroom Curriculum Discussion Forum David's Blog: http://blogs.sun.com/davidgs/ Latest news, other informal information on Sun SPOT The Squawk Project http://research.sun.com/projects/squawk/ Sun Microsystems official Squawk research project page NetBeans IDE Free download software development tool for Sun SPOT.

Project Sun SPOT http://www.sunspotworld.com/

Sun SPOT documents and applications notes

Short Video demos

Classroom Curriculum

Discussion Forum

David's Blog: http://blogs.sun.com/davidgs/

Latest news, other informal information on Sun SPOT

The Squawk Project http://research.sun.com/projects/squawk/

Sun Microsystems official Squawk research project page

NetBeans IDE

Free download software development tool for Sun SPOT.

Fast Track Your Career with Sun! Get FREE Web-based training on Java TM , Solaris TM & more! Visit: http://www.sunacademic.com Course registration code for ABC University is XYZ Increase earnings potential with a Sun Certification! Sun Certified Associate/Programmer for the Java 2 Platform SE Sun Certified Web Component Developer for Java EE Sun Certified Mobile Application Developer for Java ME Sun Certified System/Network Admin for Solaris Operating System Free practice exams For Free Vouchers Please visit our web page ( www.sunkth.wordpress.com )

Get FREE Web-based training on Java TM , Solaris TM & more!

Visit: http://www.sunacademic.com

Course registration code for ABC University is XYZ

Increase earnings potential with a Sun Certification!

Sun Certified Associate/Programmer for the Java 2 Platform SE

Sun Certified Web Component Developer for Java EE

Sun Certified Mobile Application Developer for Java ME

Sun Certified System/Network Admin for Solaris Operating System

Free practice exams

For Free Vouchers Please visit our web page ( www.sunkth.wordpress.com )

THANK YOU! Project Sun SPOT http://www.sunspotworld.com www.sunkth.wordpress.com Gokhan DOGAN & Alper CELIK Sun Campus Ambassadors to KTH [email_address] [email_address]

Gokhan DOGAN & Alper CELIK

Sun Campus Ambassadors to KTH

[email_address]

[email_address]

Add a comment

Related pages

Sunspot - Wikipedia, the free encyclopedia

Sunspot activity cycles about every eleven years. The point of highest sunspot activity during a cycle is known as solar maximum, and the point of lowest ...
Read more

Sun SPOT - Wikipedia, the free encyclopedia

Sun SPOT (Sun Small Programmable Object Technology) was a sensor node for a wireless sensor network developed by Sun Microsystems announced in 2007.
Read more

The Sunspot Cycle - NASA/Marshall Solar Physics

The Sunspot Cycle (Updated 2016/01/12) Please note: Dr. David Hathaway, a member of the MSFC solar physics group for 29 years, has transferred ...
Read more

Sunspot Sonnenstudio

Genießen Sie wohldosierte Sonne, wann immer Sie mögen. - Sunspot Sonnenstudio
Read more

Sunspot

SunSpot. Making good use of the Sun. Solar Cookers: Models, Plans & Precautions. Case Study of Solar Stoves Made and Used in the Peruvian Andes For the ...
Read more

Sun Spot - Microsoft Store

Sun Spot Brad Segal, Sun Spot. 2007 • 1 Musiktitel • Blues / Folk / Country • Folk • Brad Segal/Sun Spot. Album kaufen 7,99 € ...
Read more

Suchergebnis auf Amazon.de für: Sun Spot

Produktbeschreibungen... DRAGON SUN-SPOT ist ein Basking-Spot für Wärme und angenehmes warmes ...
Read more

Sunspots - Solar and Heliospheric Observatory Homepage

30 May 2016 - Mission Day: 7486 - DOY: 151. About us home: about: gallery: data/archive: operations: publications
Read more

Sunspot | Film & Video Produktion

05.03.2016 / Oper Graz / 19;30 Kamera: Josef Krainer Kameraassistenz: Philipp Putz Regie: Franz Zoglauer . Ausstrahlung am 13.03.2016 / 06:35 auf ATV II
Read more

Sun - Spot

Hier finden Sie Informationen zu den folgenden Themen: Weiter zur Startseite. Sun - Spot. Hier finden Sie Informationen zu den folgenden Themen: Weiter zur ...
Read more