3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

 

How to simply interface Lego Mindstorms NXT brick to Arduino by hacking sensors

This instructable has been removed by the author.

19 comments
Aug 2, 2010. 11:23 AMmattallen37 says:
Also, instead of using light to talk from NXT to arduino, you can use I2C or RS485.
Aug 5, 2010. 9:53 PMraykholo says:
Yes, the NXT does use i2c to speak with digital sensors such as the ultrasonic. It would be great to have an instructable that addresses that. However, this one seems to be for less advanced users who would appreciate a much simpler interface.
Aug 2, 2010. 11:20 AMmattallen37 says:
The whole approach is totally off. This is not a digital sensor. It is an analog sensor. To use it, connect it like this. pin1 analog out pin2 Gnd pin3 Gnd pin4 4.3-4.7v (probably 5 will do) pin5 LED control pin6 NC There is no reason to tear it apart, just cut an NXT wire and splice it to solid wire that can be connected to a solderless breadboard. Trust me, I know what I am talking about. I have four NXT sets, and I have been using the mindstorms since around 2006. To have questions answered about the NXT and/or sensors, you can go to forums.nxtasy.org. For schematics of the sensors and the NXT itself, as well as a lot of documentation on the interfaces used, download the hardware developer kit here: http://cache.lego.com/upload/contentTemplating/Mindstorms2SupportFilesDownloads/otherfiles/download8CFD37F17F7EFCDC412AE7CEBF245C6A.zip .
Aug 2, 2010. 8:27 PMmattallen37 says:
I do not think you understood me. There is no reason to chop open an NXT light sensor to connect wires to the phototransistor (or the touch sensor to the switch points) for use with another processor. You can access that through the port. All you need to do, is follow my pinout, and you can have all the functions of the light sensor being used with the NXT, and you do not even need to open it. The NXT light sensor is not a digital sensor. It is NOT an I2C sensor. The SDA and SCL (pins five and six) are not used for any digital communication with the light sensor. Pin 5 IS used, but only as the LED control pin. There is no reason to tear it all apart.
Aug 3, 2010. 1:29 PMmattallen37 says:
I would think that it would take much more time to open the sensor and solder to it than to splice a wire, not to mention, that you do not mess up the sensor, and that the wire can be used for any other sensor in the future. I do not think that opening it and soldering to it makes it more robust.
Jun 10, 2010. 9:00 PMjosh804 says:
Wait! Slow down! WHATTTT?What does it do? just jack it up or something?
Jul 20, 2010. 5:24 PMFoaly7 says:
You could potentially make a remote control Lego robot with this, right?
Apr 17, 2010. 12:11 PMamoyano1 says:

Hello. I´m trying to connect a RTC sensor of Minsensor to arduino but i don´t read the values. I conect the wires :
White to 5v
Black to gnd
Green to 5v
Yelow to SCL
Green to SDA
Do you Know something about this
Thank you

 

Mar 21, 2010. 3:33 AMamoyano1 says:
How do you conect the motors?
Oct 23, 2009. 1:51 PMdizzyzane says:
 wow. can u make a USB connection fror it.from mmmmmmeeeeeeeee ddiizzzzyyzzaannee
Sep 12, 2009. 1:40 PMRobert L says:
This is really good.
Aug 8, 2009. 6:19 PMcaco caco says:
lol

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
1
Followers
Author:wadodont