Sun SPOT has many built-in devices, such as LEDs, light sensor, switches, accelerometer and GPIO (general purposes digital I/O) on its eDemo Board and also serves as an IEEE 802.15.4 wireless network node. You can write your programs using these devices as inputs (sensors & switches) and outputs (LEDs) as well as sensor networks with (your favorite!) Java language. It's because Sun SPOT platform has a main processor running the Java VM "Squawk".
I'm planning to write complete details for Sun SPOT on later posts, but here it's enough to go further to know that Sun SPOT has 3D accelerometer, digital I/O pins from/to external devices and IEEE 802.15.4 wireless network capability.
iRobot Create has driving motors and sound devices in addition to LEDs and digital I/O pins. So, now you can imagine how these two can be combined together.
- This demo uses one iRobot and two Sun SPOTs.
- One Sun SPOT (we call it "sender SPOT") works as a remote controller (you know Wii?) and measures 3D gravity accelerations with its accelerometer.
- Then, the sender SPOT tells these values to the other Sun SPOT (we call it "receiver SPOT") via wireless connection.
- The receiver SPOT receives these values via wireless connection and calculates which direction & how fast iRobot Create should move.
- Then, the receiver SPOT tells its calculation to iRobot Create via serial connection. This interface is called OI (Open Interface).
- iRobot Create moves around dynamically .
2 comments:
hi there, i'm interested in ur project about the sun spot and the irobot. could you please post something about how to wire up then and some code i can try? thx alot.or maybe we can contact by email
my email is : wayne_cen1985@hotmail.com
Post a Comment