I created this topic to promote my own library "Dist-Nx". I made it to use Mindsensors DIST-Nx, a distance sensor made for Lego Mindstorms with Arduino boards. Initially I made it to my self but I think It can be useful for many people. At least, the connection guide is helpful. You can get the library here, on github.