Sunday, November 02, 2014

Controlling two servos using a PS2-mouse

I finally finished a project today where two servos in a camera mount are controlled by a PS2-mouse.

The PS2 controller is written in VHDL and performs the initial setup of the mouse and then proceeds to feed any received movement packets to a mouse state tracker which in turn feeds position coordinates to the servo controllers.

Code for the project is available here:
https://github.com/ErikAndren/PS2Controller