40
Atmel AVR2052
8200M-AVR-11/11
10.4 Running WSNDemo
10.4.1 Starting WSNDemo
To start WSNDemo, do the following:
1. Set up the hardware, as described in Section
2. Install the Atmel BitCloud SDK, as described in Section
3. Program one device with the coordinator image file and the other with either the
router or end device images, as described in Section
4. Connect the coordinator node to the PC using the serial interface.
5. Power on the coordinator node.
6. Run WSNMonitor (see Section
).
7. Power on and reset the rest of the nodes.
10.4.2 Monitoring WSNDemo activity
Network activity can be monitored in two ways:
•
Observing LEDs on the development boards, as described in
. The
LEDx label corresponds to the EVK1105 board.
•
Monitoring network topology information through WSNMonitor installed on a PC
Table 10-5.
LED indication for WSNDemo on an Atmel EVK1105 board.
Node state
LED0
LED1
LED2
Searching for network
Blinking
OFF
OFF
Joined to network
ON
+ receiving data
Blinking
+ sending data to UART
(coordinator only)
Blinking
Sleeping (end device only)
OFF
OFF
OFF
10.5 Reserved hardware resources
Table 10-6.
Hardware resources used by the stack on an Atmel AT32UC3A0512.
Resource
Description
Processor main clock
48MHz from external quartz
32-bit AVR ports A9, A20, A11, A12, A13
Radio interface
Timer Channel 0
Timer
32-bit AVR ports B30, B31
Sleep / reset