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

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

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

  • @TheNetRealtor
    @TheNetRealtor 4 года назад +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.

  • @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?

  • @glidinghigh4836
    @glidinghigh4836 5 лет назад +6

    Very well explained.

  • @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!

  • @yankovalsky7696
    @yankovalsky7696 Год назад +1

    Hi. Many thanks for the good presentation.

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

  • @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?

  • @deeplyrics6855
    @deeplyrics6855 6 месяцев назад

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

  • @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

  • @8ugi41
    @8ugi41 6 месяцев назад

    Could I use tcrt5000 as analog input like potantiometer?

  • @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?

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

    is the analog output is distance in mm form ?

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

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

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

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

  • @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

  • @OVXX666
    @OVXX666 Год назад

    what does pinLED do?

  • @deepakkoirala2296
    @deepakkoirala2296 10 месяцев назад

    What the total current consumption by this sensor?

  • @mdabdurrahmanfahim-143
    @mdabdurrahmanfahim-143 2 года назад

    Can i connect ir sensor to arduino nano via wireless?

  • @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! 😉

  • @Chirrup...
    @Chirrup... 4 года назад +1

    This is such interesting info

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

    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..

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

    Can it be used with a Raspberry pi?

  • @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 4 года назад +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.

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

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

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

      Unless there's a special property of glucose that allows it to reflect infrared light, then no

  • @drewsXR650L
    @drewsXR650L Год назад

    what is the measurement in? mm??

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

    How can I use this to trigger a 555 timer ?

  • @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?

  • @amiraelmaddah8798
    @amiraelmaddah8798 3 месяца назад

    YOU ARE A LEGEND INSTANT SUBSCRIBE

  • @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.

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

    It can work in sunlight

  • @rodrigo-tj1gf
    @rodrigo-tj1gf 4 года назад

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

    • @user-rs8zg8ey2b
      @user-rs8zg8ey2b 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.

  • @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?

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

    Pls make a vedio on iron man helmet

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

    Hi.....

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

    Can this detect human beings presence. Guess not.

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

    false experience

  • @Chirrup...
    @Chirrup... 4 года назад

    so boring