Title: Voice Controlled Cursor
1Voice Controlled Cursor
2PS/2 Physical Interface
6-pin Mini-DIN (PS/2) Pin 1 Data Pin 2 Not
Implemented Pin 3 Ground Pin 4 Vcc (5V) Pin
5 Clock Pin 6 Not Implemented
3PS/2 Electrical Interface
PS/2 Electrical Interface
Data and Clock lines are both open-collector with
pull-up resistors to 5V. Both lines are
normally held at 5V, but can be pulled to ground
by asserting logic "1" on C and D. As a
result, Data equals D, inverted, and Clock equals
C, inverted
4PS/2 Communication Interface
- Data high, Clock high Idle state.
- Data high, Clock low Communication
Inhibited. - Data low, Clock high Host Request-to-Send
Computer to Mouse
- Mouse-to-Computer The Data line changes state
when Clock is high and that data is valid when
Clock is low. - Computer-to-Mouse Data line changes state when
Clock is low, with exception of ACK
Mouse to Computer
5PS/2 Movement Data Packet
L,R,0 Left, Right, Middle ButtonsXS,YS Sign
Bit of X and YXY,YY Overflow bit for X and
YX0-X7 Movement in X DirectionY0-Y7
Movement in Y Direction
6Voice II Speech Recognition Kit
- Board consists of Voice II module, speaker,
microphone, pins, short buttons - Multi-Trigger Continuous Listening (MCL) Mode
allows for programming of 3 trigger words with
5 commands under each trigger
7Role of Voice II Kit
- Trigger 1 Move
- Up, down, left, right
- Trigger 2 Scroll
- Up, down
- Trigger 3 Click
- Left, right, double
-
8Role of Voice II (contd)
- After computer boots it must recognize presence
of PIC ? handshaking protocol - PIC sets Voice II to MCL mode and closes I/O path
- Upon hearing trigger word Voice II waits for
command - If command word is then recognized, appropriate
pins are set to high - Pins drive PIC to send corresponding 3 byte data
packet to computer