Arduino or Parallax Propeller simple spectrum analyzer (hardware of your choice)
$30-250 USD
Adjudicado
Publicado hace más de 11 años
$30-250 USD
Pagado a la entrega
I need program for a micro-controller with electret microphone push-button and 3 LEDs that works like next:
1 - user presses pushbutton
2 - device lights red LED for 3 seconds
3 - while red LED on the device listens to microphone and store sound pattern in RAM
4 - device switches the red LED off and switch green LED on
5 - while green LED is on device listens to microphone to match current sound to the pattern that was stored in RAM
6 - once the match found the device switch off the yellow LED and switch on green LED
The choice of MC could be Arduino Uno or Parallax Propelled demo board (this one has microphone and LED already on the board)
Proposed algorithm:
1. analyze spectrum of short (2-3 seconds) audio fragment of sound. The sound fragment could be a simple mobile phone ringtone
2. store main frequencies of spectrum and period when the frequency exists into device memory
3. switch to "waiting mode" and "listen" to spectrum till matching pattern of frequencies is found.
Existing software that can be used for the project:
- for Arduino there is a program that does FTT check it at [login to view URL] (or even faster [login to view URL] )
- for Parallax Propeller there is a program in the ViewPort named "Spectrum of 2 [login to view URL]"
Please let me know your price and what hardware you can build such device on?
How accurate should be the detection?
I can do a nice simple detection in AVR (an attiny85 for example, I love them to build small devices!) or Arduino if you prefer for knocks/rhythms.