11.07.2015 Views

Optical Mouse Scanner Project Design

Optical Mouse Scanner Project Design

Optical Mouse Scanner Project Design

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 11: <strong>Mouse</strong> peripheral with embedded ADNS­2051 optical processor.Figure 12: <strong>Mouse</strong> peripheral hardware to GPIO interconnection.Figure 13: FSM for left and right click.Polling State MachineTo interface with the mouse peripheral a polling state machine (PSM) is implemented in hardware on theDE2 board. The details of the PSM are given in Figure 14. As described before, the PSM communicateswith the ADNS­2051 using the GPIO peripheral of the DE2. Implemented in hardware will be a serialperipheral interface (SPI) protocol for writing to and reading the registers of the ADNS­2051. The registers of9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!