I want to make a ir proximity sensor that can detebreaks tct objects.For example if someone break the beam a light opens.Indoor applications.I want the distance from the emitter to the rceiver be 4m.I try many ways.First i try to make it with an ired that pulsed a frequency in 33kHz and an ir module(TSOP2233) that takes the frequency but i failed because i didn't put any data in the frequency(only the frequency with an oscillator 33kHz).I achive only 1,5m(see schem 1).I can't put data in this application!I try to put more current through the irled (600mA) but nothing.Then i try an ir photoled(see figure 2).The distance i achive was 1m.I put the photodiode in a tube with a plastic glass in front that allows to pass only ir light (870nm - 960nm).I made that because if i was going to increase the sensitivity the photodiode detects the natural light.The ir led emits in 940nm.I put a bigger resistor to increase the sensitivity but if i put a big resistor it detects natural light again with the plastic glass in front.So i decide to put a frequency again in the ired.Then i use figure 3 and i can't make it works.The photodiode has now both dc and the signal(the dv because it detects natural light and the signal.i am not sure because i don't have an osciloscope).I put a couple capacitor in series that reject the dc and i put the signal in the lm567.The frequency in the ired is 33kHz and i use a crystal for that(i am sure for the frequency).The problem is in the lm567 i can't detect this frequency.Please see the schem in figure 3(maby a wrong calculation).Are they correct because i don't have an oscilloscope rigth know and i can't go to univercity labs(we are going for exams next week).Any other idea to make it works?I have to test and phototransistors of course but i believe i can make it with a photodiode.Remote control use photodiodes.I have lose hours and hours.I am in desperate.I don't believe that it is so dificult.Thanks for your time.

The part numbers are in the schem

The part numbers are in the schem