Questions tagged [sensor-colour]

Questions about the color sensor and its use.

Filter by
Sorted by
Tagged with
1 vote
1 answer
168 views

DUPLO cargo train 10875 blue action brick has no effect

I bought my daughter Cargo Train 10875 and it all works OK with one exception—the blue action brick has no effect. The other action bricks all have some noticeable effect. I asked LEGO to send me a ...
Adam Ralph's user avatar
0 votes
1 answer
67 views

Colour sensor is not working on Mindstorms EV3

If I plug the colour sensor into one of my EV3 bricks, on Port View it recognises it. However, on my other brick, it shows the colour sensor symbol but says unknown, and shows no reading. The colour ...
Michael Savage's user avatar
5 votes
1 answer
967 views

Lego colors that the powered up color sensors can detect

Lego currently offers two color sensors to use with Powered Up or robotic kits (Spike Prime, Spike Essential, Mindstorms robotic inventor): https://www.lego.com/en-us/product/color-distance-sensor-...
Michael Verschaeve's user avatar
1 vote
1 answer
63 views

Is it possible to use a switch with three conditionals and the color sensor to compare?

I am using an EV3 robot. Is there a way to program it using a switch, or another way, to compare multiple colors? The goal is to have the robot act as a car and use the color sensor to recognize ...
Stephanie's user avatar
3 votes
1 answer
402 views

EV3 color sensor strangeness

I've run across something very strange with my color sensor when using multiple sensors and multiple nested loops for a sumobot. I have 4 separate loops continuously monitoring the "optical", "...
Dave Gillespie's user avatar
7 votes
1 answer
271 views

Can you change the sensitivity of an EV3 Touch Sensor?

My son is making a LEGO pinball machine and is wondering if it is possible to increase the sensitivity of an Ev3 Touch Sensor as when a ball hits it? Or does he need to use Color Sensors?
Legomom's user avatar
  • 71
1 vote
0 answers
121 views

EV3 software crashes when coding color sensor switch, how can I fix this? [closed]

When students use the switch block to program the color sensor on their Chromebooks, the app crashes. We have all accessibilities turned off and the OS is fully updated. What other troubleshooting ...
Michelle's user avatar
0 votes
0 answers
70 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 ...
mohammed ashoor's user avatar
3 votes
2 answers
128 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 ...
Ultraman2018's user avatar
2 votes
2 answers
744 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), ...
pengo's user avatar
  • 33
1 vote
2 answers
656 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 ...
weiterleiter's user avatar
0 votes
1 answer
367 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 ...
Huss ibra's user avatar
3 votes
1 answer
44 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 "...
xpanta's user avatar
  • 133
7 votes
2 answers
1k 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.
Vikhyat Agarwal's user avatar
7 votes
1 answer
8k 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 ...
Emily's user avatar
  • 93
1 vote
2 answers
4k 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 ...
Henrique M Rocamora's user avatar
3 votes
1 answer
992 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?
Stefano's user avatar
  • 31
3 votes
1 answer
311 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 ...
Alex's user avatar
  • 447
3 votes
1 answer
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 ...
UlfR's user avatar
  • 568
2 votes
1 answer
282 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 ...
UlfR's user avatar
  • 568
9 votes
1 answer
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?
UlfR's user avatar
  • 568
1 vote
1 answer
1k 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 = ...
Timbelion's user avatar
2 votes
3 answers
6k 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 ...
Timbelion's user avatar
4 votes
1 answer
4k 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 ...
Naomi's user avatar
  • 41
7 votes
1 answer
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 ...
Phav Makara's user avatar
3 votes
1 answer
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 ...
mirabilos's user avatar
  • 133
6 votes
2 answers
3k views

What colors does the NXT Color Sensor support?

Quick question, what colors does the NXT color sensor support? Is it the entire rainbow or only specific colors?
thedeadlybutter's user avatar