I bought GP2Y0A700K0F ir distance measuring sensor for my robot but;1-I dont know whether it's useful for short distances (<100cm) or not?2-in the datasheet it is written that it needs 350mA supply current, since i am using two of GP2Y0A700K0F, i dont know how to supply the 700mA?would you please help me?[/b]

1) I believe most IR rangers actually have a mininum distance, that if you go below, will cause there to "appear like" there are objects further away. If you hook it up and have it print the distance reading, it's easy to see.

2) You don't actually supply precisely 700mA; you just need to make sure that the voltage input is within the specified range, and that your power source is capable of supplying AT LEAST 700mA. Most batteries should be capable of supplying 700mA. It's easy to test, run one sensor at at time, and if you connect two and it doesn't work for some reason, try adding more batteries in parallel. If you are using a wall AC adapter, just make sure that the rating on it is > 700mA + your other power needs.