Could you make a detector say a black widow spider then cross it over with a picture of JFK to see if it will match? I know Taos color sensor are pretty accurate.
i am working on similar color detection project, but i am using LDR for the detection, the main problem i am facing is that, when Blue LED is lit, the green color is also detected as blue (Comparator gives the output 1).
i am totally confused on it. anything u can help. thanks.
what you could also do is use 3 LDR's and have a blue, red, and green colour filter on each, then it takes the voltage recieved at each pin, and calculates the color and outputs to a 7-segment-display
well, the LED should already be at the color detected, because you have to set the RGB LED to the color you want to detect in the first place. Like, if you want to detect a red object, you have to set the RGB LED to red, and etc.
Why not switch Red, Green, Blue quickly in sequence and measure the intensity in each channel ? That way you directly get the color and don't need to set the color first for comparison.
Just use the LDR you've already got. There is a logarithmic relationship between resistance and light intensity : ln(R) = A - B ln(I). You'll need a calibration procedure to find out what A and B are. For simplicity you may assume a linear relationship instead. You'll need to calibrate your detector with a white piece of paper. OK the code is not simple, but the hardware is. I thought that's what you meant hehe ;-).
@twilight1138 this is gonna sound random, but what did you study to learn this? I haven't encountered this material in any of my classes yet (computer engineering major), so most of my knowledge of this comes from the internet. Did you read about this in a book, or did you take a class?? thanks for the input.
Well that's common information that can be found in most CdS photocells datasheets. It could probably be deduced from semiconductor theory. Try a course in semiconductors or quantum electronics.
Obiosly... Just Keep Switching the colors of the light and just use ADC (from phototransitor). As you get RGB values from Phototransistor.. Just use microcontroller as digital processor.. :)
@kyrib ...Yes, you can do that with the parts you already have in your circuit. It simply requires a little code modification. How do you measure intensity, you ask? Create a voltage divider using a fixed resistance and your photoresistor / photodiode in series between +5VDC and ground. Measure the voltage across your photoresistor using your microprocessor's analog-to-digital converter pin, and that's how you know the intensity of red, green, and blue light reflected by the object. :)
i was thinking u could be super famous for this. not just for the ideas u listed on facebook (although those uses for this would be awesome), but i mean this has so many implications even curing color-bllindness, and yah for sorting stuff. it is a big deal. u could be super rich. patent it!
great demo on how coloured light only reflects itself, I really enjoyed this :)
ken25taylor 6 days ago
I think i found the woman of my dreams
infringinator 2 weeks ago
This has been flagged as spam show
this is my mail address..ongjiaqing@hotmail.com...thks for help...
anthonyongjg 3 weeks ago
nice project...recently im testing with the colour sensor circuit..can i have ur schematic diagram for the connection for the circuit?thank a lot...
anthonyongjg 3 weeks ago
i'm very interested in this amazing project.
what are the wire connections in microcontroller? can i get a copy of schematic diagram with the microcontroller connected? thank you
joumel100 2 months ago
Could you make a detector say a black widow spider then cross it over with a picture of JFK to see if it will match? I know Taos color sensor are pretty accurate.
inspectorcritic 4 months ago
Can I get a copy of the schematic desighn ?
jgoodell1104 8 months ago
very very interesting! Im working on an interactive installation with my team but for a projection screen. And this is very useful as a research!
ngdj999 9 months ago
does it need any microcontroller or is it just a basic analogue circuit?
keithosmarferrer 9 months ago
hey kyrib!
i am working on similar color detection project, but i am using LDR for the detection, the main problem i am facing is that, when Blue LED is lit, the green color is also detected as blue (Comparator gives the output 1).
i am totally confused on it. anything u can help. thanks.
2008UETian 1 year ago
hi
fascinating i would say :).
if you can please explain for me more about your circuit i will appreciate.
do0osinaus 1 year ago
do you have a diagram for this? P.S. baller project!
VeryTucker 2 years ago
what you could also do is use 3 LDR's and have a blue, red, and green colour filter on each, then it takes the voltage recieved at each pin, and calculates the color and outputs to a 7-segment-display
UberCuba 2 years ago
I forgot, can you perhaps put the code and circuit online?
marcelijzerman 2 years ago
Can you change the color to the color detected?
miikebass 2 years ago
well, the LED should already be at the color detected, because you have to set the RGB LED to the color you want to detect in the first place. Like, if you want to detect a red object, you have to set the RGB LED to red, and etc.
kyrib 2 years ago
Ok! Nice job! :)
miikebass 2 years ago
Why not switch Red, Green, Blue quickly in sequence and measure the intensity in each channel ? That way you directly get the color and don't need to set the color first for comparison.
twilight1138 2 years ago
Well, then that's not so "simple", is it? ;) How do you measure intensity? Can i do that with just parts I have laying around?
kyrib 2 years ago
Just use the LDR you've already got. There is a logarithmic relationship between resistance and light intensity : ln(R) = A - B ln(I). You'll need a calibration procedure to find out what A and B are. For simplicity you may assume a linear relationship instead. You'll need to calibrate your detector with a white piece of paper. OK the code is not simple, but the hardware is. I thought that's what you meant hehe ;-).
twilight1138 2 years ago
@twilight1138 this is gonna sound random, but what did you study to learn this? I haven't encountered this material in any of my classes yet (computer engineering major), so most of my knowledge of this comes from the internet. Did you read about this in a book, or did you take a class?? thanks for the input.
great video kyrib!!!! -Joe
joebro391 2 years ago
Well that's common information that can be found in most CdS photocells datasheets. It could probably be deduced from semiconductor theory. Try a course in semiconductors or quantum electronics.
twilight1138 2 years ago
@kyrib
Obiosly... Just Keep Switching the colors of the light and just use ADC (from phototransitor). As you get RGB values from Phototransistor.. Just use microcontroller as digital processor.. :)
alwaysumer 1 year ago
@kyrib ...Yes, you can do that with the parts you already have in your circuit. It simply requires a little code modification. How do you measure intensity, you ask? Create a voltage divider using a fixed resistance and your photoresistor / photodiode in series between +5VDC and ground. Measure the voltage across your photoresistor using your microprocessor's analog-to-digital converter pin, and that's how you know the intensity of red, green, and blue light reflected by the object. :)
SamuelAaronWard 2 months ago
dosnt look simple XD i mean great idea
55Jaspal55 2 years ago
i was thinking u could be super famous for this. not just for the ideas u listed on facebook (although those uses for this would be awesome), but i mean this has so many implications even curing color-bllindness, and yah for sorting stuff. it is a big deal. u could be super rich. patent it!
students4freedom 2 years ago
Explain how this would cure colour blindness?
ChromeXk 2 years ago