TCRT5000 Infrared Reflective Sensor - How it works and example circuit with code.

Поділитися
Вставка
  • Опубліковано 6 вер 2024

КОМЕНТАРІ • 56

  • @TheNetRealtor
    @TheNetRealtor 3 роки тому +2

    Isn't the code displayed missing a couple of calls to analogRead(pinIRa) and digitalRead(pinIRd)? The serial output shows results that imply the calls are there.

  • @breadoflifemeditationandhe466
    @breadoflifemeditationandhe466 3 роки тому +1

    Great work sir, but it was malfunctioning under sunlight, please help with comprehensive details on how to overcome this challenge thank

  • @davidederosi6068
    @davidederosi6068 2 роки тому +2

    Hello, what about analog output? How does the signal is made? Is It a voltage +5 dropping down to 0 when an object Is near? Thank you 😊

    • @DIYMachines
      @DIYMachines  2 роки тому +2

      The analog output will report back the intensity of the light measured at the sensor. The value will be between +5 and 0 (rarely at the extreme ends of the scale) As opposed to the digital output which would indicate a 1 or 0 depending on the reaching threshold set on the potentiometer.

    • @davidederosi6068
      @davidederosi6068 2 роки тому

      @@DIYMachines that's perfect! I need to use it as a potentiometer and connect to a guitar pedal as a spare in a circuit which espects input value from +5 to 0V! Thank you :)

  • @glidinghigh4836
    @glidinghigh4836 5 років тому +6

    Very well explained.

  • @ckat609
    @ckat609 Рік тому

    I made a simple circuit with a regular white led and a photoresistor. It sucks at picking up changes in the daylight. Is this any better? If so, why? Is it a wavelength thing?

  • @8ugi41
    @8ugi41 3 місяці тому

    Could I use tcrt5000 as analog input like potantiometer?

  • @deeplyrics6855
    @deeplyrics6855 4 місяці тому

    Is it okay to the TRCT 5000 IR SENSOR Module to ESP 32?

  • @JeffLewistennis
    @JeffLewistennis 2 роки тому

    Great vid. I'm trying to develop a product with this technology. Who would I talk to for consulting on building it? Thanks!

  • @riceisacereal
    @riceisacereal Рік тому

    Thank you so much for the very detailed video!! :) I find it quite counter-intuitive that the digital pin is set to high when less infrared light is observed, would you happen to know why it is designed this way?

  • @yankovalsky7696
    @yankovalsky7696 9 місяців тому +1

    Hi. Many thanks for the good presentation.

  • @zx3215
    @zx3215 2 роки тому

    Can the digital output of that little board be connected to an interrupt pin of Arduino Mega, so the arduino reacts instantly to the presence/absence of the reflective object?

  • @OVXX666
    @OVXX666 Рік тому

    what does pinLED do?

  • @albinaugustine5546
    @albinaugustine5546 2 роки тому

    is the analog output is distance in mm form ?

  • @phrozen1013
    @phrozen1013 3 роки тому +1

    Great video, thanks. I have the TCRT5000 without the breakout board. Should I be including a resistor in my circuit?

    • @immanueljzv6832
      @immanueljzv6832 2 роки тому

      Yes google the datasheet and check the max amp then use a resistor to bring current down if you have higher current

  • @pyclco
    @pyclco 2 роки тому

    do you know of any sensor with similar characteristics but much smaller in size? thank you

  • @KOTSOS5
    @KOTSOS5 4 роки тому +1

    "Noise cancellation scripts", can you provide a debounce code for the TCRT5000, I recently made a modificated version of your coin sorting machine, but anytime a coin pass through the sensor, it starts to give me some extra noise data, and yes i have checked the potentiometer behind to adjust as low as I could.

    • @KOTSOS5
      @KOTSOS5 4 роки тому

      @glyn hodges actually a last button state is a lot better than delay, so when it triggers once it stop counting infinite but only once! 😉

  • @mdabdurrahmanfahim-143
    @mdabdurrahmanfahim-143 2 роки тому

    Can i connect ir sensor to arduino nano via wireless?

  • @chanchalsakarde2768
    @chanchalsakarde2768 3 роки тому

    Hi Sir..All you guidance is awesome.... you are really great ...lots of wishes..Sir i would like you to teach us for "Coin Separator" DIY if possible..

  • @dietcoke8114
    @dietcoke8114 2 роки тому

    can i use this for a sensor to create a volume control/expression pedal?

  • @drewsXR650L
    @drewsXR650L Рік тому

    what is the measurement in? mm??

  • @DamithShanAbeywicrema
    @DamithShanAbeywicrema 4 роки тому

    Can we use this sensor to measure the glucose level in a solution?

  • @Chirrup...
    @Chirrup... 4 роки тому +1

    This is such interesting info

  • @amiraelmaddah8798
    @amiraelmaddah8798 21 день тому

    YOU ARE A LEGEND INSTANT SUBSCRIBE

  • @deepakkoirala2296
    @deepakkoirala2296 7 місяців тому

    What the total current consumption by this sensor?

  • @allisonmedhurst8245
    @allisonmedhurst8245 3 роки тому

    How can I use this to trigger a 555 timer ?

  • @franciscorodrigues-yz4ew
    @franciscorodrigues-yz4ew 4 роки тому

    hey I did everything the upload went well the sensor is working but when I go to the monitor in series, only appear "???????" what should I do?

    • @blegher
      @blegher 3 роки тому +1

      if ????? appears, then you need to change the Serial monitor rate. Open the Serial monitor and look at the bottom. Change your Serial monitor rate to 9600 then try again.

  • @dingasing
    @dingasing 2 роки тому +1

    Can it be used with a Raspberry pi?

  • @beaueads4170
    @beaueads4170 4 роки тому

    Can such a device, if pointed toward the ground, measure the reflectiveness of infrared light of objects inside the earth? If so, can you please tell me how to get my hands on a device with such capability?

    • @bjornwegener3233
      @bjornwegener3233 4 роки тому

      so you want to detect IR (heat) from objects hidden in the ground?

    • @beaueads4170
      @beaueads4170 4 роки тому

      @@bjornwegener3233 Yes, how can that be accomplished, any idea?

  • @rodrigo-tj1gf
    @rodrigo-tj1gf 3 роки тому

    Why does it needs to be conected to a analog input ?

    • @Ozzy3333333
      @Ozzy3333333 3 роки тому

      it does not, the output of the sensor is analog, if you like use it, or if the digital suits your circuit better, use it, its nice they output both for different circuits.

  • @johnfrankforther8162
    @johnfrankforther8162 5 років тому +2

    Try using this on a black non reflective object. It will not register.

    • @DIYMachines
      @DIYMachines  5 років тому

      Yes you're correct. If the object is not very reflective then a sensor that employs a different method of detection would be more suitable.

  • @Music-ox2jg
    @Music-ox2jg 3 роки тому

    Cant i use without arduino?

    • @DIYMachines
      @DIYMachines  3 роки тому

      Yes you can. Use the LM393 and potentiometer on the sensor to set a trigger threshold.

  • @simonsmith7504
    @simonsmith7504 5 років тому

    HELP HELP HELP
    What am I doing wrong? Copied the code and get values from the serial monitor. However, when I slide a coin past it, it dosent sense it. I literally have to put my hand in front of it. I have tried with 3 different sensors and get the same result. Any help would be much appreciated. Im such a noob.

    • @DIYMachines
      @DIYMachines  5 років тому

      Keep calm! Try using a small screwdriver to adjust the potentiometer. This will adjust its sensitivity on the digital pin. Let me know how that goes.

    • @simonsmith7504
      @simonsmith7504 5 років тому

      @@DIYMachines Thank you so much for the reply, i have tried that but no luck? i am quite sure i must be doing something wrong, i have mocked up the £2 coin section in card and it is just not seeing the coin drop i have to drop the coin so slowly for any digital reading! any help or advice? very grateful

    • @DIYMachines
      @DIYMachines  5 років тому

      @@simonsmith7504 This is bizarre. Try reducing the size of the delays in the example code. Does this have any effect?

  • @mvchannel7296
    @mvchannel7296 3 роки тому

    It can work in sunlight

  • @nitishchowdary6021
    @nitishchowdary6021 3 роки тому

    Pls make a vedio on iron man helmet

  • @kiranshashiny
    @kiranshashiny 4 роки тому

    Can this detect human beings presence. Guess not.

  • @azazahmedlipu9738
    @azazahmedlipu9738 4 роки тому

    Hi.....

  • @hrntl
    @hrntl 5 років тому

    false experience

  • @Chirrup...
    @Chirrup... 4 роки тому

    so boring