Go Down

Topic: XBee ADC standalone (Read 772 times) previous topic - next topic


With just a couple of AT commands I've got my XBee sending audio from a Mic at 1khz rate.  Right now it's attached to the Uno, but the Uno is doing nothing.  What pins do I need to provide for the XBee to work like this on it's own?  Gnd, Pwr, signal?  Anything else?


If I understand you correctly, you got it.  Just supply ground and power, the XBee will do the rest.  I have an XBee (series 2) that is a thermometer.  I connected the temperature sensor to the XBee and supplied power and ground.  It has been working for several months this way.  I got the power from a wall wart and just stuck the XBee to the side of the wall wart with a piece of double sided tape.  It was a 5V wall wart so I have an adapter board to mount things on.

Isn't it cool that we can do that.  Although, there are very few projects out there that have done this.  One of these days I want to get a rechargeable battery, solar cell and do the same thing without the wall wart.  That would be fun.


No caps or resistors needed?  Depending on the signal of course.  It is very cool! 

But 1khz is not fast enough for audio.  It is the maximum for the XBee alone.  Instead I'm oversampling at 32khz, then sending 4khz after averaging every 8 samples.  This way I don't need a low pass filter.  I could choose to send 8khz or 20khz data every other buffer.  This is used to do a frequency transform.

Someday I will think of an application for the XBee standalone...

Go Up