Microchip Technology DM182015-1 User Manual
Additional Tutorials
© 2011-2012 Microchip Technology Inc.
Preliminary
DS70654B-page 25
4.3.2
Tutorial Operation
To use the demo program, follow these steps:
1.
Create a MiWi network as described in
.
2.
Simulate Network Freezer mode by pressing and holding the MCLR and RB2
push button, then release the MCLR and wait for 10 seconds before releasing
the RB2 button.
push button, then release the MCLR and wait for 10 seconds before releasing
the RB2 button.
3.
LCD display will prompt the following message:
• Network Freezer?
• Yes[RB0]/No[RB2]
4.
Press RB0 push button to start the network setup information available in the
EEPROM.
EEPROM.
The Network will start functioning as it was set up previously before hitting the MCLR
push button.
push button.
4.4
REDUCED FUNCTION DEVICE (RFD) DEMONSTRATING SLEEP
CAPABILITY
CAPABILITY
This tutorial program demonstrates the lowest sleep configuration for a device to
extend battery life.
extend battery life.
The following hardwares are required to run this tutorial:
• Two PIC18 Wireless Development Boards
• Two Radio Daughter Boards
• Four fresh AA batteries or Two 9V External Power Supply or two USB cables
To run this tutorial, program one of the PIC18 Wireless Development Boards with the
RFD Demo.hex
file. The
RFD Demo.hex
file is located in the
8-bit Wireless Devel-
opment Kit – (Transceiver)\RFD Demo\
. Program another board with the
8-bit
WDK Demo.hex
file.
4.4.1
Set up
Follow these steps to set up the RFD Sleep Capability demo:
1.
2.
To power from an external source (9V or USB), insert a jumper at JP301
(Regulator Disconnect) on the PIC18 Wireless Development Board. To power
from batteries, remove the jumper on JP301.
(Regulator Disconnect) on the PIC18 Wireless Development Board. To power
from batteries, remove the jumper on JP301.
3.
Insert a jumper at JP201 (LED Power) on the PIC18 Wireless Development
Board
Board
4.
Insert a jumper at either JP302 or JP303 (Current Measure) on the PIC18
Wireless Development Board.
Wireless Development Board.
4.4.2
Tutorial Operation
To run the program, use the node with the
8-bit WDK Demo.hex
file to create the PAN
Coordinator. To run the tutorial program, refer to
. From the second node (
RFD Demo.hex
) join the PAN Coordinator.
By using the RFD node, user can estimate the lowest power profile for the board.
The program flow for the RFD Device is shown in
.