Post a new topicPost a reply Page 1 of 2   [ 17 posts ]
Go to page 1, 2  Next
Author Message
 Post subject: RC Error while changing channel
PostPosted: Tue Jul 24, 2012 2:51 pm 

Joined: Tue Jul 24, 2012 2:38 pm
Posts: 71
Hello everybody,

I'm trying to connect the waspmote to the waspmote gateway. For that purpose:

1. I've uploaded the "wasp_start_program_full_802_v1" in order to restore the default values
2. I've uploaded the "WaspXBee802_1_creatingNetwork"
3. Once it is uploaded, the problems is that the serial monitor shows the next message :
"RC Error while changing channel"

Of course, it's not possible to connect the waspmote to the waspmote gateway.

In addition i tried to communicate 2 waspmotes uploading the code "WaspXBee802_sendGateway" in each of them, but i couldn't establish the communication between them...

Any suggestion??

Thanks in advance!
Fran


Top
 Profile  
 
 Post subject: Re: RC Error while changing channel
PostPosted: Wed Jul 25, 2012 9:59 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7440
legramo,

Please be sure you followed all steps in Waspmote checklist post.

Besides that, check that both XBee modules has same network parameters line PAnID, channel, etc.

Try uploading code wasp_start_program_full_802_v1 for example. it just sends the next frame to the gateway:
"-mac:xxxxxxxxxx -x:aay:aa,z:aa -temp:aa -bat: aa

Let us know.

Regards.


Top
 Profile  
 
 Post subject: Re: RC Error while changing channel
PostPosted: Wed Jul 25, 2012 11:56 am 

Joined: Tue Jul 24, 2012 2:38 pm
Posts: 71
Hi,

Thank you for your fast response. I've assisted to the webminar for the last 3 days and i've explained before i'm testing basic examples.

Following the steps showed in " Waspmote checklist post" , i've uploaded the wasp_start_program_full_802_v1 into a waspmote. Afterwards i've plugged the waspmote Gateway in the PC but the data received is null...

I've already made some experiments with waspmote but without using ZigBee, i mean, connecting the waspmote by USB to the PC and taking the data from the serial port, but i was unable to read it using the waspmote GW.

Checking the network parameters using X-CTU, the results are:
1. First XBee
Modem: XBP24-ZB
Function Set: ZigBee Router API
PAN ID: 1234
Scan Channels: 1FFE

2. Second XBee
Unable to read it...

This is a very basic example, and i'm almost sure that the problem is under the XBee configuration. Is there any way of configuring it by default without using X-CTU?

I would appreciate a fast response because i'd like to show a sensor network to other engineers in order to valorate if we use them in Doñana National Park. By the way, Alberto´s webminar was great.

Best,
Fran


Top
 Profile  
 
 Post subject: Re: RC Error while changing channel
PostPosted: Thu Jul 26, 2012 9:05 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7440
legramo

Sorry for delay.

We guess you are using Zigbee protocol, so the program you should upload is wasp_start_program_full_ZB_v1 which corresponds to this protocol.

Regarding you Xbee module that you can not read, Is the red led of the gateway blinking when you plug it into your PC?

Let us know if you are success.

Regards.


Top
 Profile  
 
 Post subject: Re: RC Error while changing channel
PostPosted: Thu Jul 26, 2012 11:28 am 

Joined: Tue Jul 24, 2012 2:38 pm
Posts: 71
Hello,

Thank you for your response.

I uploaded the new code wasp_start_program_full_ZB_v1 into the XBee which function is ZigBee Router API (whose parameters are configured as JV parameter set to '1'; BD parameter set to 5;
and AP parameter set to 2) the output is:

mac:0013A2004069732B -x:9,y:8,z:1041 -temp:31 -bat: 21%

It seems OK.

Reading the wasp_start_program_full_ZB_v1 explanation, i would need to have a ZB-Coordinator must be plugged in my Gateway, so using the X-CTU i tried to configured another XBee as ZigBEE Coordinator API but the write failed and now is unreadable...

The situation is the next:

- 2 Xbees as ZigBee Router API which the wasp_start_program_full_ZB_v1 uploaded and working
- 2 Xbees unreadable with the red led of the gateway blinking when i plug it into my PC, with the wasp_start_program_full_ZB_v1 uploaded
- 1 Xbee unreadable with the red led of the gateway NOT blinking when i plug it into my PC, with the wasp_start_program_full_ZB_v1 uploaded

What should i do in order to communicate the wasp with the GW using the XBees showed above?

Thanks for your patience,
Fran


Top
 Profile  
 
 Post subject: Re: RC Error while changing channel
PostPosted: Thu Jul 26, 2012 2:05 pm 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7440
legramo,

How did you tried to configure your XBee module as a coordinator?

Led blinking means that modules are OK so they would be readable.

Regards


Top
 Profile  
 
 Post subject: Re: RC Error while changing channel
PostPosted: Thu Jul 26, 2012 2:53 pm 

Joined: Tue Jul 24, 2012 2:38 pm
Posts: 71
In the case of the 2 Xbees unreadable with the red led of the gateway blinking:

After opening X-CTU and trying to test the Com Port setup, i receive the next message:
Unnable to communicate with modem.

I've verified the com port selection and i've reset the switch, as it's explained, but the XBee is still unreadable (Modem configuration read tab can't access to the XBee).

I don't have that problem in 2 XBees, which are recognised as ZigBEE Coordinator API in the Modem configuration tab. Actually i have that problems in 3 XBees, 2 of them with the red light blinking and the other without bliking (the light is on).

Answering to your first question, i tried to configure the Xbee module that is unreadable now (it was readable) selecting the ZigBee Coordinator API option in the Modem Configuration tab. After pushing Write a fail happened and that's all.

The point is, how can i be able to communicate the wasp to the GW?I have 2 Xbees which work properly... should i configure one of them in order to be ZigBee Coordinator?How?Did i make it bad before?

Thanks for everything,
Fran


Top
 Profile  
 
 Post subject: Re: RC Error while changing channel
PostPosted: Thu Jul 26, 2012 3:10 pm 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7440
legramo,

Try readingthis tutorial about how to upgrade XBee firmware. Maybe it is useful for you.

We will keep going deeply if you are not able to communicate.

Best Regards


Top
 Profile  
 
 Post subject: Re: RC Error while changing channel
PostPosted: Thu Jul 26, 2012 8:14 pm 

Joined: Tue Jul 24, 2012 2:38 pm
Posts: 71
Ok, i'll update the XBees. Would you mind to let me know the tutorial link?

Best,
Fran


Top
 Profile  
 
 Post subject: Re: RC Error while changing channel
PostPosted: Fri Jul 27, 2012 8:14 am 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7440
sorry legramo,

we forgot to attach link. Here it is.

It is placed at our development section.

But also keep in mind all warnings mentioned.

Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 2   [ 17 posts ]
Go to page 1, 2  Next


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use