Adafruit TCS34725 RGB Sensor Demo

  Рет қаралды 56,139

learnelectronics

learnelectronics

Күн бұрын

Пікірлер: 81
@metallitech
@metallitech 6 жыл бұрын
Thx for sharing, recent subscriber here.
@JohnClulow
@JohnClulow 4 жыл бұрын
I bought one of these boards and look forward to trying it. One thing you might try is using some sort of diffuser over your clear LED. As you know, the LED has within it three individual LED's -R. G. and B. Yellow is actually not a separate color, it's red and green added together. This effect would be more evident if you were to, for example, project the output of the LED by projecting it on the wall of a white globe, like for a ceiling light. Then the R and G will overlap on the wall with yellow in the that area and the entire surface of the globe will be yellow.
@dave_dennis
@dave_dennis 6 жыл бұрын
Good Job! I work for AMS and we make this part. What you are trying to do is actually very hard to do well. You are doing this open loop and limits the accuracy. We’ve done the same thing only have enabled a second sensor on the LED. The software then know how close is is to an accurate reproduction and can make real time adjustment. Also we coded a PID loop for this self regulation. It makes it converge much faster. Hope this helps.
@MarcialWills
@MarcialWills 4 жыл бұрын
is there any chance you can share the project with that second sensor?
@floridian080
@floridian080 3 жыл бұрын
I believe that readings might have been improved if you had calibrated the RGB sensor. Have seen youtube videos of calibration process for other RGB sensors although not for this one. Also, the readings for each color in serial monitor might have made the video more informative.
@BarefootBeekeeper
@BarefootBeekeeper 6 жыл бұрын
I found this much easier to use than the TCS230, and the colour rendition is improved by using one of those flat LEDs. I managed to get a good differentiation between red, orange, yellow, green and blue, and made it turn a servo to point consistently to angles corresponding to the different colours.
@alexsala4615
@alexsala4615 2 жыл бұрын
Hey Phil, could you please respond with the code that allowed you to control the servo with the colour sensor? I am having trouble connecting the servo control code and the RGB colour sensor code in Arduino. I am using the TCS34725 and Arduino IDE to code, along with a servo motor. Thanks.
@georgechambers3197
@georgechambers3197 6 жыл бұрын
Much better part than the first one. Adafruit usally has the best stuff with most made in their facrory. Don't lose all your money too fast! Have fun.
@freedomer342
@freedomer342 2 жыл бұрын
Thanks for saving the day once again. I have the tsc230 and it's really not that great. Glad you did do the adafruit and will be using that one instead!
@teh60
@teh60 6 жыл бұрын
I haven’t had much experience with Adafruit so I’m learning a lot from this video. Good luck in Vegas.
@alejandrab.nolberto5681
@alejandrab.nolberto5681 6 жыл бұрын
I needed with the TC3200, but your video explained me too well about how to code the sensor, thank you very much!
@PicoGirl
@PicoGirl 4 жыл бұрын
That Green LED is only using 1 resistor. You've shorted the other resistor because both ends are in the same row of 5.
@PicoGirl
@PicoGirl 4 жыл бұрын
Use an online resistor calculator for each color in the rgb led
@robertocameto487
@robertocameto487 Жыл бұрын
Dear Sir; Thanks for your job. I have tried your proyect test for the TCS34275 and it works fine. It would be very much appreciated if you give us, an arduino proyect, a robotic arm with TCS34275, detecting and sorting objects by color. Thanks again and best regards from Montevideo-Uruguay
@akncanokyay2852
@akncanokyay2852 3 жыл бұрын
thank you for this hope ur health is better
@rrowan327
@rrowan327 6 жыл бұрын
Best of luck at the Casinos. Have fun with your vacation.
@luisnjt
@luisnjt 3 жыл бұрын
Your video is very good, I would like to know for example if I want to increase the detection area and I decide to place another sensor, how would I do it? thanks.
@bhavanasilakshmi1573
@bhavanasilakshmi1573 2 жыл бұрын
Can it detect liquid media colours
@SThomas1972
@SThomas1972 6 жыл бұрын
I have that sensor but not used it yet may have a play with it now.
@esmailmusa712
@esmailmusa712 5 жыл бұрын
Great. This video help me a lot. But i have a question, How about if we are not use arduino, Instead of PIC 16f84A?
@wiemsaddy
@wiemsaddy Жыл бұрын
hello , can i put the TCS34725 sensor on rgb led , to know the led color
@mikepanchaud1
@mikepanchaud1 6 жыл бұрын
Hi, The additional 1k resistor for green, will not have any effect as it is running ALONG the row of the breadboard. Maybe that is why the output is too green?
@learnelectronics
@learnelectronics 6 жыл бұрын
You are totally right, a complete brain-fart by me.
@erickeash
@erickeash 4 жыл бұрын
Hi, thanks for the great video, just curious if it can sense the red laser beam?
@mikehigham23
@mikehigham23 6 жыл бұрын
Your not making a 2k resistor with 2 x 1k as the second 1k is shorted out by the breadboard line. I think you thought of as you left a blank row but you didn't jump the 1k to the blank row.
@learnelectronics
@learnelectronics 6 жыл бұрын
yep, brain fart. When I get back from vacation I'm going to do an update.
@sourabhsemwal5485
@sourabhsemwal5485 3 жыл бұрын
10 cm distance from object which sensor should use
@ananthkini8205
@ananthkini8205 Жыл бұрын
i'm using a cqrobot tcs34725 rgb sensor, would these libraries be compatible with that sensor?
@jamest.5001
@jamest.5001 6 жыл бұрын
where do they get all that chineasium? do they mine it or something? I wish they would stop making so much stuff from it! great video. could that be the start of a cloaking device? or cloaking cloak! it would be hard to try cloaking something big.. great video!!!
@learnelectronics
@learnelectronics 6 жыл бұрын
I believe that Chinesium comes from recycled egg Foo young.
@arifsufi904
@arifsufi904 3 жыл бұрын
i'm using demos D1 board, which has only 1 analog pin. is there any way i can use tcs34725 with my board?
@sandeshprabhu8047
@sandeshprabhu8047 4 жыл бұрын
Can i use it with esp32 board
@pouria3132
@pouria3132 4 жыл бұрын
Hi , i bought TCS3200 and when the light has different density , the numbers change a lot ... this Sensor has same problem ? thanks for your answer.
@jeffbornes3986
@jeffbornes3986 2 жыл бұрын
Nice video. How is your health?
@learnelectronics
@learnelectronics 2 жыл бұрын
Not great
@marcioaureliocosta
@marcioaureliocosta 3 жыл бұрын
Hi, what about the speed? If the sensor was to be fixed in front a rotating part (ie Motor) would it detect a passing red stripe painted to that rotating part? Any idea if I could detect rpm or other fast readings like that? thanks
@jelamnyawai2680
@jelamnyawai2680 6 жыл бұрын
Hye there..can you show some video detect color by using RGB TCS34725 and Raspberry pi. Thank you.
@dbcooped7095
@dbcooped7095 5 жыл бұрын
has anyone seen something like this print out to a I2C OLED like and ssd1306? I have found several samples supposedly printing out to a LCD and never seen one work. I am trying to get it to output to an oled on a portable device and I suck at this. The wiring and all I have down pat but I'm way too green to know where I am going wrong substituting the OLED for the LCD. For that matter I have yet to see one of these projects out put raw values to an LCD and actually made it work.
@محمدعدنان-ع8ز
@محمدعدنان-ع8ز 6 жыл бұрын
شكرا يا رجل كووود موبدع سلامي لأهلك
@michaelpadovani9566
@michaelpadovani9566 6 жыл бұрын
Allstar review for this product!
@hamzakhan-bc6ps
@hamzakhan-bc6ps 5 жыл бұрын
Hi Guys i am having problem with the uploaded code as my arduino software giving me error saying Adafruit_TCS34725.h: no such file or directory. Can anybody please help me with that.
@MarcialWills
@MarcialWills 4 жыл бұрын
I'm having the same problem. Did you find a solution?
@arocketturtle1296
@arocketturtle1296 2 жыл бұрын
Im having the same problem. Did you figure out how to solve it
@jaredgray7872
@jaredgray7872 6 жыл бұрын
Good luck!
@kalimorety
@kalimorety 5 жыл бұрын
Hello what is the maximum distance that can be between the object and the sensor please ?
@learnelectronics
@learnelectronics 5 жыл бұрын
About 20-30mm
@Aysimlisa
@Aysimlisa 6 жыл бұрын
can we use arduino nano with tcs34725 ? it is a strange question i know but the sensor stop working arter a while ..we use nano and have this problem
@learnelectronics
@learnelectronics 6 жыл бұрын
Yes. The uno and the nano are functionally the same.
@Aysimlisa
@Aysimlisa 6 жыл бұрын
tcs34725 stops working after a while. do you have any idea what is wrong or have u ever been faced whit a problem like this
@donepearce
@donepearce 5 жыл бұрын
@@Aysimlisa It uses 3.3V for its IO - including the I2C. The Arduino is expecting 5V, so you may not be hitting the thresholds cleanly. You can get interface boards that convert 3.3V to 5V and vice versa - fully two way.
@olaoluwaraji2335
@olaoluwaraji2335 4 жыл бұрын
Can the TCS34725 detect the colour of liquids in transparent containers accurately?
@learnelectronics
@learnelectronics 4 жыл бұрын
I doubt it
@olaoluwaraji2335
@olaoluwaraji2335 4 жыл бұрын
@@learnelectronics alright thanks. Do you know any sensor that can?
@olaoluwaraji2335
@olaoluwaraji2335 4 жыл бұрын
@@learnelectronics alright thanks. Do you know any sensor that can?
@dincerekin
@dincerekin 2 жыл бұрын
I think it might be able to. You can set the tcs to x60 gain and the integratiom time can be set from 1ms up to 600ms. You may have to shine a light through the liquid towards the sensor and tweak the tcs settings, but you should be able to
@cantaldianebernadetteo3256
@cantaldianebernadetteo3256 2 ай бұрын
where is the code
@kevinvaldez2509
@kevinvaldez2509 2 жыл бұрын
Is there a way to change the analog A4 and A5 to like A8 and A9?
@learnelectronics
@learnelectronics 2 жыл бұрын
Not within the Arduino IDE. Those are the I2C port pins.
@Lordpoopsir
@Lordpoopsir 6 жыл бұрын
How close does the object have to be to the senor?
@learnelectronics
@learnelectronics 6 жыл бұрын
About 4 inches or less. Ot works on reflected light.
@pokednaful
@pokednaful 2 жыл бұрын
Can it detect small item color?
@learnelectronics
@learnelectronics 2 жыл бұрын
I did not find it to be very accurate. But that could be just me.
@HennersPD
@HennersPD 4 жыл бұрын
Can this be used on a Raspberry Pi and if so, how? Thank you!
@dincerekin
@dincerekin 2 жыл бұрын
Yes, uses I2C
@MarcialWills
@MarcialWills 4 жыл бұрын
where can I get the Wire.h library?
@MarcialWills
@MarcialWills 4 жыл бұрын
never mind.. I just figured it out
@arocketturtle1296
@arocketturtle1296 2 жыл бұрын
@@MarcialWills Can you tell me where to get it, im having the same problem
@MarcialWills
@MarcialWills 2 жыл бұрын
@@arocketturtle1296 for some reason KZbin delets my reply probably because I am referring you to go to a website. I'll try later
@MarcialWills
@MarcialWills 2 жыл бұрын
@@arocketturtle1296 just update your Arduino IDE version. It is at the official Arduino site, in the software section
@arocketturtle1296
@arocketturtle1296 2 жыл бұрын
@@MarcialWills Ok thank you very much.
@thebeststooge
@thebeststooge 6 жыл бұрын
Still junky. What have they used at paint stores for the last 20 years?
@learnelectronics
@learnelectronics 6 жыл бұрын
Spectrophotometer
@thebeststooge
@thebeststooge 6 жыл бұрын
Can we get something like that to use in an Arduino? I know they sell the entire units for consumer usage but I wonder if they sell a module?
@keithking1985
@keithking1985 5 жыл бұрын
All you can see is green
@ICStation2013
@ICStation2013 6 жыл бұрын
Thumbs up.
@saadnaseem891
@saadnaseem891 6 жыл бұрын
Nice 🖒🖒
@dineshvyas
@dineshvyas 4 жыл бұрын
YELLOW is not yellow. Chinese sensor produced better yellow than this.
@gapadad2
@gapadad2 6 жыл бұрын
FYI...Audio is bad. Hurts my ears to listen to it. What happened? good videos though.
@MPElectronique
@MPElectronique 6 жыл бұрын
No real usefull use of this sensor?
@learnelectronics
@learnelectronics 6 жыл бұрын
Color sorting, color recognition...
Arduino PWM in depth
8:51
learnelectronics
Рет қаралды 3,9 М.
Arduino Color Sensors - TCS230 & ISL29125
34:57
DroneBot Workshop
Рет қаралды 143 М.
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,7 МЛН
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,4 МЛН
Colour Sensor Shoot-Out - Part 3 - TCS34725
18:35
Unexpected Maker
Рет қаралды 16 М.
RGB Farb Sensor TCS34725 am Arduino
13:16
Makerblog.at - Arduino & Co
Рет қаралды 57 М.
Choosing a color sensor for your application
9:16
Texas Instruments
Рет қаралды 2,3 М.
"RGB to XYZ: The Science and History of Color" by John Austin
37:54
Strange Loop Conference
Рет қаралды 43 М.
Building a Cheat Color Sensor!
9:44
0612 TV w/ NERDfirst
Рет қаралды 1 М.
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,7 МЛН