Pages: [1]   Go Down
Author Topic: Ultra sonic From the NXT  (Read 679 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 308
Posts: 26465
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

"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.

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 308
Posts: 26465
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: April 16, 2011, 09:46:27 am by AWOL » Logged

"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.

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So how to I connect it?
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 308
Posts: 26465
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://arduino.cc/en/Reference/Wire
Logged

"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.

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 308
Posts: 26465
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Seriously, is there something wrong with google where you are?
http://nxt-adventures.blogspot.com/2008/12/nxt-arduino-and-i2c.html
Logged

"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.

Offline Offline
Newbie
*
Karma: 0
Posts: 10
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 308
Posts: 26465
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Maybe then, you ought to start from the beginning, and work through some examples and tutorials.
Logged

"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.

Pages: [1]   Go Up
Jump to: