Help in using IR receiver as a proximity sensor.

Grumpy_Mike:
Quite clearly your boss is a nob head with no idea how electronics works in general.

My boss is not a nob head . He is a genuine guy who is just trying to follow the company policy. (As we are not allowed to disclose any important part number.) He knows how these forums work.
I would also like to say that he does not choose the component, I Choose the components.
So i have designed all these circuit and all the board.

Grumpy_Mike:
This is an open source leaning forum and operating under minimum information is not a practical way of going about things.

I do agree But i have given the required information. and if anyone needs more i will happily give them more info.

Grumpy_Mike:
But given your past responses I don't think you can be persuaded of this, so I will leave it to others to try and help you.

Come on, when when i have said i wont listen to you or i wont do what you have said ?
I am literally doing everything you say. i have also apologized for my past responses. and as i state above i will give more information if anyone need it.

Please dont get angry if i ask why ? as i am trying to understand the logic behind the solution.

Grumpy_Mike:
I would only suggest to your boss that he employees an engineer who is better at fault finding and at taking advice.

Thank you for your advice , i will convey this to my boss.

NOW coming back to problem in hand

Grumpy_Mike:
The gate threshold value is the point where the FET turns off. The Ron value is only quoted at 4.5V, and it is 6 ohms at that value!

According to the datasheet the VGS(th) Gate Threshold Voltage VDS = VGS, ID = 1 mA is 1.3 V

lets say our D is connected to vcc of 3.3 v
And S is connected to GND 0v.

So if i give 0v to the gate Vgs is 0 v and mosfet when remain off

If i give HIGH pulse to gate so that Vgs becomes 3.3 v,
which is greater than Gate Threshold Voltage is 1.3 V ,

Am i correct in assuming the mosfet turns on ?

And also according to datasheet the On-Resistance Variation with
Gate-to-Source Voltage. graph that at Vgs = 3.3 v the Ron is 1.2 ohm