hack a day just posted a ps2 keyboard logger project based on an 8051 microcontroller. Good introduction to data transmission from a build-it-break-it-fix-it perspective.