Microchip Technology DM182015-1 User Manual
Additional Tutorials
© 2011-2012 Microchip Technology Inc.
Preliminary
DS70654B-page 29
4.6
PING-PONG DEMO
This tutorial program is used for range testing and for measuring the Received Signal
Strength Indication (RSSI). In the Ping-Pong demo, as the name indicates, one node
transmits data while the other node receives data. After the transmission phase is com-
plete (10 packets) they switch their roles.
Strength Indication (RSSI). In the Ping-Pong demo, as the name indicates, one node
transmits data while the other node receives data. After the transmission phase is com-
plete (10 packets) they switch their roles.
The following hardwares are required to run this tutorial:
• Two PIC18 Wireless Development Boards
• Two Radio Daughter Boards
• Two LCD Serial Accessory Boards
• Four fresh AA batteries or Two 9V External Power Supply or two USB cables
Program both the PIC18 Wireless Development boards with the
Ping-Pong Demo.hex
file from the
8-bit Wireless Development Kit – (Transceiver)\Ping-Pong
Demo\
.
4.6.1
Set up
Follow these steps to set up the Ping-Pong demo:
1.
Connect the LCD Serial Accessory board J1 port to the J101 connector on the
PIC18 Wireless Development Board (See
PIC18 Wireless Development Board (See
).
2.
Plug in the Radio PICtail Daughter board at slot J201 on the PIC18 Wireless
Development Board.
Development Board.
3.
To power the PIC18 Wireless Development Board from external power (9V or
USB), insert a jumper at JP301 (Regulator Disconnect) on the PIC18 Wireless
Development Board. To power it from batteries, remove the jumper on JP301.
USB), insert a jumper at JP301 (Regulator Disconnect) on the PIC18 Wireless
Development Board. To power it from batteries, remove the jumper on JP301.
4.
Insert a jumper at JP201 (LED power) on the PIC18 Wireless Development
Board
Board
5.
Ensure that the jumper is disconnected at JP1 position on the LCD Serial
Accessory Board. This ensures that the LCD Serial Accessory Board is used in
I
Accessory Board. This ensures that the LCD Serial Accessory Board is used in
I
2
C mode and not in SPI mode. The Ping-Pong demo uses the LCD Serial
Accessory board in I
2
C mode.
6.
Wireless demo board can be powered using any one of these options:
• Two AA Batteries
• 9V External Power Supply
• USB Port
• External 3.0-3.6V power source through test points TP301and TP302
7.
Insert a jumper at either JP302 or JP303 (Current Measure) on the PIC18
Wireless Development Board.
Wireless Development Board.