Microchip Technology DM182015-1 User Manual

Page of 42
Getting Started
© 2011-2012 Microchip Technology Inc.
Preliminary
DS70654B-page 17
FIGURE 3-2:
8-BIT WIRELESS DEVELOPMENT KIT DEMO PROGRAM
Power Up
Display                
8-bit Wireless 
Development Kit
Display
RB0: Create NWK
RB2: Join NWK
Is RB0 
pressed?
Display       
Created network 
successfully
If networks 
were found?
Scan for networks
Display                    
Local Temp
MAC Address: 21C/70F 
Display 0
 Network Found
RB2: Re-Scan
A1
A3
A2
No
No
Yes
Is RB2 
pressed?
If RB0 
Pressed?
If RB2 
Pressed?
Read temperature sensor 
and broadcast information 
over the network
Display
Local/Remote Temp
MAC Address:21C/70F
Rotates Display 
Information between local 
and Remote temperatures 
with every RB2 press
Display
RB0: (PC) 010203
RB2: Additional NW - 0
If RB2 is 
pressed?
If RB0 is 
pressed?
Display Join status 
(Success/Failure)
If Join status = 
success
A3
Connect 
to A1
A2
No
Yes
No
No
If RB2 is 
pressed?
If RB0 is 
pressed?
No
No
Yes
No
Yes
Yes
No
Display next node 
information if available 
Yes
Yes
MAC Address: Last 3 Byte MAC Address in HEX
RB0: RB0 Push Button on Wireless Development Board
RB2: RB2 Push Button on Wireless Development Board
PC: PAN Coordinator
Local Temp: Temperature sensor reading at current node
Remote Temp: Temperature sensor reading at Remote node
Yes
Yes
Yes
   No