Projects with a TCRT5000 line sensor
4 Mokxi projects use a TCRT5000 line sensor (2 beginner and 2 intermediate). They run on Arduino Uno boards, and 1 needs no board at all. Here are all of them, from “Line tracking sensor on pin 3” to “Robot vacuum behaviors”. Each card says what the project does, the board and parts it needs and its level, and Open in the simulator runs it in your browser in one click, with no account.
How to pick your first one
- Start with “Line tracking sensor on pin 3”, a beginner project that needs a TCRT5000 line sensor.
- Arduino Uno runs 3 of them and 1 needs no board at all. Start on the board you have, or on an Arduino Uno if you are buying one.
- The parts used most here are the 2WD robot car chassis (2 projects), the DRV8833 motor driver (2) and the FC-51 IR obstacle sensor (1). With those on hand, most of this list is open to you.
- Before you build one on a real bench, open the TCRT5000 line sensor part page for its pins and what each one does.
4 projects ready to run

Line tracking sensor on pin 3
A TCRT5000 line sensor’s digital output on pin 3, printed to the serial monitor: one value over white, the other over a black line.
- Board
- Arduino Uno R3
- Parts
- TCRT5000 line sensor
- Level
- Beginner

Comparator boards
An MQ-2, a flame sensor, a TCRT5000 and an FC-51, each lighting a lamp from DO with no board. The same LM393 under four sensors, and DO goes low.
- Board
- No board
- Parts
- MQ-2 gas sensor, flame sensor, TCRT5000 line sensor, FC-51 IR obstacle sensor, LED, +1 more
- Level
- Beginner

Sumo robot
A mini-sumo robot with an ultrasonic eye and two edge sensors.
- Board
- Arduino Uno R3
- Parts
- DRV8833 motor driver, 2WD robot car chassis, HC-SR04 ultrasonic sensor, TCRT5000 line sensor
- Level
- Intermediate

Robot vacuum behaviors
A cleaning robot with two bumpers and a cliff sensor.
- Board
- Arduino Uno R3
- Parts
- DRV8833 motor driver, 2WD robot car chassis, limit switch, TCRT5000 line sensor
- Level
- Intermediate