Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
alexru
PostPosted: Feb 09, 2012 - 05:34 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4857
Location: San Jose, CA

I don't remember from the top of my head. Here is ZigBit schematic: http://dl.dropbox.com/u/6121480/ATZB_24_A2_sch.jpg

_________________
The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
mkpolska
PostPosted: Feb 09, 2012 - 05:44 PM
Newbie


Joined: Jan 22, 2012
Posts: 10


ok, but on first page of this topic You wrote:

Quote:
Connections for ISP are following: MISO(3Cool, MOSI(39), RST(Cool, Vcc(24,25) and GND(9,22,23,35)


i want to be sure
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Feb 09, 2012 - 05:46 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4857
Location: San Jose, CA

I was right the first time.

You see, I don't keep it in my head all the time, and frankly I'm getting tired of looking it up for everyone. That's why I referred you to a schematic and proposed to think a bit for yourself.

_________________
The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
mkpolska
PostPosted: Feb 09, 2012 - 06:06 PM
Newbie


Joined: Jan 22, 2012
Posts: 10


i understand that You are frustrated, but it's my beginning in zigbee.
Now I find in datasheet that's pins 38 and 39 are for USART and SPI.
 
 View user's profile Send private message  
Reply with quote Back to top
mkpolska
PostPosted: Feb 11, 2012 - 06:29 PM
Newbie


Joined: Jan 22, 2012
Posts: 10


i connect atzb to pc via stk200. can i somehow make sure that's everything is properly connected?
what program do You recommmend to load SerialNet to atzb?
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Feb 11, 2012 - 06:40 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4857
Location: San Jose, CA

I don't know what works with stk200, I'd try avrdude or avarice.

_________________
The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
Marco84
PostPosted: Mar 13, 2012 - 12:08 PM
Newbie


Joined: Feb 23, 2012
Posts: 11


Hello everyone ,

I am new to AVR RAVEN and I am working on a project with two modules without RZUSBSTICK.
My goal is to write a simple program that allows wireless communication between this modules.
I already seen the documentation but I cannot found what i want.
Can anyone give me a hand?

Thanks everyone.

_________________
Marco Alves
 
 View user's profile Send private message  
Reply with quote Back to top
mkpolska
PostPosted: Mar 26, 2012 - 03:35 PM
Newbie


Joined: Jan 22, 2012
Posts: 10


hi,

how can i change baud rate in ATZB-24?
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Mar 26, 2012 - 03:45 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4857
Location: San Jose, CA

Yes, you can.

_________________
The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
mkpolska
PostPosted: Mar 26, 2012 - 05:30 PM
Newbie


Joined: Jan 22, 2012
Posts: 10


My question was "how can" not "can I" Wink
btw. please tell me only where can i find how change baud rate.
I need the easiest way, because i use only AT
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Mar 26, 2012 - 05:34 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4857
Location: San Jose, CA

Use "6.7.8 +IPR - Serial port communication rate" command. It is described in the datasheet. Keep in mind that changing baudrate will result in increased baudrate setting error.

_________________
The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
mkpolska
PostPosted: Mar 26, 2012 - 06:34 PM
Newbie


Joined: Jan 22, 2012
Posts: 10


hmmm.
I did as You wrote. I set 1200 and now my atzb doesn't respond for at command...
what now?Wink
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Mar 26, 2012 - 06:39 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4857
Location: San Jose, CA

Check that your PC is set to 1200. Then if you don't have oscilloscope there is nothing you can do but reprogram the module.

_________________
The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
mkpolska
PostPosted: Mar 26, 2012 - 06:53 PM
Newbie


Joined: Jan 22, 2012
Posts: 10


successful;-) i set different baud rate and sent "at&f"
atzb respond many time with error frame, but for 9600 it's work and now baud rate is 38400.
 
 View user's profile Send private message  
Reply with quote Back to top
mkpolska
PostPosted: Mar 26, 2012 - 07:19 PM
Newbie


Joined: Jan 22, 2012
Posts: 10


i set 9600 and now atzb respond for AT. Why it doesn't work with 1200?
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Mar 26, 2012 - 08:13 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4857
Location: San Jose, CA

Probably there is too much difference between sending and receiving side. You can't set exactly 1200 using 8 MHz crystal.

_________________
The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
ssergeievich
PostPosted: Apr 08, 2012 - 01:52 PM
Newbie


Joined: Nov 24, 2008
Posts: 17


Hi all,

Is the current firmware that uses SerialNet and AT commands available as a source code and is it possible just to upgrade that code with my own routines? I plan to use UART bootloader, but which compiler should I use in that case because I am new with Atmel (have used another MCUs).

Second question is about modules themselves: Does the coordinator command to router/node wakes up the router/node if it is in a sleep mode, or the router/node processes command after it wakes up by previously defined scheme?

Thanks ahead!
BR,
Sergei
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Apr 08, 2012 - 06:36 PM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4857
Location: San Jose, CA

No, SerialNet source code is not available.

Radio is turned off in a sleep mode (hence "sleep"), so the only way to wakeup is using external interrupt or timer.

_________________
The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
ssergeievich
PostPosted: Apr 08, 2012 - 11:04 PM
Newbie


Joined: Nov 24, 2008
Posts: 17


Thank you very much alexru for your quick response!

Is the PeerToPeer source code similar to default one in the module's MCU and if not, what are basic differences, in short?

Are there any limitations in default firmware concerning number of nodes in network like in P2P example?

BR,
Sergei
 
 View user's profile Send private message  
Reply with quote Back to top
alexru
PostPosted: Apr 09, 2012 - 04:38 AM
Raving lunatic


Joined: Apr 15, 2009
Posts: 4857
Location: San Jose, CA

There is no default PeerToPeer in the module. By default modules come only with serial bootloader.

_________________
The opinions and views expressed by me on this forum are my own and do not represent my employer or anyone else that I’m affiliated with.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits