final year project based on voice recognition
Tue Apr 16 2013, 10:48 am
PROGRAM FOR LED
org 0000h
mov a,p0
cjne a,#01h,next
setb p1.1
next:
nop
end
org 0000h
mov a,p0
cjne a,#01h,next
setb p1.1
next:
nop
end
[ Edited Tue Apr 16 2013, 10:50 am ]
Thu Apr 18 2013, 02:31 pm
dont you think program is too small for testing.. put it in continuous loop such that when right word is detected led lit up.
Instead of doing this way.. First evaluate HM2007 properly. It has got 7-segment display which display status incase any error or something is wrong. If recognition works it will display correct status and the same status should be received by controller. Properly learn and test HM2007 only then work with controller once you are comfortable with voice recognition module.
org 0000h main: mov a,p0 cjne a,#01h,main setb p1.1 ;add some delay here.. clr P1.1 ; then go back to main sjmp main end
Instead of doing this way.. First evaluate HM2007 properly. It has got 7-segment display which display status incase any error or something is wrong. If recognition works it will display correct status and the same status should be received by controller. Properly learn and test HM2007 only then work with controller once you are comfortable with voice recognition module.
Mon Apr 29 2013, 02:08 pm
Powered by e107 Forum System