Lego NXT rangefinder

Hi,

I want to build a robot that has a sonar turret on top.

Since money is an object, i want to use the ultrasonic rangefinder from my lego mindstorms kit. I figured that it would be a simple task since it uses I2C protocol... However... I don't see how I can implement it from the documentation on there website.

My first obsticle is what wires should go were, and do I need to use alle 6 of them to (I can see as much as there are 2 GND, and 2 VCC) and next, is there direct support for I2C on the arduino diecimila?

Ugilten

the arduino has an I2C/TWI library.... go to the references page and then go to Libraries and you'll find info there.

as for the sensor.... if you have the sensor, look up the chip and who manufactures it and see if you can find information on it, that might tell you what the other wires are for and what not

hey, any progress with this? i have one of these NXT rangefinders here, and i'm wondering which color wire is which :stuck_out_tongue: