Sunday Apr 27, 2008

A fellow in Spain has put some Sun SPOTs on his guitar in order to make a more expressive instrument. This is a great idea! Now you're rock star gestures can be captured by the accelerometer on the Sun SPOT and used to change your audio effects. Of course, you might want to combine this with the spots-midi project to convert your gestures into MIDI commands.



Nice job Roman!

You just have to love this one. Sun SPOTs help to make a flying bike. Nice!


http://www.youtube.com/watch?v=k3QK1eu3q3E&fmt=18

Sunday Apr 06, 2008

So we launched our SPOT controlled weather balloon, EDGAR1, yesterday. It was really a lot of fun. Here is my account of the day.

This project was started about two weeks ago by our extraordinary intern, Tennessee Carmel-Veilleux. Working in the evening and on weekends he and other Sun Labs researchers designed and executed a plan to put a Sun SPOT in near space. A weather balloon would carry aloft a payload including radios, GPSs, various sensors and of course a Sun SPOT for control. It should rise into the air some 10 - 15 miles and then gently parachute to safety where we would gather up our gadgets and analyze the data. Sounds like fun!

preflight.jpg

Well, after a couple weeks of hard work, we had a plan. We purchased a helium balloon and fashioned a payload for it. We used the MicroTrak 8000FA for tracking.

Finally, we gathered yesterday morning (April 5) at 7am for our preflight briefing. We checked the weather conditions and chose our final launch location. We picked a deserted looking cul de sac near Hwy 101 and 156 close to San Juan Bautisa, CA. We ran our simulations (using cool tools like W3BalTrak from Near Space Ventrues or the U Wyoming Balloon Trajectory Simulator) and predicted a roughly two hour flight and about a 90 mile trajectory to the south and east. The launch team headed to the launch site while a chase team headed downwind to California's central valley some 200 miles away. A third team headed to a nearby airstrip to be the eyes in the sky.

I was part of the launch team. We headed south to set up. At about 9:15 we discovered that the launch site that we were hoping for was in a gated community, so we found a nice grassy field just off the road about a quarter mile from the planned location and decided to launch there. We packed the electronics in the payload, conducted final tests and started to fill the balloon. We checked in with the chase teams and all was going well. We had to wait a bit for the clouds to burn off to the 50%-or-less that is required for a safe balloon release. Just as the skies cleared enough for the launch, the plane showed up on site and EDGAR1 was launched. It was really a great feeling seeing it head up into the sky. After a few tense moments watching it head a bit to the west toward the ocean, the winds kicked in just as predicted and it headed for the south east and out of site.



Payload.jpg launchcrew.jpg

6ft.jpg Launch.jpg


At this point all we could do we track its amateur radio transponder that was giving us continuous GPS data via a system called APRS. Some of us had ham radios, but for those who didn't, there is a nice website called http://www.findu.com where you can track these signals. We tracked the balloon as long as we could and the tracking airplane was actually able to see it go passed them which is pretty much a miracle when you see how small a spec the balloon is in the big sky.

Some of the launch crew went off to join the chase. I and my family had a social obligation that we had to go to, so we drove back up to the SFBay area. Thank goodness for iPhones that let us continually update the position from the web as we travelled. The chase crew had location information via the ham radio, but they had no course or speed information. We acted as a communication point relaying this predictive information to the chase team. We watched as the balloon climbed through 60,000ft, then 70,000ft. It was working!!!

The flight parameters had been set so that the Sun SPOT would cut the flight at 1h 55min or if it went far enough that it was going to drift into the Sierra mountains. At around 80,000ft, we lost altitude information. Apparently GPS has problems at these high altitudes, although I suspect in this case the GPS has a software imposed reality check... if the altitude says you are over 80,000ft, there must be something wrong! It was rather nerve racking not knowing what was wrong with our data feed. We did however, know that we were reaching the timed conclusion of the flight. At this point the Sun SPOT was supposed to trigger a heated wire that would melt the rope and release the balloon from the payload. The payload would them parachute down.


We waited, but there was no sign that it was descending. It was just chugging along at an unknown altitude. hmmm. Now what? It continued along for a very long 10 minutes at least. There were some pretty tense moments and then... suddenly.... we started to get altitude data agian. It was falling. And just a few miles farther than our predicted location. After a few sighs of relief we concentrated on figuring out where it was to land. It looked like it would be down in another 10+ minutes. The chase crew was able to situate themselves to the area where they thought it would land ahead of its arrival. They never did see it and neither did the chase plane although they had it in had within ten minutes of it touching down. It had a minor bump in the bottom, but was otherwise unharmed.

recovery.jpg

Post Mortem:

200804061300.jpg

The flight was over 100 miles and reached over 80,000ft. I judge any flight that goes that high and ends in recovery of all the equipment is a very successful flight. However, you'll notice that I haven't posted any of the pictures from the onboard camera. That is because there weren't any. In fact the reason the flight went longer than the programmed length is because the balloon was never cut free. Instead it eventually popped because of the low air pressure. We understand that the balloon that was 6 ft in diameter when we launched it was probably about three times that, 18ft, and it must have been close to 90,000ft, when it exploded. We'll be analyzing what caused the failures tomorrow.


In the mean time, I must say this was a LOT of fun and we will do it again.

For more information about how this project went stay tuned to http://groups.google.com/group/spotballoon. We'll be posting more technical details and information there.





Thursday Mar 27, 2008

There are some interesting opportunities now available for those of you interested in playing with Sun SPOTs.

1) The eBalloon is a quick project to get Sun SPOTs to near space using a weather balloon. We expect to launch the weekend of April 5. If you are interested in helping out, or just following along, read more here:

http://blogs.sun.com/spotee/entry/spot_high_altitude_balloon_project

https://www.SunSpotWorld.com/forums/viewtopic.php?p=4659#4659



2) If you are interested in Sun SPOTs and robotics, you should check out the RoboSim contest where contestants program using the Greenfoot environment and a simulated Sun SPOT and Trackbot to navigate a maze. At JavaOne in May, you get to try out your code on a real Sun SPOT and Trackbot.

https://trackbots-greenfoot-contest-2008.dev.java.net/

200803271453.jpg

3) If that isn't enough, you might want to check out the International Autonomous Robot Contest where entrants work with Sun SPOTs and iRobot Creates (Roomba's without vacuums) to handle some fancy tasks navigating a maze or racing other robots to a marker. The contest will be held June 21-22 in Del Mar California. With your paid entrance you get a Sun SPOT development kit AND an iRobot Create for an amazingly low price, but you do have to show up and compete.

http://www.iaroc.org


200803271455.jpg

Thursday Mar 13, 2008

We've been very busy making our Sun SPOT Project open source. Today we announce the final major piece of the project. The main Sun SPOT hardware itself is now available on Java.net. Kudos to the whole team for reaching this milestone!

You can find it at https://spot-espot.dev.java.net/ . At this point all major parts of the Sun SPOT project are open source - hardware, operating system/virtual machine, drivers and libraries, applications, documentation... its all there. It's all part of the project's open source which you can find at https://spots.dev.java.net/. There's a lot of work represented on that web site and we're really pleased that we're able to bring it all to you. Enjoy!

L1010305 L1010306

Sunday Mar 02, 2008

IMG_9728GreySunSpotExploded4Web_2 Open Source hardware is a slightly more complex concept than open source hardware. It still takes more resources to develop hardware than software, but generally open source hardware can significantly reduce the barrier to entry. The subtly comes into play in the varying degrees of openness in hardware. You can release schematics which add to the understanding of a design and encourage new designs. You can also release layouts and bill of materials which enables others to more easily build exactly the same board as well as encourage new designs. With Project Sun SPOT, we have already released eBones, an open source project to encourage new application boards for the Sun SPOT. Now we are releasing several new boards which significantly add to the functionality of the Sun SPOT. There are a grand total of 6 boards included here, and we are including everything - schematics, layout and bill of materials; it's everything you need to build these boards.

The Sun SPOT is designed for flexibility. One of the ways we achieve this is by dividing the system into physical components. The battery provides power. The Processor Board does the heavy lifting. This is where basic functions like Java run and where the radio lives. The application specific hardware lives on the sensor board (which I often call the application board). It is what provides the basic sensing and effecting connections to the outside world. It is these interchangeable application boards that are providing as open source. Lets take a look at what we are making available:

L1010276eDemoBoard - We ship the Sun SPOT with the eDemoBoard which is one of the boards that we making available as open source. It includes a light sensor, temperature sensor, 3D accelerometer, 8 24-bit LEDs, two push buttons, 6 analog inputs, 5 digital I/O lines and 4 digital outputs. We consider it the kitchen sink of application boards. The eDEMO has comprehensive Java classes, preinstalled firmware and many demonstration programs that use this board. This 1.9" x 1.5" board fits inside the plastic case.

L1010268eFlash - eFlash is a stackable add-on board for the Sun SPOT project and is used for data logging. This board uses two of the industry standard MiniSD flash cards. The PC board is 1.9" x 1.5" and fits inside the plastic case. The MiniSD connector on top uses the ARM9's 4bit high speed SD/MMC interface while the bottom MiniSD connector uses the standard SPI connector. The board contains the identification serial Flash memory, 2 MiniSD card connectors, and decode logic.

L1010274eSerial - eSerial is a stackable add-on board for the Sun SPOT project providing a single RS232 connection. The PC board is 1.9" x 1.5" and fits inside the plastic case. The board requires an extension flat ribbon cable to the appropriate DB9 or DB25 connector. The level shifted RS232 connects to UART0 of the ARM9. It contains the identification serial Flash memory, RS232 level shift circuit, and activity LEDs.

L1010270eProto - eProto is a stackable add-on board for the Sun SPOT project for prototyping hardware interfaces to the SunSPOT.

The PC board is 1.9" x 1.5" and fits inside the plastic case. It contains the identification serial Flash memory, SPI address decode, 3V to 5V DC/DC converter and a sea of 0.1" pads for prototyping. The pads closest to the connectors are wired to the interboard connector and SPI chip selects.

L1010272eProtoMega - eProtomega is a stackable add-on board for the Sun SPOT project for prototyping hardware interfaces.

This board is similar to the eProto board with the addition of a Atmega88 processor.
The PC board is 1.9" x 1.5" and fits inside the plastic case. It contains the Atmega88, identification serial Flash memory, SPI address decode, 3V to 5V DC/DC converter and a sea of 0.1" pads for prototyping.

eUSBHost - There is no photo of this one because we haven't built it yet. In fact there is a significant software effort required to support it. eUSBHost is an add-on board for the Sun SPOT project for adding USB hostThe PC board is 1.9" x 1.5" and fits inside the plastic case. It contains the identification serial Flash memory, SPI address decode, optional 3V to 5V DC/DC converter and USB Type A host connector (vertical or horizontal). This unit has is design only, it has not been prototyped.
Open Source! Hardware designers rejoice! Go forth and have fun!

Friday Feb 29, 2008

Today we launch our software only release of the Sun SPOT development kit. We have a complete version of the software development environment that we are making available for download. It's a beta. We haven't completed a few things like the version of the tutorial that uses virtual Sun SPOTs instead of real ones, but all the other tools and examples are there to get you started building your own applications.

I know, I know. The whole point of Sun SPOTs is to push computing further into the real world, so what's the point of a software only release? Here are the top 10 reasons to give it a try:

10 - There's an application I've been thinking about and I want to find out if it will work without having to buy a kit.

9 - I am affiliated with a university but NOT in one of the following countries, so I can't buy a kit yet:
Australia, Austria, Belgium, Bulgaria, Canada, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, India, Ireland, Italy, Japan, Latvia, Lithuania, Luxembourg, Malta, Netherlands, New Zealand, Poland, Portugal, Romania, Russia, Slovakia, Slovenia, South Korea, Spain, Sweden, United Kingdom, United States

8 - I am affiliated with a commercial entity but NOT in United States, the European Union, and Russia, so I can't buy a kit yet.

7 - Sun SPOT Development Kit are too expensive for me

6 - I'm brave and beta releases don't scare me

5 - I'm kind hearted and want to help you stamp out bugs in this beta release

4 - You have stuff to download and I have some free disk space. This will work out great!

3 - I want to explore one of the ten amazing Java applications

2 - I'm a discerning geek, this is a must have gadget

1 - What? Free Sun SPOT Dev Kit, where do I download?

If you are interested email David Simmons at davidgs (at) sun (dot) com. Please put "SDK Beta" in the Subject: line so that he knows what your request is about. You will then be sent a link for the Java WebStart page from where you can start the install. You must be able to run Java WebStart applications for this to work.

One of my colleagues here in Sun Labs, Susan Landau has just won a significant and cool award. Congratulations Susan!

_________________________________________________________________

SUSAN LANDAU

2008 Woman of Vision Award winner for Social Impact
_________________________________________________________________

Susan Landau, Distinguished Engineer, Sun Microsystems Inc., is the Anita Borg Institute 2008 Women of Vision Award winner in the Social Impact category.

Landau’s focus is on the interplay between security and public policy. She has profound impact in at least three areas of computer science: as an extensive commentator and advisor on U.S. wiretapping and encryption policy; as a world renowned expert in computational algebra and number theory (mathematics intimately related to cryptography), and in developing numerous programs to benefit women in computer science. A Sun Microsystems Distinguished Engineer, Landau is a leading scholar in all three areas and publishes widely. Her book, co-authored with Whitfield Diffie, Privacy on the Line: the Politics of Wiretapping and Encryption, attracted immediate international attention and played a significant role in the 2000 loosening of U.S. cryptographic export-control regulations, stimulating the global technology economy and offering protection to consumers in all non-embargoed countries. Her unusual blend of technical expertise, policy insight, industry connections and drive, along with her dedication to the advancement of Women in Computing, make Landau a true Woman of Vision.

More on the 200 Women of Vision Award Winners:
http://anitaborg.org/news/archive/anita-borg-institute-announces-2008-women-of-vision-award-winners/

Wednesday Feb 20, 2008

I love seeing what users are up to with Sun SPOTs. Here are a few of the recent YouTube videos posted by users.

Sun SPOT Surveillance Camera
http://youtube.com/watch?v=yNctQMRjPJY

Sun SPOT powered RC Car
http://youtube.com/watch?v=S9GWoatB9PA

Sun SPOT SunSnakes Game
http://youtube.com/watch?v=qOoqUJmNllY

SOCRADES Project
http://youtube.com/watch?v=K8OtFD6RLMM

Sun SPOT Testing
http://youtube.com/watch?v=FXxyroJwxCU

Tuesday Jan 29, 2008

Last week we announced that we made the Squawk VM open source. This week I'm pleased to announce that the rest of the Sun SPOT project has gone open source. It's now available at http://spots.dev.java.net. Additionally we announced widespread availability of Sun SPOTs (36 countries and counting) as well as deep discounts for education (see your Sun edu sales rep for details). The full press release is available here.

For a researcher it is really rewarding to see your work get to the point where others can use it. We had a little press briefing today and it was a lot of fun. The presentations went off without a well, but much more importantly, I'm really pleased with our story. We are open sourcing a pretty innovative set of technologies with an embedded Java as the OS (Squawk), over-the-air deployment and debugging, built-in multi-hop networking, easy-to-use security, a new class of deployment tool (Solarium), a complete emulator, automatic battery/power management (do for power management what Java already does for memory management), flexible hardware design, eBones open source to make your own HW design easy... All this AND the "Oh-my-god" features like over-the-air live isolate migration, wormholes from the emulated virtual world to the real world, robots that are basically software projects... And then the community story, from monitoring dogs to mobile data centers to saving the rainforest with dev kits available in 36 countries.

This is a Labs project right?
So how much was all that again? Free? Dude!!
http://www.sunspotworld.com

Thursday Jan 24, 2008

Yesterday at the Java ME developer days we announced that we have made the Squawk JVM open source.
For those of you keeping track, this is the JVM used in Sun SPOTs.

Eric Arseneau, PI of the project will be giving a talk today at 2pm PT at the JME Dev Days conference. It will be streamed live at http://ustream.tv/sun.

The code and more info are available at https://squawk.dev.java.net/

Wednesday Jan 23, 2008

Today in Santa Clara is Java Mobile and Embedded Days. It seems basically like a two day party for Java developers interested in mobile devices. There will be a series of talks as well as opportunities to get together with other developers.

For Sun SPOT and sensor related talks, tune in at 1pm PT today (Wed, Jan 23) for some talks about Sun SPOTs from myself and others as well as 2pm tomorrow for a talk about Squawk, the Java Virtual Machine that is used in Sun SPOTs.

If you are interested, but unable to attend in person, you might be interested in the live video feed at http://www.ustream.tv/sun.

Saturday Dec 01, 2007

Yesterday we had a little fun with Dan Ingalls "Friday project" He strapped some leaf blowers to a bicycle and we rode it around the parking lot. Good fun all around.

During the summer we had tried this once before and found that two leaf blowers just weren't enough.

Tuesday Nov 27, 2007

Wow, this is fun. Sun SPOTs have been named one of InfoWorld's "must-have gadgets for the discerning geek."

InforWorld Link: Must-have Gadgets

Friday Oct 26, 2007

My entries in this blog have been focusing quite a bit on Sun SPOTs, but that is only one project here in Sun Labs. I plan to discuss some other projects that you all should know about in the near future. In the mean time, for those of you who are curious about what we do in Sun Labs, there is a new web page here that does a nice job of capturing what we are up to, or you can take the virtual tour. Enjoy...

This blog copyright 2008 by roger