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.
Hope this helps.
w/ GUI Admin Client, Drag & Drop File Manager, OTA Built-In, Access Point Manager,
Performance Metrics, Web Socket Comms, App API, All running on ESP8266...
Even usable on ESP-01S --- Please check it out!