Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

HM2007 and 8051 voice recognition system

Status
Not open for further replies.

pradeep$123

Newbie level 3
Joined
Sep 18, 2013
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
34
We are using 8051 microcontroller and HM2007 voice recognition IC for our project. We need to interface 8051 microcontroller and the HM2007 voice recognition board. The board has 74LS373 latch IC, which has an 8 pin output. The output is given to the 7448 decoder and also to the input ports of the 8051 microcontroller. When the 7 segment display displays 01, the output port (say P1.0) should be high while the other pins should be low. When the 7 segment displays 02, the output port (say P1.1) should be high while the other pins being low. Similarly this process should happen for the display of 01 to 09 for the output pins (say P1.0 to P1.7). Please help us with the coding.
 

In between 01 and 09 there are 9 counts but there is only 8 pins in port 1 (P1.0 to P1.7)...

Is that you are using this kit ???

SR1.GIF
 

I am using only 8 outputs. For extra outputs ports can be increased. And yes that is the circuit we are using.

- - - Updated - - -

the output pins of latch ic74LS373 is given as input to the ports of 8051 (say P0.0-P0.7). it produces the HEX code (8421) if its output is 00000001 the output pin 1.0 should at high while for other status it should be 0. i m using the output of 8051 ic to control the appliances using driver circuits pls suggest me the programming codes for 8051 using Keil sftware uvision3
 

you are giving 4 inputs to 8051 or 8 inputs??


Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <REG51.H>
 
void main()
{
 
P2 = 0xFF; // assigning port 2 as input port
 
while(1)
{
P1 = 1 << (P2 % 8); // '<<' is shift operator
}
 
}



this all the program you want
 
Last edited:

its working na but the output pin p1.0 is high even when the output is 0
 


Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <REG51.H>
 
void main()
{
 
P2 = 0xFF;     // assigning port 2 as input port
 
while(1)
{
if(P2 % 8)
P1 = 1 << (P2 % 8);      // '<<' is shift operator
else 
P1 = 0;
}
 
}

 

how does hm2007 recognizes voice input?
i.e self dependent or independent?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top