High-speed audio sampling

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

High-speed audio sampling

Postby ajcoyote » Mon Apr 30, 2012 5:16 pm

Hello,

I am a newb here, and I must say I love Arduino! I am a scientist who studies bats and I am trying to build by own "bat detector" which is a device that can record audio frequencies up to 125 kHz (250 ksps). From my research this is not possible with an Arduino, but it does seem possible with other devices, possibly a DE0-Nano, chipKIT Uno32 or NETDUINO. The key is I need to sample and save this data, either streaming onto a laptop or large SD cards. If I could figure this out it would be pretty awesome, as the devices for doing this run between $650 and $1500. But, since I'm a newb I need some help. Does anyone have a suggestion for which microcontroller or FPGA is best suited for this application? Also, is it possible to precisely set the sampling rate when pushing the ADC to such high rates on these devices? Any comments would be much appreciated!
ajcoyote
 
Posts: 1
Joined: Mon Apr 30, 2012 5:05 pm

Re: High-speed audio sampling

Postby EasternStarGeek » Thu May 03, 2012 10:42 pm

Have you considered down-converting the ultrasonic signal made by the bats you are trying to detect?

The way this is done is to mix your incoming audio with a local oscillator running at some nominal fixed frequency. Choose the frequency to lie somewhere midway between the lowest and highest frequency you are trying to detect. The product of the incoming audio with your local oscillator will result in sum and difference frequencies. By low-pass filtering of the mixer output, you should be able to recover the difference between the local oscillator and the incoming audio, which will be much lower in frequency than the orginal signal, thereby placing fewer demands on your chosen processor.

Look up "heterodyning" for more information about this technique.

This is the same technique that is used by ultrasonic "sniffers." Such devices down-convert ultrasonic signals into the audible range so that they can be heard in headphones. A tunable local oscillator can be used to measure the nominal incoming frequency by tuning until a "null" is heard (or more precisely, not heard)

This principle is used in many radio receivers (superhet design) as well as metal detectors. It can be accomplished with analog circuitry.

Good luck!
EasternStarGeek
 
Posts: 245
Joined: Mon Dec 13, 2010 12:39 pm
Location: Upper Eastern Tennessee

Re: High-speed audio sampling

Postby rj44319 » Fri May 04, 2012 12:25 pm

Make sure reference is good ...like a oven crystal
rj44319
 
Posts: 130
Joined: Wed Feb 25, 2009 9:27 pm

Re: High-speed audio sampling

Postby thefatmoop » Sat May 05, 2012 10:52 am

there must be a computer card that could do this for a reasonable price. Some of the dsPICS have very high ADC sampling rates.

10-bit 1 Msps Analog-to-Digital Converter
http://www.microchip.com/wwwproducts/De ... e=en010337

If you're new to micros then ignore that...pics aren't very friendly
thefatmoop
 
Posts: 221
Joined: Tue Aug 19, 2008 3:36 pm


Return to General Project help

Who is online

Users browsing this forum: No registered users and 9 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]