6
\$\begingroup\$

I have an XBee and an XBee Arduino shield.

Can I program my XBee through my Arduino Twenty-Ten and an XBee shield?

Can I do anything with just one XBee?

\$\endgroup\$

3 Answers 3

2
\$\begingroup\$

Recommend you get yourself one of these. It's well worth the price and will save you a lot of headaches. Programming can get complex, if you're doing it manually instead of using X-CTU. Since you really only have to do it once, it's much easier to tweak the settings in X-CTU and not bother with the programming code within your application.

About the only thing you can really do with a single XBee is learn about it: fiddle with the settings and whatnot. When you've learned all you can, you'll have to buy another one. :)

\$\endgroup\$
1
  • 1
    \$\begingroup\$ One Explorer dongle amd 1 more XBee to come. Thanks for your help. \$\endgroup\$ Commented Jan 12, 2011 at 22:55
2
\$\begingroup\$

The XBee is a ZigBee module with a serial interface. It is designed to act as a radio communication peripheral for a microcontroller or PC.

The program code inside of the module cannot (without specialised tools) be modified, instead, you're limited to the commands listed in the user guide.

The XBee can be controlled either via your Arduino or with a PC and serial port.

A single unit is not very useful, unless you have access to other ZigBee devices.

\$\endgroup\$
4
  • \$\begingroup\$ No, you can program in custom firmware; see section 8.5 of the manual. The XBee modules actually have some GPIO and A/D functionality on them. However, I think you're pretty much on your own when it comes to putting together this firmware. \$\endgroup\$ Commented Jan 12, 2011 at 0:35
  • \$\begingroup\$ for firmware help, TI would be the resource to check out focus.ti.com/analog/docs/… \$\endgroup\$
    – jsolarski
    Commented Jan 12, 2011 at 2:23
  • \$\begingroup\$ @jsolarski so far as I know, the chip in Digi's XBee is a Freescale part running Ember ZNet, not TI \$\endgroup\$ Commented Jan 12, 2011 at 7:50
  • \$\begingroup\$ My mistake i thought the Xbee's had CCxxxx chips in them not ember. \$\endgroup\$
    – jsolarski
    Commented Jan 12, 2011 at 10:56
1
\$\begingroup\$

What I did is to put your Wireless shield in USB mode and then plug the Arduino Reset on the GND like that :

Configure Arduino Uno and Wireless shield as a SparkExplorer - SIDE view Configure Arduino Uno and Wireless shield as a SparkExplorer - TOP view

Then you can configure your XBEE with picocom or X-CTU

Edit

Much more simpler, just upload this to the arduino board :

void setup() {}
void loop() {}

Then set your Wireless switch on USB and that's it !

\$\endgroup\$
1
  • \$\begingroup\$ Unfortunately I was not able to get XCTU to recognize the Xbee (through the Xbee Shield) by uploading that code to the board. But your first solution worked perfectly for me! Just had to connect Reset and Ground on the Arduino and start the discovery process on XCTU. Thanks! \$\endgroup\$ Commented Oct 24, 2015 at 19:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.