Это видео недоступно.
Сожалеем об этом.
Colour Sensor Shoot-Out - Part 3 - TCS34725
HTML-код
- Опубликовано: 24 мар 2018
- Today I'm looking at the TCS34725 sensor by Adafruit, to see how it fares in my colour sensor shoot-out + more!
I've been looking into colour sensors for a particular use case - detection of red, green & blue - for a project I have set myself to complete - based on this awesome video by:
Jonathan Oxer - SuperHouseTV
• Vlog #43: SMEE Robot B...
So I decided to do a shoot-out, comparing all of the sensors I can find.
I had a lot of trouble getting this sensor to work reliably and though I make some fair assessments during this video, I am still doing more behind the scenes with it to see if I can improve it's results.
Let's find out how good this sensor is...
Parts I use in this video...
TCS34725 Module...
www.adafruit.c...
Arduino Nano 16Mhz 5V...
rover.ebay.com...
0.95" Color OLED...
www.banggood.c...
★ Liking and sharing my videos really helps me grow my channel and allows me to continue making videos for you to enjoy. Thanks!
★ FOLLOW ME
/ unexpectedmaker
/ unexpectedmaker
/ unexpectedmaker
*Disclosure: Some product links are affiliate links, and if you purchase via these links I may earn commission on the sale to help me fund making videos for you to watch. Thanks.
This video was really helpful. I've been fighting my color sensor to try and get more consistent results the last week. It's gonna take me some time to implement, but at least I've got a direction now.
Loved this video! You should test some Sparkfun color sensors also! Thanks!
-Karl
Thanks Karl!
I still dont understand what is "integration time & gain" do. How if we change the time and the gain?
Can you explain me please?
Hey is there any place I can get a copy of your code?
Where can i find code?
Good video, could you share the code? really accurate just the calibration code Thank you
Can the red be from the red LED from the Nano?
Try calibrating the black level in open air, without holding it against something black. I'm wondering if that will yield better results and help to compensate for the LED's glare without introducing weird colour offsets.
I was basically in a lightless room using it, it def didn't help or change the calibration quality at all :(
Unexpected Maker That's a shame 😞 Can the brightness of the LED be adjusted? I'm thinking multiple scans at different brightness levels might work, then pick the reading that has the largest distinction between the red, green and blue channels.
That's what I'm gonna try when I get one of these. Also a light shroud.
I think a shroud would def help. No ability to control the brightness of the LEDs, but that would be a good hack for sure!
Unexpected Maker Apparently it has adjustable gain, so might be able to tone down the sensitivity. Could maybe also PWM the led pin. I'm assuming it can be driven on and off that fast? Sensor might just see the pulses though 😞
I wana try this in school! do you have the programm to properly run the sensor after the calibration?
Did you try calibrating without those red leds lit?
you gave me all the answers i was looking! just one question: do u know uf i can use this sensor with pic 16f887?
I don't use PIC processors, but I don't see why not.
Could you please upload the code for me? This sensor would work perfect for my project as they object is very close. Thank you
What is the interrupt for ?
Hey Karl. Excellent tutorial.
Question, how fast can or capture the colour values? I would like to capture and detect a passing colour circular dot.
About 200 times per second might be the maximum speed.
Is it reflecting green back from the board? try masking it with matte black.
Yup, I can see from behind that some of the board is slightly translucent. The red shift is way more of an issue then the green.I've been working more with this sensor and alternative code. I might make a future video on my progress - not sure yet :-)
Please do! Also psst Adafruit just released a new colour sensor :)
Congrats for the video, can you make the code available?
Yeah I need to get all of the code examples from each sensor cleaned up and put online... I'll get to it as soon as I find some time and post back here when it's done. Cheers!
Tks.
hi, can i ask? what lcd you use to output the color that tcs sensors detect ? thanks a lot this video was really helpful
and if the tcs sensor are inside the acrelyc case or transparent case does the sensor can detect color?
nice video
can you upload the code please?
Can you make the code available?
You gave me an idea using tcs34725. but I have one question, How wan i use PIC16f84A?
No idea sorry, I don't use PIC micro controllers.
how about not using arduino?
So using what? I don't follow? Lots of tutorials on the internet about using all sorts of micro-controllers with different languages... maybe try google?
Thank you ... you can put us a code❤💙💙💙
Expect no code from this guy, several people have ask already.
Yup, this guy is especially bad because there isn't an abundance of code already out there for this sensor... oh wait, yeah there is... examples for Arduino, CircuitPython and Micropython. Google search is amazing, you should give it a try!
@@UnexpectedMaker yeah, a expected comment from an unexpected maker of useless comments. Have a nice positive future. 😊
Yeah too much work to get that running properly.
I didn't expect it to be so problematic. It still might just be me using it wrong, but I'm pretty good at colour sensors atm, so I am doubtful. That red shift is a problem... and I am in comms with Adafruit support about it, but no resolution there yet.
I have a new version of my code that auto-ranges it, but nothing I do removed the red shift :(
As soon as I put the 5v wire in, the arduino is no longer able to be detected. "Error uploading, check if the selected board is currently available"
I fixed it. Every video shows the pin is put into the 5v pin, but I only got it to work with 5v coming from arduino and going into the 3.3V
Glad you got it working!