Microcontroller › 8051 › please help me in coding as iam not aware of embedded c programming
- This topic has 6 replies, 3 voices, and was last updated 11 years ago by
SHAH DISHANT H..
-
AuthorPosts
-
March 19, 2014 at 4:24 am #2958
jainusietk
Participantas iam pursing final year b.tech in electronics and communication branch and doing project on voice recognition security system please help me in coding part the components used in this project are
1.speech recognition kit HM2007.
2.8051 microcontroller development board.
the programming is in embedded c and it is to microcontroller
March 19, 2014 at 10:39 am #11330Ashutosh Bhatt
Participantdear friend,
first make ur interfacing diagram
what u want to do actually?
what is ur output?
March 21, 2014 at 6:08 am #11347jainusietk
Participantbrief description about the input and output of my project
iam designing the project for security system at the o/p iam placing a motor as if the input command is given as “open” then the motor will rotate in clockwise direction and as the command “close” is given wysiwyg_imageupload:11905:height=511,width=447then it will rotate in anticlock wise direction in the below figure load represents motor please help in coding in embedded c
March 21, 2014 at 7:49 am #11348Ashutosh Bhatt
Participant1st try to get output from your speech module
what kind of different outputs you get for different voice commands like “open” “close” etc.
you told you are making kind of security system. what kind of security is there?
does your speech module identifies any person’s voice? and it operates on only that persons’s voice?
why do u require LCD?
March 22, 2014 at 5:34 am #11355jainusietk
Participantthe speech recognition module recognises only a single persons voice firstly my voice is to be trained to the kit .according to the coomands the programming is to be done to the microcontroller then the motor will show the result by rotating in either clock wise or anticlock wise.the purpose of using lcd is to show what are the commands we are supposed to access we have to show the commands to the external na so i placed lcd
March 23, 2014 at 5:29 pm #11360Ashutosh Bhatt
Participantin that case its very simple
suppose you are getting 8-bit digital output for different voice commands from your speech module. e.g. 01h for “open” 02h for “close”
so you take this 8-bit output as input to your controller on any one of the port
then you compare the port input with this codes 01h or 02h.
if its 01h rotate motor clockwise and vice versa.
also display the command on LCD when you get 01h or 02h on input port
March 25, 2014 at 9:10 am #11384SHAH DISHANT H.
ParticipantHi,
Once you have trained the kit, whenever you will speak the same word, it will send you corresponding data on UART.
Program microcontroller to receive data and check what data you have received.
Drive motor as per the received data.
-
AuthorPosts
- You must be logged in to reply to this topic.