i am making an IR ranging unit for a uni project.
arduino provides PWM signal to control the LED pulsing, and samples the signal coming back from the receiver.
the analog input did not seem to be working correctly, so i attempted to test it by supplying voltages from a power supply and potentiometer to see if it gave the right values.
the power supply was putting out half an amp at almost zero voltage so i decided that was not a good idea to continue, tried the pot instead and that did not work because the input drew too much current so it did not operate as a voltage divider
pretty sure the problem is that i have killed that input, have since taped over it and am now using a different one which seems to work fine