I'm working on a project using the UNO where I want to detect if something moves between an infrared emitter and transmitter, similar to the way that we could tell if something passes between a photoresistor and LED.
For this, I've purchased these parts:
I'm fairly new to Arduino, and am not sure what to do. All tutorials that I've seen are very complicated, and involve using a remote control to input infrared signals.
Are these the wrong parts? Is there something I'm overlooking?
This is the data sheet. It shows you how to wire it up and also the signals you need. Basically you need to pulse the LED in bursts of 38KHz, with 600uS on and 900uS off and then you will get the same pulses out of the receiver. However after about 30 pulses like this then you have to rest for at least 5mS before you can get pulses out again.
This makes the driving of the LED complex and the interpretation of what you receive complex. These devices are designed specifically for IR remote controls.