Это видео недоступно.
Сожалеем об этом.

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.

Комментарии • 44

  • @VincentMota
    @VincentMota 5 лет назад +3

    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.

  • @karlng2691
    @karlng2691 6 лет назад +2

    Loved this video! You should test some Sparkfun color sensors also! Thanks!
    -Karl

  • @pokednaful
    @pokednaful 2 года назад

    I still dont understand what is "integration time & gain" do. How if we change the time and the gain?
    Can you explain me please?

  • @mastermoarman
    @mastermoarman 4 года назад +1

    Hey is there any place I can get a copy of your code?

  • @user-mu1tc2ls6e
    @user-mu1tc2ls6e 4 года назад +2

    Where can i find code?

  • @empirico8092
    @empirico8092 4 года назад +1

    Good video, could you share the code? really accurate just the calibration code Thank you

  • @samuelsungstabtu7527
    @samuelsungstabtu7527 2 года назад

    Can the red be from the red LED from the Nano?

  • @azyfloof
    @azyfloof 6 лет назад +2

    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.

    • @UnexpectedMaker
      @UnexpectedMaker  6 лет назад +1

      I was basically in a lightless room using it, it def didn't help or change the calibration quality at all :(

    • @azyfloof
      @azyfloof 6 лет назад +1

      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.

    • @UnexpectedMaker
      @UnexpectedMaker  6 лет назад +1

      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!

    • @azyfloof
      @azyfloof 6 лет назад

      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 😞

  • @rexcolas5803
    @rexcolas5803 5 лет назад

    I wana try this in school! do you have the programm to properly run the sensor after the calibration?

  • @giannisr461
    @giannisr461 5 лет назад

    Did you try calibrating without those red leds lit?

  • @rexcolas5803
    @rexcolas5803 5 лет назад +1

    you gave me all the answers i was looking! just one question: do u know uf i can use this sensor with pic 16f887?

    • @UnexpectedMaker
      @UnexpectedMaker  5 лет назад

      I don't use PIC processors, but I don't see why not.

  • @danhergenrederjr338
    @danhergenrederjr338 5 лет назад

    Could you please upload the code for me? This sensor would work perfect for my project as they object is very close. Thank you

  • @ariesaedityapratama5472
    @ariesaedityapratama5472 4 года назад

    What is the interrupt for ?

  • @peterkrause5187
    @peterkrause5187 3 года назад

    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.

    • @mooseloose3231
      @mooseloose3231 3 года назад

      About 200 times per second might be the maximum speed.

  • @TheAlasFelatio
    @TheAlasFelatio 6 лет назад +1

    Is it reflecting green back from the board? try masking it with matte black.

    • @UnexpectedMaker
      @UnexpectedMaker  6 лет назад +2

      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 :-)

    • @e1ghthree
      @e1ghthree 6 лет назад +2

      Please do! Also psst Adafruit just released a new colour sensor :)

  • @caiocjacob
    @caiocjacob 6 лет назад +3

    Congrats for the video, can you make the code available?

    • @UnexpectedMaker
      @UnexpectedMaker  6 лет назад +3

      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!

    • @caiocjacob
      @caiocjacob 6 лет назад

      Tks.

  • @laurenzcenteno7711
    @laurenzcenteno7711 4 года назад

    hi, can i ask? what lcd you use to output the color that tcs sensors detect ? thanks a lot this video was really helpful

    • @laurenzcenteno7711
      @laurenzcenteno7711 4 года назад

      and if the tcs sensor are inside the acrelyc case or transparent case does the sensor can detect color?

  • @2009slmlm
    @2009slmlm 5 лет назад +2

    nice video
    can you upload the code please?

  • @varunkumar6609
    @varunkumar6609 4 года назад +1

    Can you make the code available?

  • @esmailmusa712
    @esmailmusa712 5 лет назад +1

    You gave me an idea using tcs34725. but I have one question, How wan i use PIC16f84A?

    • @UnexpectedMaker
      @UnexpectedMaker  5 лет назад

      No idea sorry, I don't use PIC micro controllers.

    • @esmailmusa712
      @esmailmusa712 5 лет назад

      how about not using arduino?

    • @UnexpectedMaker
      @UnexpectedMaker  5 лет назад +1

      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-masri3477
    @mohammedal-masri3477 6 лет назад

    Thank you ... you can put us a code❤💙💙💙

  • @jesperkleemann1333
    @jesperkleemann1333 2 года назад +4

    Expect no code from this guy, several people have ask already.

    • @UnexpectedMaker
      @UnexpectedMaker  2 года назад

      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!

    • @jesperkleemann1333
      @jesperkleemann1333 2 года назад +1

      @@UnexpectedMaker yeah, a expected comment from an unexpected maker of useless comments. Have a nice positive future. 😊

  • @doughy67
    @doughy67 6 лет назад +1

    Yeah too much work to get that running properly.

    • @UnexpectedMaker
      @UnexpectedMaker  6 лет назад

      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 :(

    • @willingoYT
      @willingoYT 6 лет назад

      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"

    • @willingoYT
      @willingoYT 6 лет назад +1

      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

    • @UnexpectedMaker
      @UnexpectedMaker  6 лет назад

      Glad you got it working!