I'm not saying the Xbee shield caused the fault, but I also can't say it didn't. The Xbee I had connected to the xbee shield went bad. I didn't think anything of it and bought another one and installed it. Now this xbee is dead too. I have 1 Xbee left that I use as the transmitter that is still good. This good xbee transmits 2 (ADC) voltages to the receiving Xbee mounted on the xbee shield. From there 2 (PWM) wires go into the Arduino analog in. Pretty simple except I keep breaking xbee's! Before using the xbee's, I had 2 wires from the transmitter to the receiver and everything worked just fine.
The only fault I can think of is the 5V coming into the shield is "dirty". I have a 5 V Regulator and it stays at 5.03-5.07V with the motors running. Or something on the shield is failing? The buffer chip? Any ideas on how to solve this would be helpful. I'm sick of blowing up Xbee's! Thanks.
2 dead xbee's
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23910
- Joined: Mon Apr 21, 2008 2:33 pm
Re: 2 dead xbee's
Make sure the xbee is getting regulated 3.3v
-
- Posts: 13
- Joined: Fri Nov 07, 2008 1:16 am
Re: 2 dead xbee's
The xbee shield is providing me with the 3.3V. I've checked it and it's working properly.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: 2 dead xbee's
are all the inputs, including any analog inputs no greater than 3.3V?
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: 2 dead xbee's
you can always try to reset them to factory levels with
ATRE
ATWR
ATRE
ATWR
-
- Posts: 13
- Joined: Fri Nov 07, 2008 1:16 am
Re: 2 dead xbee's
I think I have figured out the problem. It has nothing to do with the Xbee. I hooked up an o'scope to the 5V source with the motors off. I get a nice clean 5V signal. I then turned on the motors and watched spike after spike. It was constant 6-7V spikes. I was able to catch a few of them on the o'scope. I've read people using opto-isolators to fix this.
As for the xbee themselves. I just found the commands ATRE and ATWR. What's the best way to send it those commands? Can I use the X-CTU software or the terminal in linux/osx? Can I send them using the Arudino's serial prompt?
As for the xbee themselves. I just found the commands ATRE and ATWR. What's the best way to send it those commands? Can I use the X-CTU software or the terminal in linux/osx? Can I send them using the Arudino's serial prompt?
- Attachments
-
- PS_fault.jpg (92.52 KiB) Viewed 1939 times
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: 2 dead xbee's
motors connected to the same power supply as a xbee (or any microcontroller) can really mess them up. i always suggest seperate power supplies for motors because they are really destructive!
you can try to connect with a serial terminal like the one in XCTU
the arduino terminal wont work well i think, its much too sloggy
you can try to connect with a serial terminal like the one in XCTU
the arduino terminal wont work well i think, its much too sloggy
-
- Posts: 13
- Joined: Fri Nov 07, 2008 1:16 am
Re: 2 dead xbee's
Yes, I've been learning the hard way about why you should have 2 different power supplies. But since I got just one I'm trying to do the best with what I got. I have been looking at opto-isolators and capacitors to prevent spikes. Wouldn't happen to know any good sites to help fill in the blanks?
I'll try the XCTU program tomorrow. Thanks for the help.
I'll try the XCTU program tomorrow. Thanks for the help.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: 2 dead xbee's
cant think of any but you're on the right track for sure!
-
- Posts: 13
- Joined: Fri Nov 07, 2008 1:16 am
Re: 2 dead xbee's
Still can't communicate with the Xbee. It doesn't respond in the terminal either. Anyway to try and reset it back to factory without having to use a computer?
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: 2 dead xbee's
sadly no
does it blink any LEDs?
does it blink any LEDs?
-
- Posts: 13
- Joined: Fri Nov 07, 2008 1:16 am
Re: 2 dead xbee's
I didn't hook up the Led's this time. I'll be a day or two before I get around to messing around with the xbee. I'll check them as soon as I can.
Please be positive and constructive with your questions and comments.