5
\$\begingroup\$

I have just bought a whole bunch of Xbee Pro S2Bs and Freetronics Eleven boards.

When I set up the XBees in AT mode, the Arduino constantly resets. At least that's what I think it is doing - the D13 LED keeps flashing (3 times in quick succession, once per second) and the sketch won't run.

In API Mode it seems fine, but I want to use AT mode for simplicity - anyone have any ideas why AT mode would be causing the Arduino to reset?

I have already asked this question on the Arduino forum but haven't got anywhere yet ...

http://arduino.cc/forum/index.php/topic,60285.0.html

asked May 6, 2011 at 0:39
\$\endgroup\$

2 Answers 2

2
\$\begingroup\$

Is the Arduino board's regulator rated for the XBee Pro's current draw?

I know Sparkfun had some issues with this, where their XBee -> computer interface board had a 150ma 3.3v regulator, and the XBee Pro needs ~ 215mA.

If the 3.3V regulator is too small, the XBee could be browning-out the local power supply as it tries to power on.


How are you connecting the XBee to the Arduino board anyways? From what I could see looking up the Freetronics board you mentioned, it doesn't have an XBee socket.

Anindo Ghosh
50.8k8 gold badges108 silver badges205 bronze badges
answered May 7, 2011 at 5:43
\$\endgroup\$
1
  • \$\begingroup\$ Thanks for your answer. I have since worked out that the XBee works OK in that mode with an earlier version of the Freetronics Board the Twenty-Ten. It's connected using a Sparkfun XBee shield. Now the issue is .. why would it work with the Twenty-Ten and not the Eleven!! They are supposed to be basically the same thing... maybe something to do with the power draw as you suggest. \$\endgroup\$ Commented May 12, 2011 at 15:40
0
\$\begingroup\$

Is this a full serial interface? If so, you might need a pull-up resistor to keep the DTR high - Arduino will reset if it's pulled low (used by the IDE for programming).

More details here: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1213719666/28#28

answered May 6, 2011 at 5:46
\$\endgroup\$
4
  • \$\begingroup\$ Thanks for your answer. I did run out and get some resistors to try this solution but it still didn't work.I have since worked out that the XBee works OK in that mode with an earlier version of the Freetronics Board the Twenty-Ten. It's connected using a Sparkfun XBee shield. Now the issue is .. why would it work with the Twenty-Ten and not the Eleven!! They are supposed to be basically the same thing... \$\endgroup\$ Commented May 12, 2011 at 15:40
  • \$\begingroup\$ From the schematics Eleven and Ten - the reset circuit is different because the FT232 has been replaced by the AtMega8U2. Also, it seems on the Eleven the CTS triggers the reset, while on the Ten its DTR. The two are notable different. Have a look at the schematics. Is bridge SJ1 (used to enable/disable the serial/programming reset) open or closed on both? \$\endgroup\$ Commented May 13, 2011 at 1:07
  • \$\begingroup\$ One more thing you can try is to use softserial on different AtMega pins - this would eliminate any issues with the boards serial implementation. \$\endgroup\$ Commented May 13, 2011 at 1:13
  • \$\begingroup\$ Last one - have a look here: arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1217201592/0 \$\endgroup\$ Commented May 13, 2011 at 1:20

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.