Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News Sun SPOTs: Programmable Devices for Java Developers

Sun SPOTs: Programmable Devices for Java Developers

This item in japanese

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 homepage.

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • Interesting device and ridiculous pricing

    by James Imber,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    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 !

  • Re: Interesting device and ridiculous pricing

    by Clinton Begin,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    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.

  • Re: Interesting device and ridiculous pricing

    by Andrew Rapp,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    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 ( 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.

  • Re: Interesting device and ridiculous pricing

    by David Simmons,

    Your message is awaiting moderation. Thank you for participating in the discussion.

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

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p