title: How to get Xbee talking to Raspberry Pi using Uart
body: <p>I have a XBee S2 connected to a Raspberry Pi using the serial port and am trying to use minicom on the Pi to communicate and can not get a response from the XBee.  I have tried numerous baud rates but when I enter +++ to wake up the XBee nothing happens.<br>
      Below is some of the configuration information.</p>
  
  <p>Xbee:
  Baud Rate: 115200
  Data Bits etc: 8N1
  <img src="https://i.stack.imgur.com/FzUUw.png" alt="XBee Config"></p>
  
  <p>RPi Config:</p>
  
  <p>OS: Debian(Weezy)</p>
  
  <p>Program used: minicom</p>
  
  <p>Command: minicom -b 115200 -o -D /dev/ttyAMA0</p>
  
  <p>NOTE: I have tried sudo in front of the command as well</p>
  
  <p>I have disabled the console code using the following techniques: 
  <a href="http://www.hobbytronics.co.uk/raspberry-pi-serial-port" rel="nofollow noreferrer">Link to console disable directions</a></p>
  
  <p>Connection:</p>
  
  <p>RPi Tx to XBee Rx</p>
  
  <p>RPi Rx to XBee Tx</p>
  
  <p>RPi 3v to XBee Vcc</p>
  
  <p>Rpi Gnd to XBee Gnd</p>
  
  <p>Measured voltage on XBee between pins 10(Gnd) and pin 1(V+) measures 3.1vdc</p>
  
  <p>Using Bee adapter V1.4 from ElecFreaks as the Xbee breakout board.  Board switched to 3v mode and have tried the other switch on both settings.</p>
  
  <p>Tested RPi by connecting tx to rx on the pi and using minicom the input is echoed correctly.</p>
  
  <p>XBee using X-CTU terminal will work find IE: I enter +++ and it responds with OK.</p>
  
  <p>When its all hooked up I use minicom on the Pi and enter +++ and nothing happens.  Blank screen.</p>
  
  <p>I have been working on this for a couple of days and can not seem to figure out what is happening.  Please anyone if you can tell me what I am doing wrong or make a suggestion as to something to try I would sincerely appreciate it.<br>
  Thanks,
  Ed</p>