Sunspot

21
Campus Ambassador Demos @ University of Melbourne Venue: Always ICT Theater 2 28 Feb 11:30~12:30 SunSPOT: Small, Programmable Object Technology 21 Mar 11:30~12:30 Java desktop applications with Netbeans 6.0 10 Apr 13:15~14:15 Building Mobile Games Visually Using Netbeans 6.0 24 Apr 13:15~14:15 Netbeans 6.0 Visual Web & AJAX 8 May 13:14~14:15 Solaris ZFS: The Best Filesystem on the Planet Soft drink and Pizza will be provided. (YES – FOOD!) Attendee will automatically enter an IPOD draw. RSVP [email protected] Today!

Transcript of Sunspot

Page 1: Sunspot

Campus Ambassador Demos @ University of Melbourne

Venue: Always ICT Theater 2

28 Feb 11:30~12:30 SunSPOT: Small, Programmable Object Technology

21 Mar 11:30~12:30 Java desktop applications with Netbeans 6.0

10 Apr 13:15~14:15 Building Mobile Games Visually Using Netbeans 6.0

24 Apr 13:15~14:15 Netbeans 6.0 Visual Web & AJAX

8 May 13:14~14:15 Solaris ZFS: The Best Filesystem on the Planet

Soft drink and Pizza will be provided. (YES – FOOD!) Attendee will automatically enter an IPOD draw.

RSVP [email protected] Today!

Page 2: Sunspot

ATTENTION STUDENTS & DEVELOPERS:

Don't miss the opportunity to come learn what's new and cool in software.

Tuesday, March 4th, 2008Melbourne & Olympic Park (MOPT)

Park Function CentreEnter via Entrance D via Olympic Boulevard

(formerly known as Swan Street)Batman Avenue

WHY ATTEND THIS FREE EVENT?> LEARN THE LATEST IN WEB SCRIPTING> LEARN HOW TO PARTICIPATE IN OPEN SOURCE COMMUNITIES> LEARN WHAT'S NEW IN MOBILE JAVA DEVELOPMENT

> LEARN HOW TO GET PAID A 14% HIGHER STARTING SALARY THROUGH SUN CERTIFICATION> LEARN HOW TO GET A J0B @ SUN

Learn more and register (walk-ins welcome) for this FREE event by visiting: http://au.sun.com/sunnews/events

Refer 3 friends to register for Sun Tech Days 2008 for the chance to win an Apple Ipod Nano 4GB

James GoslingCreator of Java

Sun University World Tour@ Tech Days

WIN an Ipod Touch!Get free t-shirts and

software!Build your resume: Get Sun Certified!

Page 3: Sunspot

Small Programmable Object Technology (Sun SPOT)

Zhiqi Tao Peng Deng

Page 4: Sunspot

The Squawk Java VM

What is Sun SPOT?

Agenda

Sun SPOT Resources

Sun SPOT Demo

Q & A

Page 5: Sunspot

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

Page 6: Sunspot

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.

Page 7: Sunspot

Sun SPOT

• 3-axis accelerometer• Temperature sensor• Light sensor• LEDs• Analog inputs• Switches• General purpose I/O

Embedded sensorsEmbedded sensors

2.4 GHz IEEE 802.15.4 radiowith integrated antenna

RadioRadio

512K RAM/4M FlashMemoryMemory

180 MHz 32 bit ARM920TCPUCPU

32 uADeep sleepDeep sleep

720 mAh lithium-ion battery (7 hours)Battery capacityBattery capacity

Sun SPOTPlatformPlatform

NetBeansIDEIDE

JavaProgramming LanguageProgramming Language

Sun Java Squawk VMFrameworkFramework

Page 8: Sunspot

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.

• Open Source Now!> https://spots.dev.java.net/

Page 9: Sunspot

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

Page 10: Sunspot

Sun SPOT Build and Deploy Flow

Java SourceFile

Javac Sun

SPOT Build

Squawk Suit Converter

*.java

*.class *.suite

*.bin

Page 11: Sunspot

The Squawk virtual machine

Page 12: Sunspot

Bouncing Ball

demo

Page 13: Sunspot

AirText demo

Page 14: Sunspot

SPOT GamePad

demo

Page 15: Sunspot

SPOT Sensing

demo

Page 16: Sunspot

Create more applications with Sun SPOT

Page 17: Sunspot

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!

Page 18: Sunspot

Fast Track Your Career with Sun!

• Get FREE Web-based training on JavaTM, SolarisTM & more!

> Visit: http://www.sunacademic.com

> Course registration code for University of Melbourne University is CUS-0000096306

• 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

• Discounted exams fees for academic developers – only US$60 (US$40 in APAC and Latin America)

Page 19: Sunspot

THANK YOU!

Project Sun SPOThttp://www.sunspotworld.com

Zhiqi TaoSun Campus [email protected]://blogs.sun.com/tao/

Page 20: Sunspot

S un S POT Ha r dwa r e

Antenna

2.4 GHz IEEE 802.15.4 Radio Module

180 MHz 32 bit ARM920T core

512K RAM4M Flash

Daughter board connector

Power Switch

USB interface with mini-B connector

[7] [11]

Page 21: Sunspot

S un S POT Ha r dwa r e8 3-colors LEDs Push Buttons

Light Sensor 3-D Accelerometer

Analog in 4-5

Push ButtonsReplicated here

"High" current output 0-3 Digital I/O 4

Digital I/O 0-3 Analog in 0-3

Temperature sensor andA/D Converter

[7] [11]