Go Down

Topic: Ultra sonic From the NXT (Read 724 times) previous topic - next topic

Penguinplus

How do I connect a LEGO Mindstoms Ultra sonic sensor from LEGO to the arduino?

AWOL

I think the NXT sensors use I2C -have a look at the Wire library.
You'll need to find the sensor's unique address; I'm guessing it is out there on the Interweb
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Penguinplus

Sorry i'm new and I have no clue what that means. Does anyone have a how to?

AWOL

#3
Apr 16, 2011, 04:41 pm Last Edit: Apr 16, 2011, 04:46 pm by AWOL Reason: 1
Is Google broken where you are?

http://www.legoengineering.com/knowledgemanager/questions/154/Where+can+I+find+technical+specifications+for+the+NXT+brick%3F

http://www.legoengineering.com/knowledgemanager/getattachment.php?data=MTU0fEFwcGVuZGl4IDctTEVHTyBNSU5EU1RPUk1TIE5YVCBVbHRyYXNvbmljIFNlbnNvciBJMkMgY29tbXVuaWNhdGlvbiBwcm90b2NvbC5wZGY%3D

http://www.legoengineering.com/knowledgemanager/getattachment.php?data=MTU0fEFwcGVuZGl4IDYtTEVHTyBNSU5EU1RPUk1TIE5YVCBVbHRyYXNvbmljIFNlbnNvciBoYXJkd2FyZSBzY2hlbWF0aWMucGRm
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Penguinplus


AWOL

http://arduino.cc/en/Reference/Wire
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Penguinplus

How do I connect it on the bread board to the arduino?

AWOL

Seriously, is there something wrong with google where you are?
http://nxt-adventures.blogspot.com/2008/12/nxt-arduino-and-i2c.html
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Penguinplus

google works for me yes. But I have no clue how to wire the NXT ultra sonic sensor to the arduino or how to read the distance from it. I don't understand those links.

AWOL

Maybe then, you ought to start from the beginning, and work through some examples and tutorials.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Go Up