AT89STK-05 Atmel, AT89STK-05 Datasheet - Page 8

KIT STARTER FOR AT89C5131

AT89STK-05

Manufacturer Part Number
AT89STK-05
Description
KIT STARTER FOR AT89C5131
Manufacturer
Atmel
Datasheets

Specifications of AT89STK-05

Main Purpose
*
Embedded
*
Utilized Ic / Part
AT89C5131
Primary Attributes
*
Secondary Attributes
*
Processor To Be Evaluated
AT89C5131A
Interface Type
RS-232, USB
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Receiver Part
8
USB RF Mouse
Figure 7. Description of Mouse Switch Connection
A message is sent if an event appears on the mouse (press or release).
When a switch is pressed, a message is sent to the receiver part.
When a switch is released, a message is sent to the receiver part.
The result of pressing a button is only two messages, whatever the duration of the press.
The receiver part controls the USB link (HID mouse enumeration), the reception of RF data and
the decoding of data protocol.
The software manages all the mouse movements even diagonals.
In the config.h file, the flag “nRF24L01_RECEIVER” must be defined.
Each polling period, the embedded USB task sends a message to PC with the mouse status.
This message contains 4 data bytes:
Figure 8. usb_mouse_report
usb_mouse_report[0]
usb_mouse_report[1]
usb_mouse_report[2]
usb_mouse_report[3]
Open if switch is pressed (IO port = 1)
Closed if switch is released (IO port = 0)
Byte 3
Wheel
Byte 2
Mouse pointer position
Y
Byte 1
VSS
X
µController IO port (internal pull up)
Byte 0
2 1 0
Button 1
Button 2
Button 3
7650A–USB–05/06

Related parts for AT89STK-05