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.
@JACK-xw8kn3 ай бұрын
How far do you think read the TCS34725? And where is the code of the OLED? Pls Is incredible
@mastermoarman4 жыл бұрын
Hey is there any place I can get a copy of your code?
@pokednaful3 жыл бұрын
I still dont understand what is "integration time & gain" do. How if we change the time and the gain? Can you explain me please?
@user-mu1tc2ls6e4 жыл бұрын
Where can i find code?
@samuelsungstabtu75272 жыл бұрын
Can the red be from the red LED from the Nano?
@azyfloof6 жыл бұрын
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.
@UnexpectedMaker6 жыл бұрын
I was basically in a lightless room using it, it def didn't help or change the calibration quality at all :(
@azyfloof6 жыл бұрын
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.
@UnexpectedMaker6 жыл бұрын
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!
@azyfloof6 жыл бұрын
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 😞
@empirico80924 жыл бұрын
Good video, could you share the code? really accurate just the calibration code Thank you
@rexcolas58036 жыл бұрын
you gave me all the answers i was looking! just one question: do u know uf i can use this sensor with pic 16f887?
@UnexpectedMaker6 жыл бұрын
I don't use PIC processors, but I don't see why not.
@TheAlasFelatio6 жыл бұрын
Is it reflecting green back from the board? try masking it with matte black.
@UnexpectedMaker6 жыл бұрын
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 :-)
@e1ghthree6 жыл бұрын
Please do! Also psst Adafruit just released a new colour sensor :)
@rexcolas58036 жыл бұрын
I wana try this in school! do you have the programm to properly run the sensor after the calibration?
@karlng26916 жыл бұрын
Loved this video! You should test some Sparkfun color sensors also! Thanks! -Karl
@UnexpectedMaker6 жыл бұрын
Thanks Karl!
@peterkrause51874 жыл бұрын
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.
@mooseloose32313 жыл бұрын
About 200 times per second might be the maximum speed.
@giannisr4615 жыл бұрын
Did you try calibrating without those red leds lit?
@ariesaedityapratama54725 жыл бұрын
What is the interrupt for ?
@2009slmlm6 жыл бұрын
nice video can you upload the code please?
@varunkumar66094 жыл бұрын
Can you make the code available?
@caiocjacob6 жыл бұрын
Congrats for the video, can you make the code available?
@UnexpectedMaker6 жыл бұрын
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!
@caiocjacob6 жыл бұрын
Tks.
@laurenzcenteno77115 жыл бұрын
hi, can i ask? what lcd you use to output the color that tcs sensors detect ? thanks a lot this video was really helpful
@laurenzcenteno77115 жыл бұрын
and if the tcs sensor are inside the acrelyc case or transparent case does the sensor can detect color?
@danhergenrederjr3385 жыл бұрын
Could you please upload the code for me? This sensor would work perfect for my project as they object is very close. Thank you
@esmailmusa7126 жыл бұрын
You gave me an idea using tcs34725. but I have one question, How wan i use PIC16f84A?
@UnexpectedMaker6 жыл бұрын
No idea sorry, I don't use PIC micro controllers.
@esmailmusa7126 жыл бұрын
how about not using arduino?
@UnexpectedMaker6 жыл бұрын
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?
@mohammedal-masri34776 жыл бұрын
Thank you ... you can put us a code❤💙💙💙
@doughy676 жыл бұрын
Yeah too much work to get that running properly.
@UnexpectedMaker6 жыл бұрын
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 :(
@willingoYT6 жыл бұрын
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"
@willingoYT6 жыл бұрын
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
@UnexpectedMaker6 жыл бұрын
Glad you got it working!
@jesperkleemann13333 жыл бұрын
Expect no code from this guy, several people have ask already.
@UnexpectedMaker3 жыл бұрын
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!
@jesperkleemann13333 жыл бұрын
@@UnexpectedMaker yeah, a expected comment from an unexpected maker of useless comments. Have a nice positive future. 😊