This instructable has been removed by the author.
19
comments
|
Add Comment
|
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. 2:24 PMwadodont (author)
says:
Hi Matt, we needed to keep the touch sensor and the light sensor for use on the robot and we were out of sensor ports so your approach wouldn't have worked for us, but thanks for the suggestion.
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 2, 2010. 10:10 PMwadodont (author)
says:
Yes we knew that the light and touch sensors weren't digital, after all the touch sensor only contains a switch and a resistor. :-) And yes I guess we could have chopped up a cable and spliced it all back together, but it seemed easier and a bit more robust to solder on to the sensors' internals.
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?
Jul 20, 2010. 6:54 PMwadodont (author)
says:
Really this is for controlling other boards like Arduinos with the Lego brick. I think Mindsensors.com have remote control interface boards for the NXT that connect to PS2 controllers, and if you google around there are various Bluetooth remote controls, or you can use one of the servo motors as a wired remote.
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
Apr 18, 2010. 11:52 PMwadodont (author)
says:
Hi amoyano1, sorry but we were not good enough with C to try I2C communication, which is why we used a simpler approach. Maybe next time!
Mar 21, 2010. 12:29 PMwadodont (author)
says:
We didn't need to do that as we were still using the NXT brick for the motors, but check out http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1221664564/
Oct 23, 2009. 1:51 PMdizzyzane
says:
wow. can u make a USB connection fror it.from mmmmmmeeeeeeeee ddiizzzzyyzzaannee
Oct 23, 2009. 2:35 PMwadodont (author)
says:
Sure, hook it up to one of the USB arduinos like the Duemilanove and you can read it via USB.
![]() |





















