MSP430 LaunchPad - XBee

960 views
Skip to first unread message

xBloodyxSkull

unread,
Aug 9, 2010, 10:01:02 PM8/9/10
to TI Launchpad
Is it possible to connect the MSP430 LaunchPad to an XBee Device
through serial ports?

NJC MSP430 LaunchPad Blog

unread,
Aug 11, 2010, 6:04:20 AM8/11/10
to TI Launchpad
What do you mean by serial ports? Is it an UART XBee device you want
to hook up to the MSP430 that's being programmed on the LaunchPad?

-NJC
_______________________________
http://msp430launchpad.blogspot.com

xBloodyxSkull

unread,
Aug 12, 2010, 6:07:16 PM8/12/10
to TI Launchpad
Yes it is a UART XBee and I want to pass the Transmit and Receive
lines to it...

On Aug 11, 5:04 am, NJC MSP430 LaunchPad Blog
<nicholasjc...@gmail.com> wrote:
> What do you mean by serial ports? Is it an UART XBee device you want
> to hook up to the MSP430 that's being programmed on the LaunchPad?
>
> -NJC
> _______________________________http://msp430launchpad.blogspot.com

NJC MSP430 LaunchPad Blog

unread,
Aug 13, 2010, 3:10:04 AM8/13/10
to TI Launchpad
It is possible, but none of the chips which come with the LaunchPad
have a hardware UART. In my opinion, the easiest way would be to get
an MSP430 which has a hardware UART, put it on a breadboard, and hook
it up to the LaunchPad to program it. Otherwise you will have to write
a software UART which is possible, but be warned, its easier to write
a transmit only software UART than a full duplex software UART.

On my blog I have a post about software UART which does transmit only.

http://www.msp430launchpad.com

Hope that helps,

NJC
_____________________________
http://www.msp430launchpad.com

xBloodyxSkull

unread,
Aug 14, 2010, 9:40:38 AM8/14/10
to TI Launchpad
Watch the first 2 minutes of this video - http://www.youtube.com/watch?v=GIUcMvukRXs
He says that there are two pins that have the functionality to
transmit and receive data - P1.1 and P1.2...
Isn't this a hardware UART that can be used with a XBee

On Aug 13, 2:10 am, NJC MSP430 LaunchPad Blog
<nicholasjc...@gmail.com> wrote:
> It is possible, but none of the chips which come with the LaunchPad
> have a hardware UART. In my opinion, the easiest way would be to get
> an MSP430 which has a hardware UART, put it on a breadboard, and hook
> it up to the LaunchPad to program it. Otherwise you will have to write
> a software UART which is possible, but be warned, its easier to write
> a transmit only software UART than a full duplex software UART.
>
> On my blog I have a post about software UART which does transmit only.
>
> http://www.msp430launchpad.com
>
> Hope that helps,
>
> NJC
> _____________________________http://www.msp430launchpad.com

NJC MSP430 LaunchPad Blog

unread,
Aug 16, 2010, 4:17:37 AM8/16/10
to TI Launchpad
It's true, you can turn those pins into a UART making the device work
with an XBee. BUT, it is not a hardware UART, there are no MSP430s
that have a hardware UART and come in DIP. I have written up a program
which can receive and send data over UART (half duplex though), and
will write a post on it when I have enough time to test it thoroughly.
Currently I've been playing with the 5xx, which is why I haven't
written up a new post lately. If you are looking for a powerful chip
to hook up to an XBee and to have it do many other things, I would
very much recommend any of the 55xx devices, though I'm not sure I
would recommend TI's development board; unless you don't have enough
experience/motivation to make your own boards (and can't solder the
small packages).

Hope that helps.

-NJC
____________________________
http://www.msp430launchpad.com

On Aug 14, 3:40 pm, xBloodyxSkull <xbloodyxsk...@gmail.com> wrote:
> Watch the first 2 minutes of this video -http://www.youtube.com/watch?v=GIUcMvukRXs

xBloodyxSkull

unread,
Aug 16, 2010, 7:10:26 AM8/16/10
to TI Launchpad
I need to be able to send temperature data from a very low powered
microcontroller and hook it up to an XBee so I can send data
wirelessly to a computer. It should consume very low power which is
why I decided to use the LaunchPad chip rather than an Arduino (which
I currently use). What do you think about this?

On Aug 16, 3:17 am, NJC MSP430 LaunchPad Blog
<nicholasjc...@gmail.com> wrote:
> It's true, you can turn those pins into a UART making the device work
> with an XBee. BUT, it is not a hardware UART, there are no MSP430s
> that have a hardware UART and come in DIP. I have written up a program
> which can receive and send data over UART (half duplex though), and
> will write a post on it when I have enough time to test it thoroughly.
> Currently I've been playing with the 5xx, which is why I haven't
> written up a new post lately. If you are looking for a powerful chip
> to hook up to an XBee and to have it do many other things, I would
> very much recommend any of the 55xx devices, though I'm not sure I
> would recommend  TI's development board; unless you don't have enough
> experience/motivation to make your own boards (and can't solder the
> small packages).
>
> Hope that helps.
>
> -NJC
> ____________________________http://www.msp430launchpad.com

NJC MSP430 LaunchPad Blog

unread,
Aug 17, 2010, 3:21:59 AM8/17/10
to TI Launchpad
The MSP430 is almost an industry default for low power designs. I
think you chose the right chip, and I think you will be able to have a
program up and running quite quickly with little problems. Do you only
need to send data from the MSP430? If so, then it is really really
simple to get up and running, and almost all the example code you need
is on my blog. I have an ADC post coming soon. Just keep in mind, the
XBee is fairly power hungry compared to the MSP430, how often do you
need to send data? How often do you need to sample the temperature? Do
can you send them in packets? Or do you want them sent in real time?

-NJC
________________________
http://msp430launchpad.com

xBloodyxSkull

unread,
Aug 17, 2010, 10:32:03 AM8/17/10
to TI Launchpad
I only need to send temperature data. I was thinking about it sending
temperature data every 3 to 4 seconds maybe. What is the difference
between sending the data in packets and in real time? Yea I've read
your blog about transmitting data via a software UART from the
LaunchPad which is probably what I am going to use for my project.

On Aug 17, 2:21 am, NJC MSP430 LaunchPad Blog
<nicholasjc...@gmail.com> wrote:
> The MSP430 is almost an industry default for low power designs. I
> think you chose the right chip, and I think you will be able to have a
> program up and running quite quickly with little problems. Do you only
> need to send data from the MSP430? If so, then it is really really
> simple to get up and running, and almost all the example code you need
> is on my blog. I have an ADC post coming soon. Just keep in mind, the
> XBee is fairly power hungry compared to the MSP430, how often do you
> need to send data? How often do you need to sample the temperature? Do
> can you send them in packets? Or do you want them sent in real time?
>
> -NJC
> ________________________http://msp430launchpad.com

Syd Kahn

unread,
Aug 17, 2010, 12:40:42 PM8/17/10
to ti-lau...@googlegroups.com
since the 430 does spi - someone needs to build a usb/spi interface - bet that would sell like hotcakes 
---------------------------------------------------------------------
http://www.Whatididwas.com , http://www.sydkahn.com ,
http://whatididwas.blogspot.com

Rogan Dawes

unread,
Aug 17, 2010, 1:50:56 PM8/17/10
to TI Launchpad
On Aug 17, 6:40 pm, Syd Kahn <sydk...@gmail.com> wrote:
> since the 430 does spi - someone needs to build a usb/spi interface - bet
> that would sell like hotcakes
>

You mean something like this?

http://www.cypress.com/?id=1133

Rogan Dawes

unread,
Aug 17, 2010, 1:58:57 PM8/17/10
to TI Launchpad

Syd Kahn

unread,
Aug 17, 2010, 7:17:07 PM8/17/10
to ti-lau...@googlegroups.com
WOW - some of those options are quite salty...  I wonder if this would be a better choice (they even throw in three target boards that have itty bitty msp430s on them


EZ430-F2013.jpg

---------------------------------------------------------------------
http://www.Whatididwas.com , http://www.sydkahn.com ,
http://whatididwas.blogspot.com


NJC MSP430 LaunchPad Blog

unread,
Aug 18, 2010, 3:41:49 AM8/18/10
to TI Launchpad
xSkull,

There are multiple benefits to sending data in packets. The main
benefit is in power consumption, it is better to enable the XBee in
longer bursts every minute or even more, than once every 4 seconds or
so. The idea is to keep the XBee off as much as possible to save
power.

Syd,

The EZ-430, which is a great board is not much different from the
LaunchPad. The serial interface like the LaunchPad is very limited in
speed. FTDI has chips which go from full speed USB to SPI. Depending
on what kind of speed you are trying to achieve you have quite a few
different options. One thing I realized though, is that it is very
very hard to reach even half of the 12Mbps.

FYI: Just wrote a new post last night for a bi-directional half-duplex
software UART.

-NJC
______________________________________
http://msp430launchpad.com

On Aug 18, 1:17 am, Syd Kahn <sydk...@gmail.com> wrote:
> WOW - some of those options are quite salty...  I wonder if this would be a
> better choice (they even throw in three target boards that have itty bitty
> msp430s on them
>
> http://www.ti-estore.com/Merchant2/merchant.mvc?Screen=PROD&Product_C...
>
> <http://www.ti-estore.com/Merchant2/merchant.mvc?Screen=PROD&Product_C...>[image:
> EZ430-F2013.jpg]
> ---------------------------------------------------------------------http://www.Whatididwas.com,http://www.sydkahn.com,http://whatididwas.blogspot.com
>
> On Tue, Aug 17, 2010 at 1:58 PM, Rogan Dawes <rogan.da...@gmail.com> wrote:
> > On Aug 17, 7:50 pm, Rogan Dawes <rogan.da...@gmail.com> wrote:
> > > On Aug 17, 6:40 pm, Syd Kahn <sydk...@gmail.com> wrote:
>
> > > > since the 430 does spi - someone needs to build a usb/spi interface -
> > bet
> > > > that would sell like hotcakes
>
> > > You mean something like this?
>
> > >http://www.cypress.com/?id=1133
>
> > Or these?
>
> >http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus#Hardware...
Reply all
Reply to author
Forward
0 new messages