InfoQ

News

Sun SPOTs: Programmable Devices for Java Developers

Posted by R.J. Lorimer on Feb 08, 2008 12:04 AM

Community
Java
Topics
University Programs,
Open Source,
Mobile
Tags
Java ME,
Open Source Project Releases,
Announcements,
Sun Microsystems
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.

4 comments

Reply

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 (http://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.

Exclusive Content

Rationalizing the Presentation Tier

Thin client paradigm characterized by web applications is a kludge that needs to be repudiated. Old compromises are no longer needed and it's time to move the presentation tier to where it belongs.

Agile Project Management: Lessons Learned at Google

In this presentation filmed during QCon 2007, Jeff Sutherland, the creator of Scrum, talks about his visit at Google to do an analysis of Google's first implementation of Scrum.

AtomServer – The Power of Publishing for Data Distribution

In this article, Bryon Jacob and Chris Berry introduce AtomServer, their implementation of a full-fledged Atom Store based on Apache Abdera, which is now available as open source.

An Introduction to Virtualization

It is easy to think that virtualization applies only to servers. In reality the recent resurgence of the concept is also being applied to networking, storage, and application infrastructure.

REST Anti-Patterns

In this article, Stefan Tilkov explains some of the most common anti-patterns found in applications that claim to follow a "RESTful" design and suggests ways to avoid them.

Choosing between Routing and Orchestration in an ESB

In this article, Adrien Louis and Marc Dutoo discuss the differences and relative merits of using orchestration vs. routing in a typical ESB setup, and discuss various implementation options.

Enterprise Batch Processing with Spring

Wayne Lund discusses batch processing, Spring Batch objectives and features, scenarios for usage, Spring Batch architecture, scaling, example code, failures and retrying, and the future roadmap.

User Story Estimation Techniques

Developer Jay Fields draws on his experiences as a ThoughtWorks consultant to describe effective user story estimation techniques.