IR Phototransistor constantly outputs high vaule

er
I would connect resistor to ground and the junction between resistor and diode to the Arduino input pin!