Hi guys
I've already post here to ask a clarification about what to buy to create a control LEDs at distance (Posts on a musician dress) by Arduino protocol Zig Bee. So for that I bought theese things:
Arduino Main Board
XBee Wireless Shield (Arduino Stackable Header 6 and 8 pin )
2 XBee 1mW Wire Antenna
LilyPad XBee
LilyPad Power Supply
I'm at the very start ponit with Arduino, so...
Right now what is the first thing to do?
At the moment I'm using a Mac, but I have also a PC with Windows 7,
I have to configuring the xbee, and I know that it is possible to do with XCT U
But this work also for the lilypad Xbee?
and At the end this is possible to control all with max msp or max4life?
The Lilypad XBee is a breakout board for an XBee, not an XBee variant. Dumb name.
The XBees are series 1, so they should be configured using X-CTU. All you need to set is the PAN ID, MY, and DL values for each XBee. The PAN ID value should be hte same on each XBee.
Pick a value for MY for one XBee, and use that same value for DL on the other XBee.
Some thing like this:
XBee 1 XBee 2
PAN: 2845 2845
MY: 2001 2002
DL: 2002 2001
Then, Serial.print() on the Arduino will provide the data that the XBee on the shield will transmit over the air.
The XBee on the lilypad will receive the data, and put it on the RX pin.
What is going to be connected to the RX pin of the lilypad XBee shield?
I expect that if something is named Lilypad XBee that it is an XBee with added (or reduced) capabilities. The thing being sold under the name Lilypad XBee is NOT an XBee at all.
I expect that if something is designed to act as a breakout board for another device, that the name of that product would include the keywords "breakout board" or "shield" somewhere in the name. The Lilypad XBee IS a breakout board for a standard XBee, but it's name does not reflect that fact.
What happens? Does it not start? Does it pop up a dialog box that says "No way, Jose! I won't do that!" every time you click a button?
But then For configurated the Xbee for the Arduino I use X CTU.
Not sure what this means.
but what I have to do with the X bee and Lilypad Xbee?
Plug the XBee into the lilypad XBee breakout board. Then, connect the lilypad XBee breakout board to the lilypad arduino. Power, ground, TX and RX need to be connected.
And the most important things, I need a Lilypad Arduino to make it work?
You need some kind of microcontroller on the receiving end to process the serial data, and turn the LEDs on and off.
You don't necessarily need on on the sending end, since the PC is able to do all the work.
The software give me an error, just when I do the first TEST/ QUERY said to me "Uable to comunicate with modem", I try unstead to set up the Xbee and in fact at the end when I download the parameters show me the error:
"Failed to open com port, Write Parameters...Failed"
I think that the hardware doesn't work well with Windows 7 (64 bit) because I tried to connect to it with hyperterminal and it didn't answered me to the "AT" command"
And finally To share the signal I need
1 Arduino connected to the Pc (with Xbee and Xbee shield)
1 Lilypad Xbee, to received the signal and 1 Lilypad Arduino to make it work the circuit on the dress?