Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sensor-colour]

The tag has no usage guidance.

0
votes
0answers
3 views

Seeking HiTechnic Color Sensor V2 control block

I'm looking for the EV3-G control block for the HiTechnic Color Sensor V2, previously distributed by HiTechnic (https://www.hitechnic.com/cgi-bin/commerce.cgi?key=NCO1038&preadd=action), ...
1
vote
2answers
36 views

Color sensor reliable?

I am experimenting with the light sensor shipped within the mindstorms ev3 package. My Problem is that the bot is standing quiet at one place. Each value returned by sensor is different, although the ...
0
votes
1answer
46 views

Using two color sensors simultaneously

I am new to the world of robotics, and I'm preparing a new project with my students. Our goal is to make a self driving robot that can read colored signs from the road in order to turn right or left a ...
0
votes
0answers
28 views

EV3 Spinner factory not moving in the right order

We've built a spinner factory going by the original instructions in the Lego Mindstorms EV3 Education Software, and downloaded the program for it onto the bricks, the Spinner factory moves around, the ...
3
votes
1answer
37 views

Repeat until sensor value is accepted does not work.

I am trying to create a robot that follows a line. I want the robot to turn on its vertical axis ("move-tank") until it finds the line again and then keep going straight. My problem is that the "...
7
votes
2answers
421 views

What does taking Raw value for EV3 Colour sensor do?

I participate in Robotics competitions like the WRO and I want to know if using EV3 colour sensor raw values helps in line follow.
6
votes
1answer
6k views

How do you program mindstorms to keep doing a task until either the IR OR the colour sensor state changes

How do you program mindstorms to keep doing a task until either the IR OR the colour sensor state changes. I would like to use the wait block but it can only be either the colour sensor or the IF ...
1
vote
2answers
2k views

Is it possible to access the RGB values of the EV3 Light Sensor?

I'm following a line with the LEGO EV3 Color Sensor in Reflected-light mode, I need to stop the robot when it detects a green tile in the ground, but I didn't succeeded in differentiating Green and ...
3
votes
1answer
544 views

LEGO Color Sensor - EV3

My son is using his EV3 with a color sensor. He is using the sensor to test the reflectivity of different materials. Can you please tell me what the letters "PCT" stand for?
3
votes
1answer
222 views

How to measure green/blue reflected light on EV3?

As I know there is no way to turn on green/blue reflected light on EV3 color sensor. Is there a way to do it using NXT color sensor and EV3 controller? Or the only way is to use NXT controller ...
3
votes
1answer
1k views

What RGB-values do I get from the colorsensor

I have the extra colorsensorblock used by mindcuber - ColorSensorRGB - installed. Now I'm trying to use it in my own projct. But what values does it produce? It seems like it has a min-value of 0 (as ...
2
votes
1answer
230 views

Can I identify the colour of objects 5mm in diamater with an EV3 Colour sensor?

My plan was to make a simple robot to sort beads like this:. Its the Hama Medium size beads, they have a diameter of 5mm so they are fairly small. After some testing, reading and asking here I figured ...
9
votes
1answer
3k views

How to get good color readings from the color sensor?

What type of setup is needed to get good color readings from the Mindstorms EV3 color sensor: Shape of object? Size of object? Distance to object? Color of background?
1
vote
1answer
761 views

Raw RGB data to Color?

I'm trying to convert the raw RGB values from a Colour Sensor into HSL but it doesn't seem to be working: R = rgbn[INPUT_RED]; G = rgbn[INPUT_GREEN]; B = rgbn[INPUT_BLUE]; var_R = ( R/255 ); var_G = ...
2
votes
3answers
4k views

Programming NXT color sensor with NXC?

Currently I am working Lego robot that solves 2x2x2 Rubik's cube. I am programming Lego Mindstorms NXT 2.0 color sensor in BricxCC. I already have RGB data with the command ReadSensorColorRaw. I ...
3
votes
1answer
2k views

Light on color sensor is blue

We had the sensor color on red and it was working with our remote. We changed the batteries in the 'brain' and now the light sensor is blue and won't work with the remote. Any suggestions? It's a ...
6
votes
1answer
2k views

How to close color Sensor properly?

I want to get data from the color sensor with Bluetooth. I can get data but when the program terminates, the color sensor dose not close even though I call function close() on the color sensor. The ...
3
votes
1answer
3k views

RGB sensor HOWTO use?

I've got an RGB sensor (this one with the three LED thingies) and wonder how to access it using NXC. I know I can SetSensorColorFull(IN_1); and then access it using ReadSensorColorEx or, for ...