Re: PS/2 mouse interface with 8052 microcontroller
From: CBarn24050 (cbarn24050_at_aol.com)
Date: 01/16/05
- Next message: Jonathan Kirwan: "Re: So... What are the alternatives? Was: I don't use an RTOS because..."
- Previous message: Jezwold: "Re: Recommended FPGA Families & Tools?"
- In reply to: Ab Sah: "PS/2 mouse interface with 8052 microcontroller"
- Next in thread: madly_manu_at_hotmail.com: "Re: PS/2 mouse interface with 8052 microcontroller"
- Reply: madly_manu_at_hotmail.com: "Re: PS/2 mouse interface with 8052 microcontroller"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Jan 2005 23:52:10 GMT
>Subject: PS/2 mouse interface with 8052 microcontroller
>
>I am tring to interface PS/2 mouse (optical) with a 8052 (AT89S52)
>microcontroller. From what I get from the internet without adding any
>extra hardware I cannot interface the mouse directly with the UART
>(serial port) of the microcontroller (mouse has data and clock lines;
The mouse generates the clock, the data is latched on one of the edges,I forget
which, when it sends data to the pc and the other edge when the pc sends data
to it, just like a keyboard. You need to connect the clock line to an interrupt
input and the data to a bidirectional port bit. Then you need to write the
software. You could just use an old mouse that sends ascii or buy a ps2-ascii
converter.
- Next message: Jonathan Kirwan: "Re: So... What are the alternatives? Was: I don't use an RTOS because..."
- Previous message: Jezwold: "Re: Recommended FPGA Families & Tools?"
- In reply to: Ab Sah: "PS/2 mouse interface with 8052 microcontroller"
- Next in thread: madly_manu_at_hotmail.com: "Re: PS/2 mouse interface with 8052 microcontroller"
- Reply: madly_manu_at_hotmail.com: "Re: PS/2 mouse interface with 8052 microcontroller"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|