|
Sun SPOT Quick Start Tutorial
A Short Tour of a Sun SPOTHow to Open a Sun SPOTBefore we run anything on the Sun SPOT, let's take a look at one of them. You should have three Sun SPOTs. One is a basestation and two are free-range Sun SPOTs. Pick up one of the free-range Sun SPOTs. There is a lid on the Sun SPOT, sometimes called a Sun roof. You will need to take the lid off to get at some of the switches and LEDs. To open the lid, press firmly on the lid, down and back, on the edge of the lid near the small raised dot. You can think of that small-raised dot as the fingernail-catching dot. The closer to the edge that you press, the easier the lid will open. See the illustrations below: The opposite end of the lid will pop up. Grasp that opposite end to remove the Sun SPOT lid. Now that you have opened it, you can see the LEDs and switches on the sensor board. These are under Java program control, so they will act differently, depending on the application that is running. That fin at the top of the SPOT is the radio fin housing the antenna for the wireless communication. If you tilt the SPOT so that the fin is away from you, you will see the Control Button. The Control Button is used to reset the SPOT, to put it to sleep, and to wake it up. If the SPOT is asleep, clicking once, briefly - just a tap - on the Control Button will wake the SPOT up. You may have to press hard, but you don't have to press long. If the SPOT is awake, clicking once on the Control Button will reset the SPOT and restart whatever program it was running. Pressing the Control Button down and holding it down for five seconds will put the SPOT to sleep. Let's try it out:
That's it! You have mastered the SPOT Control Button. NOTE: If the free-range Sun SPOT does not boot, if the LED to the right doesn't flicker when you tap the Control Button, the Sun SPOT probably needs to charge its battery. To charge a Sun SPOT battery, attach the SPOT, using the supplied USB cable, to the USB port on a working computer. The USB power will fully charge the Sun SPOT in approximately three hours. Here is a little more detail on the LEDs that are on either side of the SPOT Control Button. Those LEDs can be controlled by Java programs on the SPOT, but in ordinary circumstances, they are controlled by the operating environment on the SPOT. The LED on the left will tell you about the power status on the SPOT. Here are its most important signals:
The LED on the right is under application control. If that behavior is not changed, the system programs will use it to tell you about the communication status of the SPOT. Here are its most important signals.
You've taken the basic tour of the Sun SPOT. Now we'd like you to try some demos. |
||||||||||||||||||||||||||||||||||||||||