Sending Serial Commands to XBee series 2 on OS X with Screen

| | Comments (0) | TrackBacks (0)

In the spirit of consolidation and to support my own laziness...

Initial set-up of XBee ZB modules... for fancy-pants meshing:

in terminal,

# list serial ports
$ ls -l /dev/tty.*

# open usb port /dev/tty.usbserial-A9003QNn with 9600 baud
$ screen /dev/tty.usbserial-A9003QNn 9600

# in screen...
# enter command mode
+++

# get XBee Firmware (ctrl-A b for a break - pain in the ass, really)
# ATVR ctrl-A b

# get XBee PAN id
# ATID ctrl-A b

# get serial number high
# ATSH ctrl-A b

# get serial number low
# ATSL ctrl-A b

from aldwyn on this sparkfun forum post:

"put those values [serial number high and low] into into the destination address of the xbee you're sending from (ATDH and ATDL, respectively)."

Which makes perfect sense, as the nodes route and identify dynamically in a mesh network. Unfortunately, the bulk of tutorials/documentation on teh interwebs is for XBee series 1, and Series 2 with the older firmware.

The documents from Digi are a must-read.

0 TrackBacks

Listed below are links to blogs that reference this entry: Sending Serial Commands to XBee series 2 on OS X with Screen.

TrackBack URL for this entry: http://hyperradiant.net/MT-4/mt-tb.cgi/242

Leave a comment

About this Entry

This page contains a single entry by Alex published on February 27, 2009 12:02 AM

Muppet-Fur Coats was the previous entry in this blog.

Pulse-Labs [@ETech] is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.