D.c motor cotrol using voice commands

Preview:

Citation preview

D.C MOTOR CONTROL BY VOICE COMMANDS

BYDEEPAK NAYAK(0811015087)PRITISH PRADHAN(0811015098)SOBHAN PATTANAIK(0811015099)PALLAVI SINHA(0811015022)

OBJECTIVES

To give Real Time Voice Commands to Computer

To interface Computer and Microcontroller

To Connect Microcontroller and Motor Using Motor Driver IC

To Control Direction of D.C Motor Using Voice Commands

USE OF THE PROJECT

Eliminates Keystrokes and mouse movements

Enables to communicate with machines with voice as with Humans

Helps handicapped persons

Used in military for voice controlled cockpits in Fighter Jets

Hands Free hardware control

BLOCK DIAGRAM

SPEECH PROCESSING

(DRAGON PRO)

SPEECH ACQUISITION

(MICROPHONE)

COMMAND EXECUTION(MATLAB)

DATA TRANSFER (USART)

MICROCONTROLLER

(ATMEGA16)

MOTOR DRIVER(L293D)

D.C MOTOR

COMPUTER

Impedance: 2.2k OhmsSensitivity: -58dB ±3dBDirectivity: Omni-directionalS/N Ratio: More than 60dBOperating Voltage: 4.5VFrequency Response: 100Hz-16kHz

MICROPHONE SPECIFICATIONS

SPEECH PROCESSING

Speech Processing is carried out using Dragon Pro 9 software

The software has three primary areas of functionality: dictation, text-to- speech and command input. The program transcribes the words into the active window at the location of the cursor 

The user has to train the software to get it acquainted with his/her style of speaking

  The Professional version allows creation of custom commands to control programs or functions not built into NaturallySpeaking.

MACRO CREATION & EXECUTION

• Macro records a sequence of mouse movements and keystrokes.

• When we say the name of the Macro Recorder it plays back these mouse movements and keystrokes in the manner in which we recorded them

VOICE COMMAND BY USER

MATCHING WITH USER DEFINED

COMMAND

EXECUTES SEQUENCE OF

EVENTS

USE OF MATLAB

Matlab functions files are created according to required movement of motor.

It is used for REAL TIME CONTROL of the movement of motors through serial port.

It writes the binary commands for motor movement to the microcontroller.

MATLAB COMMANDS

S = SERIAL('PORT','P1',V1,'P2',V2,...)

FOPEN(OBJ)

FWRITE(OBJ, A)

FUNCTION [ O/P_ARGS] = UNTITLED( I/P ARGS)

FCLOSE(OBJ)

DATA TRANSFER

USART(UNIVERSAL SYNCRONOUS AND ASYNCHRONOUS RECEIVER AND TRANSMITTERUSART is a way of communication between the microcontroller and the

computer system or another microcontroller.

MICROCONTROLLER

DEVELOPMENT BOARD

MOTOR DRIVER IC

DIRECTION CONTROL

CONCLUSIOND.C. Motor voice control is the future of human-computer interaction

It frees humans to deal with the imp. tasks rather than wasting time on the hassles of keyboards or mouse

Highly accurate systems are being introduced in homes, industry and battlefields

Recommended