Line sensor TCRT5000 module
Infrared reflective sensor that looks at the floor: a light surface reflects, AO goes low and DO low (its LED lights); black tape reflects little, AO near VCC, DO high. Best 1–8 mm above the floor (most signal at 2.5 mm). The trimmer sets where DO switches. In the World, stick it under a robot board near the floor (a standoff brings it down) and lay black tape on a white course mat.
Key data
- Category
- Modules
- Simulation model
- Behavioural mixed-signal model
- Manufacturer part number
- TCRT5000 module (LM393)
- Reference prefix
- U
- Pins
- 4
- Land pattern
- PinHeader_1x04_P2.54mm_Vertical
Used in these examples 1
Simulation model
A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.
- Model
- tcrt5000
- Supply pins
- VCC / GND
Pins 4
| Pin | Name | Use |
|---|---|---|
| VCC | VCCSupply pin | Supply input: decouple with 100 nF close to the pin |
| GND | GNDGround pin | Ground |
| DO | DOOutput pin | Logic output: drives the next input; do not tie outputs together |
| AO | AOOutput pin | Logic output: drives the next input; do not tie outputs together |
Parameters 3
surfaceliveWithout the World: what it looks at. White paper ~90 %, a grey floor ~30 %, black tape ~5 % (estimates)
heightliveWithout the World: data sheet: most signal at 2.5 mm, half of it at 8 mm
trimliveDO goes low when AO falls below this share of VCC
PCB
PinHeader_1x04_P2.54mm_VerticalLine sensor TCRT5000 module as a module on a 4-pin header (VCC, GND, DO, AO) – compare the order with your own module