Main Content

In this instructable I will show you how to hack a mouse so you can use it as a controller for LED’s, motors, wireless applications and so forth.
This tutorial will cover mouses that have a wire. Most of these mouses use the PS/2 protocol.
The setup will work with all versions of Arduino.
It takes only a few steps to control the output of your mouse.
First you strip the wires of the mouse and connect them to your Arduino. Then you upload the sketch and see the result on your serial monitor.
I will show you in detail how this is done.
As an extra, I will show you how to make your mouse wireless for a distance up to 2500 feet (750 meters).”

Link to article