Hey! I have recently been interested in using an Infrared distance sensor to help guide an autonomous robot using an Arduino Uno microcontroller. I have not been able to find any code anywhere and I cannot program/code myself. Could someone help me out and find/make a sketch for me? It shouldn't be too much different from the sketch for a PING sensor; the only real difference is that my IR sensor uses infrared radiation/light whereas the PING sensor utilizes sound. I am using a SHARP GP2D120 IR Range sensor (4-30 cm range).
Many beginners come to the arduino world with no prior programming language experience but manage to learn how to create their own sketches. What is preventing you from learning? There are lots of people here to help you with problems or questions as you attempt to learn to program your arduino projects. If you just have no interest in learning to program then I guess the help you might get will might often be less then you require.