This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CONNECTING XBEE SERIES 2 TO MSP430G2553

Other Parts Discussed in Thread: MSP430G2553, ENERGIA

how can i connect msp430g2553 to xbee ? please help me. i want to communicate between two mspg2553 wirelesssly. please tell me whether i could directly connect b/w the pins of msp and xbee or whether i require an xbee adapter? give me the connection diagram. suggest me if there is any good alternative for wireless communication if available

urgent!!!

  • avr dude said:
    suggest me if there is any good alternative for wireless communication if available

    This one:

    http://www.ti.com/tool/430boost-cc110l

    it is connected to msp430g2553 already and have connection diagram in it's user's guide

  • thanks for the suggestion of an alternative

    but as i have bought xbee already, i would like to continue with it. so can a xbee and msp430g2553 be connected directly using breadboard. if possible how? else, what is the easiest way to connect between them two.

  • avr dude said:
    but as i have bought xbee already, i would like to continue with it. so can a xbee and msp430g2553 be connected directly using breadboard. if possible how?

    You shall read xbee documentation first, also knowledge of msp430g2553 will not hurt. Also you shall search this forum and internet for set of two keywords: "xbee" and "msp430".

  • is it possible to directly connect both of them???..so that i can proceed with that plan

  • avr dude said:
    is it possible to directly connect both of them???

    Yes!!! It is possible to connect them. Wonder you did not manage to find it out yourself. Maybe try some simple project first. Blinking LED for example.

  • thanks for your reply. in fact i too felt i sounded like  "I bought a plane. How to get it into the air"?. eventhough i have done only some basic projects with msp. i am not totally strange into the uart side of microcontrollers since i have done it with other microcontrollers like pic, but here i am a beginner. as i am in a hurry and wanted to complete the project within 2 days it would be big help if someone provide me with the simple tutorials showing only the connection pin diagram and connection b/w msp430 and xbee. i have searched every corner in internet for a project containing a simple connection involving them. but i failed miserably. atleast tell me which all pins i want to connect b/w msp and xbee. i  ... please understand me and do help me ....


  • It should suffice to connect DIN/DOUT to the MCU UART pins, as well as VCC/GND. You'll probably discover (fairly quickly) that some of the DIO pins are too useful to ignore, so don't lock yourself in yet. You may or may not need additional PS bypass caps physically close to the unit.

    The units I used (in the ancient days) were configured out of the box as serial-port passthrough devices with an AT parser. The product line has since fragmented, so you'll need to read the book to figure out what your specific units can do.

    I don't know of any G2553-specific software for the XBee, but I haven't looked, either. Google is your friend here. Outside the UART driver you can probably use anybody's upper layer code. There is considerable function provided inside the unit, by setting S-registers in flash; some applications require no external MCU at all. (In this case, you'll want a copy of X-CTU -- the software is free, but you'll need a PC interface board.)

    If you plan on using the Launchpad:

    1) Launchpad Vcc is 3.5+V, which is outside the range of some of the variants (check yours).

    2) The higher (Tx) power modes will tax the tps77301 regulator.

  • is there any project involving these in internet?

  • is adapter required for connecting xbee to msp? or whether we can connect it directly?

  • I know this is an old post but I have the same general question. Maybe I can provide a little more detail and so get some better answers. I am using an MSP430G2553 currently sitting on an MSP-EXP430G2 Rev 1.5 launchpad (but the chip will be mounted directly on the PCB for my final product). I have connected it to an XBee Series 2 that is configured in Transparent Mode (AT Mode) so it will transmit whatever I send to it unless I kick it into command mode with a "+++" sequence where I can send AT commands to query or change the configuration. I am using the simple SoftwareSerialExample to test connectivity. I have connected P1_4 (RX) to the DOUT pin on the XBee and P1_3 (TX) to the DIN pin.

    This example simply sends everything I send from the Serial Monitor to the SoftwareSerial TX and anything coming in from the XBee on the SoftwareSerial RX gets printed to the Serial Monitor. But, I get nothing. Not garbled text, just nothing. I have also tried writing code for the MSP430 that simply sends "+++" and waits for the "OK" response, then sends the "ATVR" command to get the XBee firmware version (a simple test). This also gets nothing.

    If I connect the XBee to a USB-TTL adapter, I can talk to it just fine so I know I have the TX/RX connected properly (and I have tried switching them around just in case). I am setting the baud rate the same (9600) and SoftwareSerial is hardcoded to 8N1 which is the same as I use with the USB-TTL adapter.

    So, anyone have any suggestions for getting an XBee to work with and MSP430? The few examples I have found don't use Energia so I have trouble following their code and I'm not sure I even have the tools to use it if I did. As a side question: does anyone actually use Energia to program the MSP430s?
  • I do understand and share almost the same problem. 
    I have another ti microcontroller. 
    It is not complicated at all. 
    I will try to list a step-by-step. 
    Usually, xbee radios come in transparent mode. This is like a wireless usb cable. You are allowed to talk only between two devices.  comes 

    Also, you should download the XCTU software. It helps with the configuration mode. So, you don't need to type "+++". You can configure and start playing with your radio using this graphic interface.

    You will need 2 radios and a microntroller.
    Microcontroller side: 

    1st) you need to connect your xbee board uart (pins 2 and 3) in a Uart port of your microcontroller. 

    2) write some code using energia (there are some sample codes for that) to read the Uart port you installed the radio. 

    3) write some logic. For example if char = 1, turn on the led. 

    4) send some message. For example: SerialX.print("hello world"). 
    here, SerialX is the Uart port where your radio is installed. 

    PC side:
    2nd) connect the other radio in your pc. Open a serial terminal. 
    Send a known message, and check if your led will turn on/off. 

    Please, let me know if it helps!

    We may should create another  thread, as this one is old. 

**Attention** This is a public forum