View unanswered posts | View active topics It is currently Wed Oct 22, 2014 8:38 pm






Reply to topic  [ 4 posts ] 
Color Sensor variance sensitivitity in the NXT 2 kit 
Author Message
Rookie

Joined: Tue Oct 16, 2012 5:16 pm
Posts: 2
Post Color Sensor variance sensitivitity in the NXT 2 kit
My kids want to build a lego robot that can use the color sensor to distinguish between light blue, dark blue, purple, turquoise or other similar shades in a color family. Can the sensor be programmed to distinguish between 3 or so shades like these listed or is it not sensitive enough. I saw somewhere that it looked like it read approx 12 variations of the colors but can't really tell. They are doing a science fair project and still in the formulation of their plan stage. They also would like to know ideas on how to build it and some instructions if possible. They want the robot to walk or role to a colored cube or colored panel and read it and tell the color. Is this realistic? Thanks.


Tue Oct 16, 2012 5:24 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3225
Location: Rotterdam, The Netherlands
Post Re: Color Sensor variance sensitivitity in the NXT 2 kit
It would be possible if you were to use the raw RGB values and convert them to HSV. It would not be a trivial bit of programming by any means. How good are your programming skills? You could also consider purchasing the HiTechnic Colour Sensor, which can detect 17 colours. http://www.hitechnic.com/cgi-bin/commer ... ey=NCO1038

- Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Wed Oct 17, 2012 11:47 pm
Profile WWW
Rookie

Joined: Tue Oct 16, 2012 5:16 pm
Posts: 2
Post Re: Color Sensor variance sensitivitity in the NXT 2 kit
Thank you so much - I just purchased the more sensitive sensor. This should allow them to more easily test the efficiency of the sensor's color variance efficiency. They have extremely limited programming knowledge but are studying a little bit now. I will probably have other questions for you as they begin assembly and programming because I am sure there will be some bugs along the way.


Thu Oct 18, 2012 12:02 pm
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3225
Location: Rotterdam, The Netherlands
Post Re: Color Sensor variance sensitivitity in the NXT 2 kit
Questions are fine :)

- Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Sun Oct 21, 2012 4:50 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.