Answer the question
In order to leave comments, you need to log in
Arduino. How to recognize color with TCS230 sensor?
I ordered a color sensor
https://ru.aliexpress.com/item/color-recognition-s...
I don't understand how to recognize colors.
The sensor has three filters: red, green and blue.
___________R____G___B
Red: 220 534 540
Blue: 570 355 357
Pale green: 180 173 173
Yellow: 160 225 230
Shouldn't the value with the blue filter (357) stand out against the background of the value with the green filter (355) on the blue color.
I converted the resulting values to RGB so that with white it was 255, black - 0. On blue I get (186, 227, 227), on yellow - (248, 238, 238) - this is already in RGB.
I thought that on blue, when using a red or green filter, I would get a value of about 0
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question