Pages: [1]   Go Down
Author Topic: XBee ADC standalone  (Read 571 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Edison Member
*
Karma: 8
Posts: 1341
If you're not living on the Edge, you're taking up too much space!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?

Logged

If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

New River, Arizona
Offline Offline
God Member
*****
Karma: 19
Posts: 935
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Trying to keep my house under control http://www.desert-home.com/

Offline Offline
Edison Member
*
Karma: 8
Posts: 1341
If you're not living on the Edge, you're taking up too much space!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...


Logged

If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

Pages: [1]   Go Up
Jump to: