This design is suppose to light up the LED When the sensor is under light, and turn off the LED when the sensor is covered.
I noticed two problems:
My LED won't light up.
When I measure the voltage input difference (expecting +15- V) without the wire connecting the second prong of my 50k potentiometer (25th node) to the second prong of the op-amp, I measure 15 volts. But when I insert that wire how it is in the picture, my same input voltage measurement starts fluctuating. I assume this is a problem
Of course, I tried changing the values of the potent. and sensor but had no luck. I also tested my op-amp and it seems to be working correctly. The LED is also working correctly because it lit up in a different scenario. & Yes, I am also aware there is no voltage input in the photo. These were taken after I unplugged The input.
Will you please look over my design and help me locate the problem?
EDIT: New circuit based off new understanding
EDIT2: Just talked to my instructor. I indeed originally wired the purple wire wrong, but it should be fixed in the last two photos. I also confirmed that my resistor is not shorted and the photo is just confusing everyone, so I will upload a new one once I get home.
EDIT3: Less confusing photo (made sure you could tell the led is not shorted)
SOLUTION: Thank you @jonk and @TonyStewart!
My circuit was wrong in that I did not realize my potentiometer should not connect to the op-amp's 3pin (basically I didn't understand the schematic).
Later on, @jonk helped me come to the realization that there was something wrong with my op-amp, so I used a new one and it now works.