| Author |
Message |
|
|
Posted: Jan 14, 2011 - 03:42 PM |
|


Joined: Apr 15, 2009
Posts: 4861
Location: San Jose, CA
|
|
|
Ludo wrote:
yes it's the case, when I stop the coordinator, the LED blinking
Then check that CS_UID parameter is different on all devices. |
|
|
| |
|
|
|
|
|
Posted: Jan 14, 2011 - 04:24 PM |
|

Joined: Jan 14, 2011
Posts: 8
|
|
| I have add “#define OMIT_READING_SENSORS" but no changes |
|
|
| |
|
|
|
|
|
Posted: Jan 14, 2011 - 04:26 PM |
|

Joined: Jan 14, 2011
Posts: 8
|
|
CS_UID = 0x4LL for Zigbit
CS_UID = 0x2LL for Raven End-Device
CS_UID = 0x0LL for coordinator |
|
|
| |
|
|
|
|
|
Posted: Jan 14, 2011 - 04:32 PM |
|

Joined: Jan 14, 2011
Posts: 8
|
|
| I don't know what I have doing but now the LED blinking if coordinator is down and "off" when the coordinator is "on" |
|
|
| |
|
|
|
|
|
Posted: Jan 14, 2011 - 05:00 PM |
|

Joined: Jan 14, 2011
Posts: 8
|
|
I have clear all test and download a new bitcloud package to restart from scratch.
now it's working !
the LED is "Off" when the module joining network but my module appearing in wsndemo.
Alexru, thanks a lot for your help !!
Ludo |
|
|
| |
|
|
|
|
|
Posted: Jan 25, 2011 - 02:30 PM |
|

Joined: Jan 13, 2011
Posts: 7
|
|
| Hey guys! I`ve got a question. I have a network 1 coordinator and 1 end-device. And if i set end-device to the sleep mode how can I wake it up? I use serial net to manage my network. Duty cycle on end device sleep/active what I put into by command at+wpwr is 6000,0 what means it`s always active until i enter command wsleep and it is in sleep mode by 10 minutes. Can I wake it up before this 10 minutes I mean Can I wake it up by using any ping from coordinator or other dates from coordinator or in other way?? Anyone knows how to measure wake-up time using scope or other stuff? Thanks in advance. |
|
|
| |
|
|
|
|
|
Posted: Jan 25, 2011 - 02:35 PM |
|


Joined: Apr 15, 2009
Posts: 4861
Location: San Jose, CA
|
|
|
lst111 wrote:
Can I wake it up before this 10 minutes I mean Can I wake it up by using any ping from coordinator or other dates from coordinator or in other way??
No, that's the point of sleeping. Bur you can wake up device by asserting DTR pin.
lst111 wrote:
Anyone knows how to measure wake-up time using scope or other stuff? Thanks in advance.
Depends on what you need it for. One way is to measure power consumption. |
|
|
| |
|
|
|
|
|
Posted: Jan 26, 2011 - 12:21 PM |
|

Joined: Jan 13, 2011
Posts: 7
|
|
| Thank You Alex for Your help. Now I decided to test a DTR line. Normally I have PCB where I use only TX and RX of RS232. It is enough only to send a command and managing of nodes. Now I connect in addition line from dtr ft232 to pin 37 of my atzb-24-a2 but it doesn`t work. Do I need other lines of rs232 to make dtr working right?? Dtr is active low according to serialnet reference manual and is setting by at&d1 command and i set that. I`ve tried just to connect pin 37 of module to ground to force wake-up after sleeping node but it doesn`t wake up. How it should looks like? Any ideas?? Regards Lukas |
|
|
| |
|
|
|
|
|
Posted: Jan 26, 2011 - 12:45 PM |
|


Joined: Apr 15, 2009
Posts: 4861
Location: San Jose, CA
|
|
| Connecting only DTR pin should be enough. Can you post complete list of command you enter on both devices? |
|
|
| |
|
|
|
|
|
Posted: Jan 26, 2011 - 12:56 PM |
|

Joined: Jan 13, 2011
Posts: 7
|
|
my settings
Coordinator
ATX
at +GSN=1
at+WPANID=1620
at+WCHMASK=00000800
at+WROLE=0
at+WSRC=0
at+WJOIN
at+WAUTONET=1
End device
atx
at +GSN=2
at+WPANID=1620
at+WCHMASK=00000800
at+WROLE=2
at+WSRC=2
at+wpwr= 6000,0 (10 minutes sleep if put at+wsleep, normally always active)
at&d1
at+WAUTONET=1
at+WJOIN
And when network is established i make on enddevice sleep mode using a command at+wsleep and I can`t wake it up even when I connect dtr pin to ground or VCC. |
|
|
| |
|
|
|
|
|
Posted: Jan 26, 2011 - 01:01 PM |
|


Joined: Apr 15, 2009
Posts: 4861
Location: San Jose, CA
|
|
One thing I see is that you need to have the same settings for +wpwr on both C and ED (see manual for explanations). But this is not connected to a problem at hand.
I'll check this and write back. |
|
|
| |
|
|
|
|
|
Posted: Jan 26, 2011 - 01:09 PM |
|

Joined: Jan 13, 2011
Posts: 7
|
|
| Other thing is that I connect with my module using a ft232rl there is a line like dtr so should I connect directly dtr from ft232 to pin of my atmel 37?? Sometimes it is properly to connect Capacitor to eliminate a constant-voltage component like here http://electronics-diy.com/electronic_s ... php?id=923 What do You think? But anyway I was testing pin 37 by connecting that directly to ground and VCC. |
|
|
| |
|
|
|
|
|
Posted: Jan 26, 2011 - 02:04 PM |
|


Joined: Apr 15, 2009
Posts: 4861
Location: San Jose, CA
|
|
I can't make it work either, maybe something is wrong there, I've never used this feature nor I've ever seen how it works.
Contact avr@atmel.com, they might know better. |
|
|
| |
|
|
|
|
|
Posted: Jan 26, 2011 - 09:05 PM |
|

Joined: Jan 13, 2011
Posts: 7
|
|
| Now in my case it works but only manually, connecting a pin 37 to ground.( earlier it was just not visible, break- not connected pin with pad on board) but dtr still doesn`t work. I will try to get information from atmel. If i get know sth i would inform You as well. Thank You Alex. |
|
|
| |
|
|
|
|
|
Posted: Jan 26, 2011 - 09:10 PM |
|


Joined: Apr 15, 2009
Posts: 4861
Location: San Jose, CA
|
|
|
lst111 wrote:
Now in my case it works but only manually, connecting a pin 37 to ground ... but dtr still doesn`t work.
So does it work or does not?
I've spoken to a FAE and he confirmed that DTR wakeup works. I was checking it on ZigBit mounted on MeshBean and there is an error on the board that prevents it from working. But it should work on a standalone ZigBit module. |
|
|
| |
|
|
|
|
|
Posted: Mar 15, 2011 - 10:39 AM |
|

Joined: Jun 14, 2009
Posts: 15
|
|
Hi,
I have some problems, I think is something wrong with my application which is uploaded to the modules. I made myself boards with leds,sliders and USB<->RS232 converter.I uploaded blink sample application with added in configurationfile CS_UID ones 0x1ll and second 0x2ll. And modules don't talk together-> they blink asynchronous.Should I do something more? I don't know what to do now. I tried with many configurations
->changed device type , short adres scholastic and different static also in ConfigServer.h.
Anyone knows what I do wrong?
Regards,
Qbo
*EDIT
I won't go further with my own application if I won't be sure if is everything ok with my hardware. |
|
|
| |
|
|
|
|
|
Posted: Mar 15, 2011 - 10:57 AM |
|


Joined: Apr 15, 2009
Posts: 4861
Location: San Jose, CA
|
|
|
Qbo_electronics wrote:
And modules don't talk together-> they blink asynchronous.
Well, Blink sample application does exactly what name says, it blinks without starting a network
Try other applications, they actually do something useful with RF-part. |
|
|
| |
|
|
|
|
|
Posted: Mar 15, 2011 - 11:39 AM |
|

Joined: Jun 14, 2009
Posts: 15
|
|
| In the begging I though it is something wrong with RF and I checked on scope CPU_CLOCK and its is 8MHz like in configuration file. I tried it compile the files with IAR also. Let me add that layout of the board don't have ground plane on top and bottom under antennas. Now I understand that CS_UID isn't a reason because there is no network at all. I can't check if they really transmit on analyzer because it's DSSS modulation. Could you tell me if there is any reason why this application don't work? |
|
|
| |
|
|
|
|
|
Posted: Mar 15, 2011 - 11:46 AM |
|


Joined: Apr 15, 2009
Posts: 4861
Location: San Jose, CA
|
|
| Again, Blink does not transmit because it should not. It is written to blink LEDs. Take LowPower application, for example. |
|
|
| |
|
|
|
|
|
Posted: Mar 15, 2011 - 12:00 PM |
|

Joined: Jun 14, 2009
Posts: 15
|
|
Aha, I understood from BitCloud documentation that they should blink synchronously with certain period.. I lost week trying launch this I will now start with low power application.
Thanks Alex for help!
Regards,
Qbo |
|
|
| |
|
|
|
|
|