Questions tagged [sensor-colour]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
32 views

The HiTechnic Color sensor is not detected in the port view in lab view

When I inserted the HiTechnic Color Sensor Block into the Ev3, the Ev3 detected the color sensor. But in my Mindstorms lab view, the HiTechnic color sensor does not appear on the port control. Can ...
0
votes
0answers
38 views

Using switch block with Hitechnic color block

Can I compare the Hitechnic block --> measure --> color output in a switch block? For example, if the Hitechnic color sensor is seeing black, then do something, else do another thing. If not, then how ...
3
votes
2answers
94 views

What is a color sensor and where do you get it?

I have an NXT but I don’t know how to make it detect colors, all it does is say “wait”. My set includes a light sensor but I heard some YouTube videos say there was a lego “color” sensor. Does LEGO ...
2
votes
2answers
98 views

Seeking HiTechnic Color Sensor V2 control block for EV3-G

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
50 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
79 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
46 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
502 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.
7
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
3k 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
594 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
234 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
2k 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
237 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
4k 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
792 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
3k 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 ...