InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Sun SPOTs: Programmable Devices for Java Developers

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

Sections
Operations & Infrastructure,
Process & Practices,
Development,
Architecture & Design
Topics
Mobile ,
Open Source ,
University Programs ,
Java
Tags
Announcements ,
Java ME ,
Open Source Project Releases ,
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.

Related Sponsor

In today’s hyper-competitive world, later may be too late to adopt Agile development and this Roadmap for Success will help you get started. Download "Agile Development: A Manager's Roadmap for Success" now!

Interesting device and ridiculous pricing by James Imber Posted
Re: Interesting device and ridiculous pricing by Clinton Begin Posted
Re: Interesting device and ridiculous pricing by David Simmons Posted
Re: Interesting device and ridiculous pricing by Andrew Rapp Posted
  1. Back to top

    Interesting device and ridiculous pricing

    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

    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

    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

    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

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.

Beauty Is in the Eye of the Beholder

Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.

Architecting Visa for Massive Scale and Continuous Innovation

John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.

Max Protect: Scalability and Caching at ESPN.com

Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.

The Seven Deadly Sins of Enterprise Agile Adoption

Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.

Questions for an Enterprise Architect

Erik Dörnenburg answers: What is Enterprise and Evolutionary Architecture?, discussing 4 issues: Turning strategy into execution, Ensuring conformance, Where do the architects sit? Buying or building?