Switch the power switch towards the left to enable power from USB. Switch the power switch towards the right to enable power from the AC adaptor or battery pack. The AC adaptor should output 5V DC. The battery pack may be soldered on by attaching VCC and GND to the proper terminals as shown in the picture above.
Optimal focus is usually achieved by tightening the lens completely, then loosening it by 1 1/4 turns. However every lens is different and this is just a general guideline.
Once the power switch has been properly set, the board is turned on by pressing the power button. The board is turned off by switching the power switch to the other position.
Installation of the driver is only necessary in Windows.
We can connect to the cameraboard using a terminal emulator program, such as Hyperterminal (Windows) and Minicom (Linux). The modem settings should be set as follows:
baud rate | 115200 |
data bits | 8 |
parity | none |
stop bits | 1 |
flow control | none |
Once the cameraboard is connected and powered on, it can be accessed through a COM# port in Windows (the COM port number # can be determined by looking at Control Panel->System->Hardware->Device Manager->Ports), and through /dev/ttyUSB# in Linux (where # is a number assigned to the board, usually 0 if there are no other boards or motes connected).
The provided root filesystem boots to a bash prompt and starts in the /tmp directory, which is the only writable directory in the filesystem. All user applications must be uploaded here, and all user generated files must be written here. The most common and useful commands in this environment are:
Telosb motes running TinyOS are used in the CITRIC platform. There are 2 TinyOS applications provided, citric_base and citric_mote, found in the tos/apps/citric directory. The basestation running the citric_base app must be configured with a mote id of 0. The motes running citric_mote must be configured with a mote id from 1-254.
The FTSP time sync mote is located in tos/apps/citric/citric_mote_ftsp. The motes will automatically sync their times initially upon bootup, indicated with a flashing green LED. The time sync process must be stopped before it can be used with CITRIC. This can be done by pressing the user button on the basestation. Once the time sync process has been stopped, the blue LED of each mote should be on, at which point the mote is ready to function as normal.
The camera board has a 10-pin header which connects directly to the 10-pin header the mote when attached from above. However, the two I2C pins must not be connected - their locations can be seen in the figures above. Once connected, the mote will draw power from the camera board, so the mote should not be connected to any power source (USB or battery).
See the demo application page for more details.
The server is a Visual Studio app, located in the server/BIN/C-Server2 directory. Pleas read the readme in server/HSN for more documentation about the server.