PIC 24 interface to Xbee

Discussion in 'Embedded Systems and Microcontrollers' started by felixg91, Mar 14, 2012.

  1. felixg91

    Thread Starter New Member

    Feb 16, 2012
    How do I interface a pic24hj32gp202 to Xbee module? I will be sending data from the pic wirelessly to a pc with the use of XBEE USB Explorer. Does any one know how I setup the circuit with the pic and Xbee? And what do I need component wise? I am new to XBEE.
  2. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    The XBEE USB Explorer from Sparkfun is a USB interface, it lacks the actual XBEE board, so you need one to piggy back on top of it. Then you need a second XBEE to sit with your PIC.

    The XBEE Module data sheet (see 2.1.1) shows a simple serial data scheme such as any UART uses.

    Code ( (Unknown Language)):
    2. Line Name   PIC
    4.     DI          TX
    5. (not) CTS   (any) (input pin)
    6.     DO         RX
    7. (not) RTS   (any) (output pin)