Summary of TD-USB-01 interface with mouse sensor board using PIC18F2550
This article details a USB project interfacing an ADNS-2620 optical mouse sensor with Windows XP/Vista using a PIC18F2550 microcontroller. The system utilizes the TD-USB-01 board for USB communication and connects to the sensor via SPI. It offers real mouse functionality, a 324-pixel CCD sensor, and upgradable software via RS232.Parts used in the TD-USB-01 interface with mouse sensor board:
- PIC18F2550 microcontroller
- TD-USB-01 board
- ADNS-2620 optical mouse sensor
- Mini-B USB connector
- SPI 4-wire flatcable
- Windows XP/Vista compatible PC
- RS232 bootloader
The TD-USB-01 board with a PIC18F2550 communicates with:
- the PC: USB 2.0 through a mini-B connector.
- the mouse sensor board: SPI over 4-wire flatcable.
Here are the technical specifications:
- PC Win XP/Vista interface application with Visual C# 2008 Express: free download.
- TD-USB-01 (green pcb on top) with PIC18F2550 USB HID setup.
- Mouse sensor board (046) with ADNS-2620.
- USB Bus powered, no external power supply needed.
- ADNS-2620 registers selection stored in the windows registry.
- Refresh rate from 1mS up.
- Data bits & bytes details.
- Real mouse functionality.
- Sensor CCD 324 pixels: image displayed: 18x18, 6-bit greyscale.
- TD-USB-01 software is 100% upgradable with a simple RS232 bootloader.
- RS232 interface for raw data readings.
- PCB Dimensions: 40 x 41 mm or 1"57 x 1"61
These assembled boards are available from our online shop.
Source code (CCS C and Visual C#) can be purchased separately.
Sensor example Source code (CCS C) , sensor board pcb layout and schematics (Eagle) available.
Last update: March 28, 2009.
Sensor Board (046): Eagle PCB layout: 046_v002.brd - Jan. 31, 2009.
Sensor Board (046): Eagle Schematics: 046_v002.sch - Jan. 31, 2009.
ADNS-2620: CCS c source code: optical_mouse_v03.c - March 27, 2009.
TD-USB-01:Hex file: 046_v003.hex bootloading for the PIC18f2550 - March 27, 2009.
Windows interface application setup: 046_app_setup.zip - March 27, 2009. Written in Visual C# 2008 Express, compatible with Windows XP and Vista.
For more detail: TD-USB-01 interface with mouse sensor board using PIC18F2550
Quick Solutions to Questions related to TD-USB-01 interface with mouse sensor board:
- How does the TD-USB-01 board communicate with the PC?
The board communicates with the PC via USB 2.0 through a mini-B connector. - What interface is used to connect the TD-USB-01 board to the mouse sensor board?
The connection uses SPI over a 4-wire flatcable. - Does this project require an external power supply?
No, the project is USB bus powered and requires no external power supply. - Can the TD-USB-01 software be upgraded?
Yes, the software is 100% upgradable using a simple RS232 bootloader. - What operating systems are supported by the interface application?
The application is compatible with Windows XP and Vista. - What programming language was used for the Windows interface application?
The Windows interface application was written in Visual C# 2008 Express. - What are the dimensions of the PCB?
The PCB dimensions are 40 x 41 mm or 1"57 x 1"61. - Where can the source code for this project be obtained?
Source code in CCS C and Visual C# can be purchased separately from the online shop.
Related projects
Pinguino Project: A PIC Microcontroller Based Arduino
This is a complete tutorial to make a PIC Microcontroller based Arduino. This is a complete tutorial to make PIC microcontroller based...
Audio, Sound & Radio · PIC18F2550LM386 based stereo audio amplifier with digital volume control using PIC18F2550
Due to its simplicity (requires minimum external components) and high availability, LM386 is very popular among hobbyists for use in low-voltage audio...
Meters & Test Instruments · PIC18F2550Harmonic Distortion Meter using PIC18F2550
The 3rd harmonic distortion meter has been designed for measuring the quality of AC supply. The meter is built with a PIC18F2550...
Communication & Interfacing · PIC18F4520CAN FD Node based on a PIC18 Microcontroller
The introduction sets the stage for an embedded systems project that involves developing a Embedded C CAN FD project using the MCP2517FD...
Communication & InterfacingLAN9662 Gigabit Switch: Optimized for Industrial Ethernet
Introduction It should come as little surprise therefore that one element of what is now more commonly referred to in some circles...
Communication & InterfacingPIC Microcontroller: Fundamentals & Applications for Students
Introduction Microcontrollers are the key components in the embedded systems market. A variety of embedded systems was formed and developed after the...
