electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Xbee baud rate doubt


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Xbee baud rate doubt
Author Message
Eraser



Joined: 02 Nov 2007
Posts: 63
Location: Braga,Portugal


Post10 Feb 2008 14:03   

xbee baud rate


Hello to every one!!!!
i'm doing a project which connects a pic microcontroller and a rf module xbee, by USART, i have read the xbee datasheet, and i dont understood one thing, its the xbee baud rate. i dont know if xbee baud rate is programable, or its standard 9600bps???
If its programmable how can i programm xbee baud rate????
Back to top
laktronics



Joined: 06 Jan 2007
Posts: 945
Helped: 156


Post10 Feb 2008 20:40   

xbee baud


Hi,
It is true that the manual is not very clearly written. But they have mentioned that the default baud rate is 9600 baud and that other baud rates can be programmed using AT commands from PC. Do you have a programming board with serial or USB interface for this purpose to plug in the module and program? You will need this board along with the PC software to program the modules. The programmed baud rate will come into effect only after you exit AT command mode.
Regards,
Laktronics
Back to top
Eraser



Joined: 02 Nov 2007
Posts: 63
Location: Braga,Portugal


Post10 Feb 2008 20:49   

xbee default baud rate


[quote="laktronics"]Hi,
It is true that the manual is not very clearly written. But they have mentioned that the default baud rate is 9600 baud and that other baud rates can be programmed using AT commands from PC. Do you have a programming board with serial or USB interface for this purpose to plug in the module and program? You will need this board along with the PC software to program the modules. The programmed baud rate will come into effect only after you exit AT command mode.
Regards,
Laktronics[/quote

Thank you.
But to connect the xbee with microcontroller with 9600 baud rate, its not necessary program the xbee??? or i can plug it now???
no , i dont have a programming board, but i already have the schematic from the XBIB-U, its this board ,isnt it?
Back to top
Google
AdSense
Google Adsense




Post10 Feb 2008 20:49   

Ads




Back to top
laktronics



Joined: 06 Jan 2007
Posts: 945
Helped: 156


Post10 Feb 2008 20:56   

default xbee baud rate


Hi,
As regards baud rate not necessary, but won't you need to program other parameters with PC?, it appeared to be programming for many other parameters, are they not important, I should think that you should know better than me.
Regards,
Laktronics
Back to top
Eraser



Joined: 02 Nov 2007
Posts: 63
Location: Braga,Portugal


Post10 Feb 2008 21:04   

xbee at command


laktronics wrote:
Hi,
As regards baud rate not necessary, but won't you need to program other parameters with PC?, it appeared to be programming for many other parameters, are they not important, I should think that you should know better than me.
Regards,
Laktronics




Yes, i need program other parameters with pic, its a normal UART communicatios,but as i wont use parity, and the start and stop bit are gennerated automaticaly, i think its just send the information , with 9600bps
Back to top
newuser33



Joined: 22 Dec 2007
Posts: 45
Helped: 1


Post11 Feb 2008 4:48   

xbee datasheet


hello

goto this site

www.thesiliconhorizon.com/store


there is an xbee framework on it..


it has all the source code you need to automatically set the baudrate without a programmer etc...

it is very good firmware.

it is for pic 18 devices with USB however can be ported to others.

Added after 2 minutes:

all xbee's come 9600 by default..

if you dont have a programmer (digi's interface board)

then you have to use the AT command set to enter command mode.

then you can send the following command


ATBD newbaudrate in hex.


so its like this.



***wait 1 second with nothing sent to module***
+++
***wait 1 second with nothing sent to module
<OK received>
ATBD newbaudrate in hex<cr>
ATWR<cr> (write changes)
ATCN (exit command mode)

you didnt say if it was series 2 or 1.

the above is for series 1.


with series 2 it is slightly different commands...

look in the manual for them.

Added after 2 minutes:

if you are using a series 2 module, then you need 2 different firmwares , and thus youll need the DIGI interface board to switch the firmwares....(as zigbbe has coodrinator and other firmware)...


now series 1 , you only have 1 firmware so you dont need the DIGI programmer, just the PIC software to do everything in AT commands...

doing packets on a pic is very time consuming and takes up more space etc..

i suggest doing the AT commands.

Added after 2 minutes:

oh and dont use the pic 18 library USART send and receive string commands...

that sends a null also!!

if you get the framework above, it has working functions in it.
Back to top
Eraser



Joined: 02 Nov 2007
Posts: 63
Location: Braga,Portugal


Post12 Feb 2008 23:27   

default baud rate


Thank you.

the xbee framework is good but i already have a commun xbee, thank you anyway.
I think 9600bps for my project its good enough, but i will try the AT commands, and any doubt i post here..
Thank you very much.
Back to top
ceibawx



Joined: 13 Oct 2008
Posts: 23
Location: JOHNS HOPKINS, baltimore, MD, USA


Post13 Oct 2008 15:04   

setting baud rate for xbee


Hi ,

You means that a program board is necessary if I want to change xbee baud rate?
I use xbee802.15.4, pic is 16f877. uart is needed.
Would you like to give me a reply?

I am upset and dispaired last week. Because now I failed change baud rate of xbee. I only use two xbees and one pic. And Now the two xbees don't communicate. And I need find the reason why it doesn't work.

Would you like to help me to give some possible reason?I appreciate your reply.



Xing
Johns Hopkins. USA.









newuser33 wrote:
hello

goto this site

www.thesiliconhorizon.com/store


there is an xbee framework on it..


it has all the source code you need to automatically set the baudrate without a programmer etc...

it is very good firmware.

it is for pic 18 devices with USB however can be ported to others.

Added after 2 minutes:

all xbee's come 9600 by default..

if you dont have a programmer (digi's interface board)

then you have to use the AT command set to enter command mode.

then you can send the following command


ATBD newbaudrate in hex.


so its like this.



***wait 1 second with nothing sent to module***
+++
***wait 1 second with nothing sent to module
<OK received>
ATBD newbaudrate in hex<cr>
ATWR<cr> (write changes)
ATCN (exit command mode)

you didnt say if it was series 2 or 1.

the above is for series 1.


with series 2 it is slightly different commands...

look in the manual for them.

Added after 2 minutes:

if you are using a series 2 module, then you need 2 different firmwares , and thus youll need the DIGI interface board to switch the firmwares....(as zigbbe has coodrinator and other firmware)...


now series 1 , you only have 1 firmware so you dont need the DIGI programmer, just the PIC software to do everything in AT commands...

doing packets on a pic is very time consuming and takes up more space etc..

i suggest doing the AT commands.

Added after 2 minutes:

oh and dont use the pic 18 library USART send and receive string commands...

that sends a null also!!

if you get the framework above, it has working functions in it.
Back to top
binsad



Joined: 15 Dec 2008
Posts: 8


Post04 Nov 2009 21:05   

Re: Xbee baud rate doubt


Hi,
I had a clear idea of configuring zigbee modules. Visit my blog to get a clear picture. http://binsad.blogspot.com/
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Xbee baud rate doubt
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
baud/symbol rate to sampling rate (3)
doubt on xbee (3)
help!help!Relation between Baud rate and sampling rate (3)
baud rate (2)
baud rate (6)
UART baud rate (6)
baud rate generator (2)
baud rate generator (1)
Regarding Baud rate (6)
i2c baud rate (4)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS