There is two versions of this project: one which runs just on the microcontroller, but requires an onboard USB controller. The other communicates with a Python program over serial.
Vishay TSOP31238 pin 3 to Arduino pin 2. Other combined receivers and op-amps may work as well.