Someone said I was suppose connect the analog to digital converter and the infrared distance sensor to the breadboard by following this link:http://raspberry.io/projects/view/reading-from-a-mcp3002-analog-to-digital-converter/#step1 Through this link I have to substitute the potentiometer in the example for the Infrared Distance Sensor but the problem is I can't connect the Infrared Distance Sensor to the Breadboard because of the end the three cables wires
Strip the wires. If they're stranded, might want to solder on a bit of solid core wire to the end to make them contact better.
I crimp "Dupont" pins onto the end and put them into a Dupont header. That way I don't have to deal with either soldering or bent stranded wires. The flip side is that it takes a bit of experience to crimp them, especially if you don't actually have a proper tool for it.
I think the best and easiest way is solder 3mm of stripped end to end of a 1/4 W resistor (steel is stronger than copper wire core) then cut off 3-5mm from solderpoint thus cutting off <1cm of resistor wire.
The cable strands work but more likely to interfere with bi-contacts.
- twist both sensor wires for improved distance from noise immunity. Decouple supply ripple well.
This just looks like a dual PD sensor with a central emitter however and if you don't know how to terminate wire, you likely have much much more to learn about emitter/detector designs for distance measurements , better than this one.
But you have to know what you expect or want, with measurable spec's.