Pages: [1]   Go Down
Author Topic: XBee Serial  (Read 658 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 43
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Should I communicate to my XBee via the built-in Serial, or should I use Softserial/NewSoftSerial?

Also, in NSS, how do you select which pin is the TX and which is the RX?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 8
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't see any reason to not use the built in Serial. Doing it in hardware frees you to do more in your program.

I've been reprogramming my boards with large programs using XBees running at 57600 baud with no problems. (Using my own hardware)

One word of warning: XBees seem to not handle 115200 baud properly. According to the datasheet, the closest they can achieve is 111000 baud. I'd start out at 9600 and get it working, then crank it up to 57600 and stay there.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 43
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks!

But can XBee's handle 5V TTL serial signals?
Logged

0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 354
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think they can handle 5v signals but have to be powered by 3.3V
Logged

Sheffield --- UK --
Offline Offline
Sr. Member
****
Karma: 0
Posts: 377
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

From what I can work out the xbee v1s can tolerate 5v - rx for short periods, then give up the ghost. So I`ve gone for a voltage divider to make sure.
But HAVE to be powered by 3.3 volts
Logged


Pages: [1]   Go Up
Jump to: