I'm am working on a project to wiressly control an HO scale locomotive.
To obtain my goal, I am starting out using two series one Xbee chips along with a serial controlled motor driver. http://www.sparkfun.com/products/9571
One Xbee chip will be connected to an Arduino uno that will receive commmands from a computer. The other chip will be placed on a flatcar. Can I directly hook up the TX and RX ports on my Xbee to the motor driver chip?
The commands or the motor driver are fairly strait forward. A '1' or '2' indicates motor , 'f' or 'r' indicateds direction, '0' - '9' is speed, and '/r', end of command.
If I initiated my first Xbee to receive data from the computer, how would i relay this data to the second chip. I imagine I would want to use the "char getData command to read this data from my computer?