Page 1 of 1

zigbee comm. between coordi n end device

Posted: Thu Oct 28, 2010 12:53 pm
by priyaranjan
hello everybody,
i am using two v3 pic dev kit one connected to zigbee coordinator and another connected to end device. now i have tried a lot to run example 2 of zigbee given in matrixmultimedia site. Its not working. :cry:

according to me the coordinator sends '1' to end device. end device receives it and sends '2' to coordinator but coordinator is unable to receive '2' send by end device. so coordinator remains in loop n never goes further.
one thing more i want you tell that the zigbee module (maxstream ic) of these e-blocks are not working. so, i replaced them with another maxstream zigbee module which has wired antenna.

friends, kindly tell me where i am lacking. i am stuck in between, i have to complete it soon.

also kindly tell about the correct position of jumpers in both end device and coordinator zigbee e-block.
and any settings required to do in properties of zigbee block in flowcode.
i m using flowcode v3.

friends please help me.
waiting for reply.

Re: zigbee comm. between coordi n end device

Posted: Fri Oct 29, 2010 11:46 am
by Benj
Hello,

First of all the firmware on the new Zigbee module you are using must be setup to be either a Coordinator or a Router/end node. Have you set this up correctly for the new module you are using?

Secondly have you confirmed that your clock speed and configuration settings in Flowcode are correct by running a simple 1 second flasher program on your hardware?

Jumpers should probably be C and 1 for a 16F877A chip but you should be able to refer to the E-block datasheet to confirm this.

Re: zigbee comm. between coordi n end device

Posted: Sat Oct 30, 2010 5:42 am
by priyaranjan
hello benj,
thank for ur reply.
i think zigbee module are set to be either a Coordinator or a Router/end node by coding in initialization macro. if its not then should i set it by connecting modules to computer and using x-ctu software.

i want code of simple 1 second flasher program if u have. otherwise i want to know that it means that led blinks for every 1 sec.

Re: zigbee comm. between coordi n end device

Posted: Mon Nov 01, 2010 9:50 am
by Benj
Hello,

The firmware for the XBEE module needs to be setup prior to use with the E-blocks with the X-CTU software. The Zigbee component simply specifies which properties and functions are available for the specific board types.

For the 1 second flasher program simply create a while 1 infinite loop. Then switch on a LED, wait for 1 second, switch off an LED, wait for 1 second.

If the delays on the actual hardware seem to be equal to 1 second then your clock speed and configuration settings are confirmed as correct.

Re: zigbee comm. between coordi n end device

Posted: Tue Nov 02, 2010 6:19 am
by priyaranjan
HELLO SIR,

thank for ur reply.

i think we can set the module co-ordinator or end device by entering into command mode and then sending command "atce 1" for coordinator and "atce 0" for end device.

except these is there any more command required to set these modules as end device or coordinator.

priyaranjan

Re: zigbee comm. between coordi n end device

Posted: Tue Nov 02, 2010 6:30 am
by priyaranjan
sir ,
the 1 sec flasher program is not giving accurate output. the led is blinking more than 1 sec..

so what should i do ?

priyaranjan

Re: zigbee comm. between coordi n end device

Posted: Tue Nov 02, 2010 3:42 pm
by Benj
Hello,

You must check that the clock speed setting in Flowcode matches your crystal speed.

You must also check that the chip configuration settings are correct for your hardware.