InfoQ

News

Sun SPOTs: Programmable Devices for Java Developers

Posted by R.J. Lorimer on Feb 08, 2008

Community
Java
Topics
Mobile ,
Open Source ,
University Programs
Tags
Sun Microsystems ,
Open Source Project Releases ,
Announcements ,
Java ME
On January 29th, Sun Microsystems released their Sun SPOT platform under the open-source GPL v2 license. Sun SPOTs are general purpose programmable devices built and controlled largely with Java technology. From the Sun SPOT website:

The Sun SPOT Device is a small, wireless, battery powered experimental platform. It is programmed almost entirely in Java to allow regular programmers to create projects that used to require specialized embedded system development skills. The hardware platform includes a range of built-in sensors as well as the ability to easily interface to external devices.

In addition to the transition of the platform to open-source, Sun is also now offering discounts for educational institutions for individual and bulk purchases:

"We created this technology to inspire students and educators to develop new, creative and useful applicationsit's the core of Sun's vision for Project Sun SPOT," said Roger Meike, research director at Sun Microsystems Laboratories. "Our decision to open source Sun SPOTs under a GPL V2 license reflects our commitment to support our growing community of developers, and our new pricing will enable educational institutions to bring this technology to students worldwide. Innovation happens everywhere and Sun is excited to be delivering new tools and technologies that will both inspire and facilitate development within new communities."

Sun SPOT technology is being adapted by the community for a number of purposes. Bruce Hopkins has written a Sun Mobility Tech Tip on utilizing Sun SPOTs for ultra-low bandwidth communication:

In the U.S. Department of Defense as well as in commercial industries, there are several applications that need wireless communication at low data rates (and consequently with low power consumption). For instance, most modern vehicles now contain tire pressure monitoring systems.

Have you ever wondered how the tire pressure sensor data is sent from each of the tires to the vehicle’s internal embedded computing system, and ultimately to the dashboard? Obviously, there are no wires to connect the sensors in the tires to the data bus in the dashboard. So, as you can imagine, there must be some mechanism available in order to retrieve the sensor data from the tire pressure sensors. Additionally, such a mechanism must be wireless and be able to operate for a very long time without interruption.

Terrance Barr also recently presented a number of video examples of individuals utilizing Sun SPOT technology in a variety of ways including:
  • Reading and presenting RSS feeds wirelessly.
  • Processing telemetry.
  • Sensing orientation.
  • Processing radio-wave signals.
  • Emulating the controller for a Nintendo Wii.
Sun SPOT devices are powered by the Squawk virtual machine which was written in part to be able to operate on resource-constrained devices such as the Sun SPOT:
Squawk is an open source virtual machine for the Java language that examines better ways of building virtual machines.  Most commercial virtual machines are written in low level languages such as C and assembler.  We believe that virtual machines can be simplified by writing them in a higher level language, and further simplified by implementing the VM in the language that the VM is implementing.
For information about obtaining Sun SPOT devices visit the Sun SPOT products page or read further about the educational discounts. For more information on the Squawk virtual machine, visit the Java.net homepage.
Interesting device and ridiculous pricing by James Imber Posted Feb 8, 2008 10:57 AM
Re: Interesting device and ridiculous pricing by Clinton Begin Posted Feb 8, 2008 4:36 PM
Re: Interesting device and ridiculous pricing by David Simmons Posted Feb 13, 2008 9:00 AM
Re: Interesting device and ridiculous pricing by Andrew Rapp Posted Feb 8, 2008 4:41 PM
  1. Back to top

    Interesting device and ridiculous pricing

    Feb 8, 2008 10:57 AM by James Imber

    I think that these devices are really interesting ... but it is ridiculously expensive!

    In addition the price in euro is a lot higher that the price in USD. Someone at Sun hasn't checked recently how much the euro is worth...


    Prices: US$550.00 or €627.00 plus applicable tax and shipping.

    €627.00 == US$909.09 (at 1 US$ = 0.6897 €)

    It is 65% more expensive to buy a spot in Europe than in the US (and it doesn't includes shipping and TAXES).
    R I D I C U L O U S !

  2. Back to top

    Re: Interesting device and ridiculous pricing

    Feb 8, 2008 4:36 PM by Clinton Begin

    I agree James...

    What the hell are they thinking with that pricing? Even $550 is a lot to ask for that. That must be about a 1000% markup on the materials. We shouldn't be surprised though. It's typical of Sun to shoot themselves in the foot out of the gate. If Sun was a sprinter, the starting gun would be loaded with real bullets and pointed right at they're sneakers.

  3. Back to top

    Re: Interesting device and ridiculous pricing

    Feb 8, 2008 4:41 PM by Andrew Rapp

    I agree these are a bit pricey and I'm hoping the price comes down eventually. For more reasonably priced embedded hardware I recommend taking a look at Arduino (www.arduino.cc/). They don't run Java but they're cheap ($35), open source, very capable and have a strong community. Also, you can wireless enable them with XBee for around $35 more.

  4. Back to top

    Re: Interesting device and ridiculous pricing

    Feb 13, 2008 9:00 AM by David Simmons

    I could respond in a variety of way here, but instead I have posted a detailed response on my blog.

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.