background image

2

RF Board

Left Button

Avago

ADNS-3040

Optical Mouse

Sensor

Wheel Button

Right Button

Z Optics

TI

MSP430F1222

Microcontroller

MISO

MOSI

SCLK

NCS

Control

and Data

MAX1722

Boost Regulator

Quadrature

Signals

Lens

Image 
Array

LED

Lens

Surface

Shadow pattern

Figure 2. Illustration of Optical Navigation technology

Reference Design Overview

The image-based optical mouse sensor takes snap shots 

of the surface it is navigating on. It measures changes in 

position by comparing the sequential images (frames) and 

mathematically determines the direction and magnitude 

of  movement.  The  traditional  duel-channel  optical 

encoder  generates  the  quadrature  Z-wheel  movement 

signals. This design guide illustrates the hardware con-

nection of a LED-based optical mouse with standard con-

figuration; as well as the firmware management and the 

handling of the USB protocols. USB protocol provides a 

standard way of reporting mouse movement and button 

presses to the PC. The Windows HID driver interprets the 

USB data and performs the cursor movements and mouse 

clicks. 
The  functional  block  diagram  of  the  reference  design 

mouse is shown in Figure 1. The optical sensor detects 

the X and Y movements. An optical quadrature encoder 

provides  the  Z-wheel  movement.  Each  of  the  button 

switches  is  pulled  up  normally  and  provides  a  Ground 

when pressed. The MAX1722 boost regulator maintains 

the  2.7  V  operating  voltage  for  the  reference  design 

mouse from two regular AA Alkaline batteries in parallel.

Theory of Operation

Navigation Technology

The heart of the ADNS-3040 navigation sensor is a CMOS 

image  array.  An  LED  and  an  optical  system  illuminate 

the  surface  that  the  ADNS-3040  is  navigating  on.  The 

texture of the surface casts bright and dark spots forming 

distinct images as the sensor is moved across the surface. 

A Digital Signal Processing (DSP) engine and its built-in 

algorithm  evaluate  these  images  and  determine  the 

magnitude and direction of the movement.  The motion 

data is made available in the delta_X and delta_Y registers 

for the system controller to retrieve. An extensive power 

saving topology is implemented within the ADNS-3040 

navigation engine. A Motion pin (output) is available to 

act as the system interrupt. As long as there is no motion 

the system can remain in Sleep mode allowing maximum 

battery power saving. Based on the last detected motion 

the ADNS-3040 navigation engine enters various power 

saving modes when no new motion occurs. These power 

saving features make the ADNS-3040 ideally for wireless 

applications.

Figure 1. ADNK-3043-ND24 Reference Design Mouse functional Block Diagram

Summary of Contents for ADNK-3043-ND24

Page 1: ...tech com USB controller data sheet can be found on the Cypress web site www cypress com The Nordic transmitter and receiver data sheets are available on www nordicsemi no Key reference design objectiv...

Page 2: ...ature encoder provides the Z wheel movement Each of the button switches is pulled up normally and provides a Ground when pressed The MAX1722 boost regulator maintains the 2 7 V operating voltage for t...

Page 3: ...the microcontroller whenever the ADNS 3040 senses motion When the mouse is moved the ADNS 3040 alerts the system controller by activating the Motion signal triggering an interrupt service routine At t...

Page 4: ...des a dedicated hardware based Serial Peripheral Interface SPI The three wire interface supports byte serial communication in either Master or Slave mode In this reference design the MSP430F1222 alway...

Page 5: ...ing Mode The receiver dongle is hot pluggable into the USB port The PC does not need to be powered off when plugging or unplugging the receiver dongle for the evaluation mouse Figure 4 Exploded view o...

Page 6: ...ode for added features Programming support and programmer adaptors for the MSP430 can be found through TI or through other 3rd party programming tool companies For further informa tion on this product...

Page 7: ...L position check 2 Decrement Timeout counter Firmware Implementation The firmware for this reference design is written in the C language The following files are required to compile the mouse firmware...

Page 8: ...T XIN P3 7 P3 5 P3 4 P2 5 U102 P3 0 P2 2 P1 3 P1 2 P1 1 P1 0 P2 4 P2 3 P2 1 P2 0 P3 3 P3 1 P3 2 P3 6 R104 100k C101 0 01uF 0 1uF C102 GND VBATT Vdd T101 Battery spring Battery spring Battery spring T1...

Page 9: ...SCLK NCS GND Vdd 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Vss_PA ANT1 ANT2 Vdd_PA Vdd IREF Vss PWR_UP CE CS CLK DIN Vdd XC1 XC2 Vss R202 22K C211 2 2nF C212 22pF 22nH L203 3 6nH L201 1pF C202 1pF C201...

Page 10: ...0 8 P2 1 9 P2 2 10 Vcc 11 D 12 D 13 P1 1 14 P0 7 15 P0 6 16 P0 5 17 P0 4 18 U100 CY7C63231A USB5V D101 Green DOUT2 5V CLK2 5V DR2 5V CE 5V CS 5V DR1 5V CLK1 5V DATA 5V LED C110 10nF C109 4 7 uF R110 1...

Page 11: ...R124 Resistor 0805 240 1 R125 Resistor 0805 27K 2 R107 R108 Resistor 0805 1 1 M 1 R109 Resistor 0805 1 0 M 1 R110 Resistor 0805 10 1 R111 Resistor 0805 0 1 R106 Resistor 0805 No Load 1 R122 Ceremic ca...

Page 12: ...PO 0402 1pF 2 C201 C202 Ceramic Capacitor 50v NPO 0402 22pF 3 C208 C207 C212 Ceramic Capacitor 50v X7R 0402 2 2 nF 1 C211 Ceramic Capacitor 50V X7R 0402 10uF 1 C210 Inductor 3 6 nH 1 L201 Inductor 22...

Page 13: ...nF 2 C301 C302 LED 1206 Green 1 D101 ACON USB Plug Freber FCMP04208 CON4 1 J101 Panasonic ELJRE3N3ZF2 3 3nH 1 L1 Panasonic ELJRE10NJF2 10nH 1 L2 Panasonic ELJRE5N6JF2 5 6nH 1 L3 Panasonic ELJRE5N6JF2...

Page 14: ...e Feature Figure C1 Illustration of base plate mounting features ADNS DIMENSIONS 31 5 x 17 0 mm ADNS 3120 001 LEN RECESS DIMENSIONS 31 5 x 17 0 mm KEY PYRAMID FEATURE 2 50mm HEIGHT MAX KEY PYRAMID FEA...

Page 15: ...dic Semiconductor The following Nordic applica tion note details the hardware design and firmware implementation The application note can be downloaded from www nordicsemi no Universal low cost USB Du...

Page 16: ...A RF Transceiver Datasheet h Nordic Semiconductor nRF2402 RF Transmitter Datasheet Hardware Support Files a ADNK 3043 ND24 BOM List b ADNK 3043 ND24 Schematic c ADNK 3043 ND24 Gerber File d IGES Base...

Reviews: