Hey guys,
First of all, let me preface by saying I’m very new to Xbee but have a decent knowledge of microcontrollers and circuits.
I have a project where I want to have two “nodes” communicating between each other transmitting data uni-directionally for the most part. I have the following hardware available:
-
A PIC18F4525 with a [XBee Pro 2 (w/ chip antenna) on a vehicle.
-
A laptop with a [Xbee-PRO 802.15.4 RF Modem attached to the serial port.
I’ve been able to communicate serially within each node to set up the configuration parameters on the respective nodes:
Car:
+++ // Enter AT command mode
ATCT 28F // Extend command timeout
ATNI CAR // Set the Node ID as “CAR”
ATID 3332 // Set the PAN ID to 3332
ATCN // Enter command mode
Laptop:
+++ // Enter AT command mode
ATCT 28F // Extend command timeout
ATNI BASE // Set the Node ID as “BASE”
ATSC 1FFE // Set to scan all available channels
ATID 3332 // Set the PAN ID to 3332
ATSD 6 // Set the scan duration for a little longer than the default
ATMY // Read MY address
ATND // Perform Node Discovery
(at this point, after a delay, I get a carriage return response from the modem)
ATND CAR // Node Discover “CAR”, specifically
(another carriage return from the modem)
ATCN // Exit command mode
Note: The 3332 PAN ID is really just a random assignment I tried to “help” the nodes find each other. I’ve read this value from the RF modem before, so I’m assuming it’s ok to “hard-code” it like this.
I can’t seem to get the modem to recognize the Xbee xcvr as an endpoint. I’ve been doing bench testing with them for now (literally inches apart).
Am I just using incompatible hardware or am I missing something in configuring the network between nodes? I haven’t seen any “Series 2” serial modems for PC’s to interface to on Digi’s website.
= /
Thanks in advance!!!](http://www.digi.com/products/wireless/point-multipoint/xbee-pro-802154-rf-modems.jsp)](http://www.sparkfun.com/commerce/product_info.php?products_id=8767)