Next:
Contents
Contents
Cricket v2 User Manual
Cricket Project
MIT Computer Science and Artificial Intelligence Lab
July 2004
Cambridge, MA 02139
Contents
List of Figures
Introduction
System Overview
Quick start
Set up a communication terminal
Communicate with the Cricket unit
Configure a Cricket unit to be a beacon
Test distance measurements
Installing the Cricket embedded software image
With TinyOS
Without TinyOS
Overview of this manual
Command Interface and Troubleshooting
Cricket Hardware Details
Diagnostic LEDs
Test Switch
Powering Crickets
Serial Port Command Interface
cricketd
Compiling
cricketd
Running
cricketd
:
Connecting, Sending, and Receiving Messages
Cricket Command Interface
Error Codes
Default values
Run mode command (MD)
Configuration status command (CF)
Get serial ID (ID)
Get/Put space ID (SP)
Get software version (VR)
Distance to beacon (DB)
Duration (DR)
The uncorrected time of flight (TM)
Get/Put coordinates command (PC)
Get/Put the minimum and maximum beacon interval time (SL)
Get/Put the ultrasound maximum time-of-flight (UL)
Get/Put the software offset (OF)
Get system time (TS)
Get/Put temperature sensors (TP)
Test switch status (TB)
Get/Put display units (UN)
Get the beacon listing (LS)
Save settings to flash (SV)
Load settings from flash (LD)
Get/Put Output format (OU)
Customize output format (CO)
Troubleshooting and Deployment Hints
Problem: The listener or the beacon does not respond to any command
Problem: The listener does not report any events
Problem: The listener returns erroneous distances
Problem: The beacon blinks but does not respond to serial commands
Problem: The listener associates itself with the ``wrong'' space identifier
Sample Application
Setup
Source Code
Beacon Placement
Setting Parameters
Launching and Running
BeaconConfigDemo
Launching
cricketd
Launching
BeaconConfigDemo
Running
BeaconConfigDemo
Phase 1: Configuring the Beacon Coordinate System
Phase 2: Tracking/Drawing Mode
Running the
BeaconConfigDemo
Remote User Interface
Simulation Mode
Troubleshooting
Developing Cricket Applications in Java
Requirements
Architecture
Compiling Clientlib
Clientlib API
The
cricketdaemon.clientlib.ServerBroker
Class
The
cricketdaemon.clientlib.Callback
Class
The
cricketdaemon.clientlib.data.CricketData
Class
The
cricketdaemon.clientlib.data.BeaconRecord
Class
The
cricketdaemon.clientlib.data.DistanceStat
Class
The
cricketdaemon.clientlib.data.Position
Class
The
cricketdaemon.clientlib.data.Sample
Class
Using Clientlib: An Example
Source Code
Compiling ClientlibExample
Running ClientlibExample
Bibliography
About this document ...
Michel Goraczko 2004-12-02