Microcontroller › 8051 › please help me in coding as iam not aware of embedded c programming › in that case its very
March 23, 2014 at 5:29 pm
#11360
Ashutosh Bhatt
Participant
in 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