View previous topic :: View next topic |
Author |
Message |
edi
Joined: 22 Dec 2003 Posts: 82
|
Voice/sound recognition |
Posted: Sun Sep 19, 2004 11:48 pm |
|
|
Hi,
Any idea how to recognize specific sound or voice using PIC 16Fxxx device? Small circuit beside the PIC... is also possible.
(Need to recognize just one kind of sound/voice not simple frequency)
Edi |
|
|
Haplo
Joined: 06 Sep 2003 Posts: 659 Location: Sydney, Australia
|
|
Posted: Mon Sep 20, 2004 12:04 am |
|
|
What do you exactly mean by 'Recognize'? |
|
|
Guest Guest
|
Voice recognition |
Posted: Mon Sep 20, 2004 12:43 am |
|
|
Get a microphone, hook it up to the PIC. Turn on the PIC. Speak into the mic.
DONE. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
edi
Joined: 22 Dec 2003 Posts: 82
|
|
Posted: Mon Sep 20, 2004 2:26 am |
|
|
I want to activate an alarm just if a specific sound heard. Not for any noise!
Of course a MIC is needed and amplifier. |
|
|
mkent
Joined: 09 Sep 2003 Posts: 37 Location: TN, USA
|
|
Posted: Mon Sep 20, 2004 5:29 am |
|
|
Look up LM567; it may be what you want. Mick |
|
|
yerpa
Joined: 19 Feb 2004 Posts: 58 Location: Wisconsin
|
|
Posted: Mon Sep 20, 2004 7:57 am |
|
|
You have a lot of work ahead of you. Beyond simple filtering and amplitude detection, you won't have much of an intelligent conversation with a PIC. Maybe two commands at best. You've got to be more specific about what your "specific sound" is. DTMF detection is possible and you can search Microchips app notes for that. Good luck. |
|
|
John Morley
Joined: 09 Aug 2004 Posts: 97
|
|
Posted: Mon Sep 20, 2004 8:24 am |
|
|
Hi,
There is an IC available that can "learn" a small number of spoken works, and has a microcontroller interface. I'm at the office now, and the info on this is at home, but I will post a followup later on. If I remember correctly, I got it at Jameco or Digikey. _________________ John Morley |
|
|
John Morley
Joined: 09 Aug 2004 Posts: 97
|
|
Posted: Tue Sep 21, 2004 5:50 am |
|
|
Hi,
The kit I was referring to is made by Sensory, and is called the VoiceDirect Speech Recognition Kit. You can find their website here: www.sensoryinc.com
Good Luck! _________________ John Morley |
|
|
Trampas
Joined: 04 Sep 2004 Posts: 89 Location: NC
|
|
Posted: Tue Sep 21, 2004 7:10 am |
|
|
One trick you can do is connect a mic up to an amp, then run the output through 3 or 4 band pass filters with high gain amplifiers. Then run these band pass outputs to RB or external interrupt pins.
Then when that frequency of signal comes in it triggers interrupt which can be used for limited speech recongition.
Trampas |
|
|
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
|
|
Posted: Tue Sep 21, 2004 7:11 am |
|
|
I remember reading an article quite a few years ago about someone who could control their robot by whistling. I think they sent a 4 bit command by first whistling a reference tone, then whistling the bits either higher or lower in frequency than the reference. They found they couldn't reliably whistle any specific tone, but they could go above and below a reference. Each command quickly becomes a little 5 note tune that is easy to memorize.
It was probably done in assembly for a 6502 or an 8085 chip. Maybe using one of those dog commanding whistles, or a harmonica might make it easier, at least to start. _________________ The search for better is endless. Instead simply find very good and get the job done. |
|
|
Guest Guest
|
Voice/sound recognition |
Posted: Tue Sep 21, 2004 7:21 am |
|
|
I think I remember the article about whistling for robot and remote control. Reliability was an issue. Its not easy to whistle a Manchester-encoded version of "When the saints go marching in" in real time. |
|
|
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
|
|
Posted: Tue Sep 21, 2004 9:41 am |
|
|
It depends on how many commands are needed. If you can get away with four commands that is only two bits plus one as checksum for four tones total. Of course certain codes need to be avoided so you don't get slapped in mixed company.
Another option might be whistling Morse code. There must be plenty of Morse decoding code for PICs out there. _________________ The search for better is endless. Instead simply find very good and get the job done. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Tue Sep 21, 2004 10:06 am |
|
|
Quote: | I want to activate an alarm just if a specific sound heard.
Not for any noise! Of course a MIC is needed and amplifier. |
I think you're trying to do something like this product. It has a little
microphone, and it responds to certain tones, and then sounds an alarm.
http://www.keyringer.com/ |
|
|
Sergio
Joined: 16 Oct 2003 Posts: 11 Location: Arkansas, USA
|
|
Posted: Tue Sep 21, 2004 9:05 pm |
|
|
John,
I was also looking at the Sensory chip for an upcoming project. Have you played around with it yet? _________________ Sergio |
|
|
|