Go to Post Why assume a full trophy case and spreading the message of FIRST (mentoring rookies) are mutually exclusive? Team 16 supported 6 rookies this season and earned 5 banners - I am equally proud of both. - Meredith Novak [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-01-2011, 08:34
dmitch's Avatar
dmitch dmitch is offline
Chief Head Electrical Guy
AKA: Daniel Mitchell
FRC #1997 (Stag Robotics)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Bishop Miege High School
Posts: 142
dmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the rough
NXT Sensors

I was wondering how you connect the NXT sensors to your robot and then if they are recognized in LabView just like the other sensors. I am specifically looking at the ultrasonic and color sensors.
__________________
  #2   Spotlight this post!  
Unread 19-01-2011, 08:58
wexlerd1 wexlerd1 is offline
Registered User
FRC #2547
 
Join Date: Jan 2008
Location: Milwaukee
Posts: 5
wexlerd1 is an unknown quantity at this point
Re: NXT Sensors

The NXT sensor connects via cable to the NXT intelligent brick. The brick connects via cable to the servo controller.
  #3   Spotlight this post!  
Unread 19-01-2011, 09:18
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,280
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: NXT Sensors

Quote:
Originally Posted by wexlerd1 View Post
The NXT sensor connects via cable to the NXT intelligent brick. The brick connects via cable to the servo controller.
I don't think this is what he is looking for.

http://mindstorms.lego.com/en-us/sup...s/default.aspx

From that link you should download the Hardware developer kit. The Hardware developers kit PDF will give you the information you need for wiring and Programming for the Ultrasonic Sensor. I didn't see anything about the color sensor in that document, and a quick search online didn't turn it up. If you don't find it before 5pm I will look for it after work.
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)
  #4   Spotlight this post!  
Unread 19-01-2011, 13:07
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 673
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: NXT Sensors

I assume you are trying to use the NXT sensors on your main robot, not the minibot. If so, it depends on what kind of NXT sensors you are using. There are at least two kinds: analog sensors and I2C sensors. The Digital Side Car has an I2C port. So if the sensor is I2C, you could custom-made a modular cable and connect it there. But the next difficulty is write I2C code to talk to the sensor. You may be better off getting a regular ultrasonic sensor that is supported by WPILib.
__________________
  #5   Spotlight this post!  
Unread 19-01-2011, 15:26
dmitch's Avatar
dmitch dmitch is offline
Chief Head Electrical Guy
AKA: Daniel Mitchell
FRC #1997 (Stag Robotics)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Bishop Miege High School
Posts: 142
dmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the rough
Re: NXT Sensors

We are already getting a real ultrasonic sensor but I would like to hook up the color one. We are using the color one for applications on the drivers station and as a way to sense our arms position (i know we could use other sensors for this but the way we built our robot means a color sensor would work best.)
__________________
  #6   Spotlight this post!  
Unread 19-01-2011, 15:50
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: NXT Sensors

How interesting. I am looking into the color sensor as well (not for the same reasons).

I opened up the HiTechnic I2C Compass example, and went to the HiTechnic site for some information (device name returned, where the data I want is) and just modified some of the Compass VI's to handle a color sensor. Since they are both made by the same manufacture, they are almost identical.

I haven't tried running it yet, since the color sensor didn't arrive yet. Tell me how it goes.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #7   Spotlight this post!  
Unread 19-01-2011, 16:45
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 673
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: NXT Sensors

Just want to make sure you realize there are two different kinds of color sensors: the Lego Color Sensor v2 and the HiTechnic Color Sensor. I haven't used these before, but I read that the Lego Color Sensor has proprietary interface so it is not compatible with I2C. Only the HiTechnic Color Sensor is I2C.
__________________
  #8   Spotlight this post!  
Unread 19-01-2011, 19:03
9lives11 9lives11 is offline
Rox ur sox :P
AKA: Fawn
FRC #1547 (1547 Where's Waldo)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Oshawa
Posts: 5
9lives11 is an unknown quantity at this point
Re: NXT Sensors

I would just like to correct one thing as having done FLL for 4 years now they are not color sensors but in fact light sensors that read the amount of light coming back. They are not accurate with colors and i would not recommend them for it.
  #9   Spotlight this post!  
Unread 19-01-2011, 20:43
dmitch's Avatar
dmitch dmitch is offline
Chief Head Electrical Guy
AKA: Daniel Mitchell
FRC #1997 (Stag Robotics)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Bishop Miege High School
Posts: 142
dmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the rough
Re: NXT Sensors

I believe I am using the HiTechnic one, it is the one that comes with the lego mindstorms kit. And I thought that these were mainy used for line following and color sensing in FLL. Even the package describes it as a color sensor.
__________________
  #10   Spotlight this post!  
Unread 20-01-2011, 07:06
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 673
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: NXT Sensors

I believe the one came with the Mindstorm 2.0 kit is the Lego Color Sensor v2 not the HiTechnic one. Check out this post:
http://www.robotc.net/forums/viewtop...our+I2C#p10309
__________________
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:15.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi