2

I'm trying to build the MindCub3r model shared online at http://mindcuber.com. It often has trouble scanning the cube so I wanted to check the output of the colour scanner by using the Commander app. I've made a custom controller panel featuring a colour sensor output, but it only shows red, either dark or bright. The EV3 colour sensor can detect more than that, how can I get the Commander app to show me what colour it really sees.

Incidentally when scanning the cub I see it shining RGB light at the target. When using the app it is only shining red.

1 Answer 1

3

The MindCuber program uses a special ColorSensorRGB block (see section 2.1 on the MindCuber EV3 Page). This block uses a "hidden" mode of the LEGO EV3 Color sensor to read raw RGB values. This mode is not available in the Commander app for Android or iPhone.

The mode you are seeing in the Command app (with only the red LED) is the reflected light mode.

If you want to see what the MindCuber program sees, then you will need to write a program using the LEGO MINDSTORMS EV3 desktop software along with the special ColorSensorRGB block from the MindCuber web page.

The MindCuber program does not actually care what color each square on the Rubik's cube is. It actually guesses which squares are white and then sorts the remaining colors by hue. So, observing the RGB values directly will probably not provide much insight. You will need to study the MindCuber program and copy parts of it to debug what the MindCuber program is "seeing".

There is also a list of troubleshooting tips on the MindCuber EV3 Page as well as a link to the MindCuber Facebook page which is the official way to get support for the MindCuber.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.