Hi there!
I want to control my PIC16F877 by voice commands (speech recognition).
And use it as smart house application
plz help me to find the best speech recognition circuit to be sensitive to my voice and cheap in the same time.
hi amin
this is one easy options , other option for this project is :
-If you need best result in your project , you can use DSP (Digital signal processing - Wikipedia, the free encyclopedia) . DSP is a powerful chip for signal processing and have many option for your project.
-in PIC16F877 program define some variable and in a while read ADC value and store that in variable . EX.
value = read_adc();
}
printf("sampling has been done");
break;
}
in this program ,when pinb.0 is set sampling started and PIC16F877 read ADC(0) value , the ADC value take from a microphone , it connected to pin adc(0) with a noise filter .
after the for statement has been done , we have 50 sample and can store that for comparison with next input voice . EX:
value1 = read_adc();
if ((value1 >value -5) & (value1 <value +5))
++test;
}
printf("comparison has been done");
break;
}
if (test>45)
set pinx.x
..........
in in this stage , when pinB.1 is set , Micro controller start sampling from adc(0) value and comparison that with last stored sample . in this status if value1 =value or value1>value-10 or value1<value+10 then condition is ok and test=test+1 ...