Avago ADNK-6013-SP01 Design Manual

Optical mouse designer's kit

Advertisement

Quick Links

ADNK-6013-SP01
Optical Mouse Designer's Kit
Design Guide
Introduction
The Universal Serial Bus (USB) is an industry standard
serial interface between a computer and peripherals
such as a mouse, joystick, keyboard, UPS, etc. This design
guide describes how a cost-eff ective USB optical mouse
can be built using the Sunplus, SPCP825A USB microcon-
troller and the Avago Technologies ADNS-6010 optical
sensor. The document starts with the basic operations of
a computer mouse peripheral followed by an introduc-
tion to the Sunplus, SPCP825A USB microcontroller and
the Avago Technologies ADNS-6010 Optical Navigation
Sensor. A schematic of the Sunplus, SPCP825A USB micro-
controller to the ADNS-6010 optical sensor and buttons
of a standard mouse can be found in Appendix A. The
software section of this application note describes the ar-
chitecture of the fi rmware required to implement the USB
mouse functions. The Sunplus, SPCP825A data sheet is
available from the Sunplus web site at www.sunplus.com
. The ADNS-6010 data sheet is available from the Avago
Technologies web site at www.avagotech.com. USB docu-
mentation can be found at the USB Implementers Forum
web site at www.usb.org.
ADNS-6010 laser mouse set is the world's fi rst laser-illumi-
nated navigation system. With laser navigation technol-
ogy, the mouse can operate on many surfaces that prove
diffi cult for traditional LED-based optical navigation.
Its high-performance architecture is capable of sensing
high speed mouse motion velocities up to 45 inches per
second and accelerations up to 20g.
The ADNS-6010 sensor along with the ADNS-6120 lens,
ADNS-6230-001 clip and ADNV-6340 laser diode form
a complete and compact laser mouse tracking system.
There are no moving parts, which means high reliabil-
ity and less maintenance for the end user. In addition,
precision optical alignment is not required, facilitating
high volume assembly. The ADNS-6010 enables 400cpi,
800cpi, 1600cpi or 2000cpi performance.
1
Optical Mouse Basics
The optical mouse measures changes in position by
optically acquiring sequential surface images (frames),
and mathematically determining the direction and
magnitude of movement. The Z-wheel movement is done
in the traditional method by decoding the quadrature
signal generated by optical sensors. This design guide
shows how to connect to and manage a standard con-
fi guration of mouse hardware, as well as handle the USB
protocols. Each of these protocols provides a standard
way of reporting mouse movement and button presses to
the PC.
Introduction to the Sunplus, SPCP825A
The Sunplus, SPCP825A is a general purpose OTP USB mi-
crocontroller. It has dual USB speed, namely low and full
speed. It can support PS/2 mode. The transceiver is fully
controlled by the fi rmware. Moreover the USB SIE provides
good fl exibility for fi rmware to handle USB protocol. The
built in PLL allows CPU to work at 6MHz or 12MHz by
using only one 6MHz crystal or resonator.
Serial Peripheral Interface (SPI)
The Sunplus SPCP825A provides a SPI compatible
interface. The SPI circuit supports byte serial transfer in
either Master or Slave mode. The integrated SPI circuit
allows the Sunplus SPCP825A to communicate with
external SPI compatible hardware, in this case the ADNS-
6010.
Hardware Implementation
The standard hardware to implement a mouse is shown
in Figure 1. For X and Y movement, the optical sensor
is used. The Z- wheel movement is detected by a set of
optical sensors that output quadrature signals. For each
button there is a switch that is pulled up internally by the
built in pull up resistors. The D - line is pulled up via a 1.3k
ohm resistor connected to the VREG pin.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADNK-6013-SP01 and is the answer not in the manual?

Questions and answers

Summary of Contents for Avago ADNK-6013-SP01

  • Page 1 Sunplus web site at www.sunplus.com controlled by the fi rmware. Moreover the USB SIE provides . The ADNS-6010 data sheet is available from the Avago good fl exibility for fi rmware to handle USB protocol. The Technologies web site at www.avagotech.com. USB docu-...
  • Page 2 Figure 1. Sunplus SPCP825A –ADNS-6010 Optical Mouse Hardware Block Diagram Optical Sensor Firmware Confi gurable GPIO Avago Technologies ADNS-6010 optical sensor is used in The reference fi rmware is confi gured to use the GPIO pins this reference design as the primary navigation engine.
  • Page 3 Avago Technologies-supplied fi rmware fi le contents into has been released or the button is not being pressed. the ADNS-6010. The fi rmware fi le is an ASCII text fi le with Normally the switches are debounced in fi rmware for 15- each 2-character byte on a single line.
  • Page 4 (See Figure 4.) Unscrewing the one screw located adoption of new features and improved performance at the base of the unit can open the ADNK-6013-SP01 algorithms. The external program is supplied by Avago unit. Lifting and pulling the PCB out of the base plate can Technologies as a fi le which may be burned into a pro- further disassemble the mouse unit.
  • Page 5 1. The ambient temperature should be 25C +/- 5C. The Gerber File presents detailed schematics used in 2. Set VDD3 to its permanent value. ADNK-6013-SP01 in PCB layout form. See Appendix C for more details. 3. Ensure that the laser drive is at 100% duty cycle by setting bit 6 of register 0x0A to 0.
  • Page 6 MODE_SEL.inc – Detect Bus status for USB mode. Read and Control-Write (see Chapter 8 of the USB specifi - StartUp.asm – This include fi le is for AVAGO TECHNOLOGIES cation) to determine the device type and how to confi gure ADNS-6010 Mouse Sensor laser power calibration.
  • Page 7 USB Firmware Description disable_laser – This function is called to disable the A function call map for USB operation is shown in Figure operation of the laser. 6. The following are descriptions of the functions in SPCP825A _A6010.asm. AdjustLaser – This function is used to adjust the laser power.
  • Page 8 USB Functions getDeviceConfi guration – This routine is entered Main_loop –This function spins in an infi nite loop waiting whenever a GET CONFIGURATION Request is received. for an event that needs servicing. sample_mouse and This function then starts a control read transaction that report_mouse_data are the functions which are called sends the confi guration, interface, endpoint, and HID de- within this loop to retrieve any new motion or button in-...
  • Page 9 Manufacturer String A request for the manufacturer string will return the following string. “Avago Technologies Reference Design Mouse” Product String A request for the product string will return the following string. “ADNS-6010 Mouse” Confi guration String A request for the confi guration string will return the following string.
  • Page 10: Appendix A: Schematic Diagram Of The Overall Circuit

    Appendix A: Schematic Diagram of the Overall Circuit...
  • Page 11: Appendix B: Bill Of Materials For Components Shown On Schematic

    Appendix B: Bill of Materials for Components Shown on schematic Comment Footprint Quantity Chip RES 240R 1% 0805 Chip RES 2.7k 1% 0805 Chip RES 10k 1% 0805 Chip RES 20k 1% 0805 Chip RES 100k 1% 0805 Chip RES 12.7k 1% 0805 Cer.
  • Page 12: Appendix C: Pcb Layout

    Appendix C: PCB Layout Figure C1: PCB Schematic (Bottom Layer) Figure C2: PCB Schematic (Top Layer)
  • Page 13 Figure C3: PCB Schematic (Top Overlay) Figure C4: PCB Schematic (Bottom Overlay)
  • Page 14: Appendix D: Base Plate Feature

    Appendix D: Base Plate Feature Figure D1: Overall view of base plate Appendix E: USB data reporting format The USB report has two formats, depending on if boot or report protocol is enabled. The following format is the boot protocol and is understood by USB aware BIOS. Bit 7 Bit 0 Byte 0...
  • Page 15: Appendix F: Kit Components

    For product information and a complete list of distributors, please go to our web site: Avago, Avago Technologies, and the A logo are trademarks of Avago Technologies in the United States and other countries. Data subject to change. Copyright © 2005-2008 Avago Technologies. All rights reserved. Obsoletes AV01-0480EN...

Table of Contents