by Mitch » Thu Mar 04, 2010 11:51 am
The adafruit and sparkfun boards are convenient interfaces for connecting to the xbee modules. There are several flavors of xbee. In general, they create the equivalent of a wireless two way rs232 serial connection.
Tom has provided the "FTDI" connection which is really uart1 on the dspic. This interface is 3.3 volt ttl level rs232 with a power pin at 5 volts. The "GPS" connection is the dspic uart2. It is 3.3 volt ttl level rs232 with a power pin at 3.3v.
The "FTDI" designates a conversion between ttl rs232 and USB and implies use for hardwire interfacing to a laptop or pc via usb on the ground.
For inflight telemetry, the usb/ftdi is not necessary on board because it is a simple rs232 interface between the pic and the xbee. The caveat is the xbee is 3.3 volts and the uart1 connection is powered at 5volts. Thus voltage regulation is necessary for the onboard xbee. An FTDI can be used here for the ground station to adapt the ground station xbee to the pc (or laptop).
Thus, a pair of xbees and two interface boards, one serial and one ftdi (or both serial) cover all of the permutations.
Hopefully I'm not confusing the issue - serial connections from a pc (or laptop) directly to the xbee or to uart1 are possible without the ftdi, however, the pc (or laptop) com port logic level is +-9 volts and voltage conversion is necessary ie 3.3v ttl to +-9v rs232.