Re: How to use TCRT5000?
Posted: Tue Mar 15, 2022 1:32 am
Magi wrote:The TCRT5000L is a reflective sensor with an infrared emitter and phototransistor housed in a leaded package that blocks visible light. Two mounting clips are included in the package. Can you tell me how to use TCRT5000L and how does it work?
https://www.utmel.com/components/tcrt50 ... er?id=1584
I've done a couple of projects with these: line-following robot and anemometer. Here are my accumulation of notes with the original references.
Uses InqPortal for output and display.
• TCRT5000L - Range: 0.2mm to 15mm
• Datasheet - http://www.vishay.com/docs/83760/tcrt5000.pdf
• Tachometer - http://www.electronoobs.com/eng_arduino_tut15.php
• But for ESP8266
The datasheet says the forward current through the diode is to be no larger than 60mA. With 3.3 V supply and an emmitter forward voltage of about 1V there should be a (3.3-1)/0,06 = 36 Ohms resistor in series with the diode. I would go for a little bit more, say 47 Ohms.
From <https://www.letscontrolit.com/forum/viewtopic.php?t=3743>
Hope this helps.