implementing bandpass filtering from an analog audio input

I'm trying to create a bandpass filter (0.5-1 kHz) digitally on the arduino, and this input will drive a dc motor if the frequency of the input sound is within the range.


Have got anywhere? Or do you want to know where to start?


Note that floating point can be very slow, fixed point arithmetic might be worthwhile.

Look at:-

DSP filter code designer