Search found 3 matches

by amenzar
17 Aug 2011, 19:59
Forum: Mindstorms Hardware
Topic: How to calibrate NXT 2.0 Color Sensor?
Replies: 11
Views: 17870

Re: How to calibrate NXT 2.0 Color Sensor?

Thank you very much for your responses.

I'll be doing the calibration on Friday (when the lab is available) bearing in mind your advices.

I'll keep you posted.
by amenzar
17 Aug 2011, 17:00
Forum: Mindstorms Hardware
Topic: How to calibrate NXT 2.0 Color Sensor?
Replies: 11
Views: 17870

Re: How to calibrate NXT 2.0 Color Sensor?

Thanks for responding so fast, and from what you said I think I understand now. Basically what you told me is to forget about the getColorNumber() function and start to "play" with the functions getRed(), getGreen() & getBlue(). So when I put the CS in front of a green surface and e.g....
by amenzar
17 Aug 2011, 08:25
Forum: Mindstorms Hardware
Topic: How to calibrate NXT 2.0 Color Sensor?
Replies: 11
Views: 17870

How to calibrate NXT 2.0 Color Sensor?

Hi, I'm new to robotics (started one week ago) and I'm having some trouble using the Color Sensor provided by the LEGO kit . I have to develop a program with Java for Lego Mindstorms, LeJOS NXJ v0.9 but firstly I need to calibrate the Color Sensor to distinguish 6 color categories: BLACK, RED, BLUE,...