sony remote and sensor problem

hello I was wondering how I could "capture" my sony remote's binary commands through my arduino UNO R2 so I can get it to understand those commands. I am using this sensor http://www.jaycar.com.au/products_uploaded/ZD-1952.pdf

Thanks

D2O

Connect Rout to a digital pin and have a sketch record the time (using micros()) of each transition from 0 to 1 and from 1 to 0. After receiving the code and no more changes just Serial.print() the delays so you can see what kind of pattern is being used?

Note that that sensor is available with several slightly different modulation frequencies - you need to check which is right for your remote, 38kHz is a common modulation frequency, but its worth checking.