Skip to product information
1 of 1

Blue PCB Electronics

2C40004 5V Infrared Line Track Tracking Tracker Sensor Module for Arduino

2C40004 5V Infrared Line Track Tracking Tracker Sensor Module for Arduino

Regular price Dhs. 15.00
Regular price Sale price Dhs. 15.00
Sale Sold out
View full details

Description:

The Line Follower 1Ch Infrared Tracking Sensor Module With TCRT5000 is a small but powerful circuit board that is designed to detect objects and measure distances accurately. The module uses a TCRT5000 infrared reflective sensor, which emits infrared light and then measures the amount of light that is reflected back from a surface. This method of measurement is commonly known as reflectance sensing. The TCRT5000 sensor is capable of measuring distances between 1mm and 25mm with high precision, making it ideal for applications that require accurate object detection and distance measurement. It operates on a 5V power supply, which is the standard voltage for most microcontrollers and electronic circuits. The module outputs a digital signal, which can be either 0 or 1. This output format makes it easy to interface with other digital devices such as microcontrollers or Arduino boards. The module has three output pins, including VCC, which is used to power the module. The Line Follower 1Ch Infrared Tracking Sensor Module With TCRT5000 is designed with a fixed bolt hole, which makes it easy to install in a variety of applications. Its small PCB board size, which measures only 3.5cm x 1cm, makes it an ideal choice for applications where space is limited.

Datasheet

Features:

  1. TCRT5000 infrared reflective sensor: The module includes a high-quality TCRT5000 infrared reflective sensor that is capable of measuring distances between 1mm and 25mm with high precision.
  2. Digital output signal: The module outputs a digital signal, which can be either 0 or 1. This output format makes it easy to interface with other digital devices such as microcontrollers or Arduino boards.
  3. Indicator LED for visual feedback: Turns on when the sensor detects a white surface Turns off when the sensor detects a black surface Can be used to indicate the status of the sensor in real-time
  4. Fixed bolt hole for easy installation: The module is designed with a fixed bolt hole, which makes it easy to install in a variety of applications.
  5. Small PCB board size: The module's small size, which measures only 3.5cm x 1cm, makes it an ideal choice for applications where space is limited.
  6. Low power consumption: The module operates on a 5V power supply and has a low power consumption, making it an energy-efficient solution for many applications.
  7. Versatile applications: The module is commonly used for meter pulse data sampling, fax machines, paper shredders, obstacle detection, and black and white line detection.
  8. High sensitivity: The TCRT5000 sensor is highly sensitive and can detect even small changes in distance or reflectivity.
  9. Low cost: The Line Follower 1Ch Infrared Tracking Sensor Module With TCRT5000 is an affordable solution for applications that require high-precision distance measurement and object detection.

Pinout of the Module:

  • VCC: The power input pin. Connect this pin to a regulated voltage source between 3.3V and 5V.
  • GND: The ground pin. Connect this pin to the ground of the power supply.
  • DO The digital output pin. This pin provides a digital on/off signal based on the amount of reflected infrared light. When the amount of reflected light exceeds the threshold set by the potentiometer

 

Circuit:

  • Connect the VCC pin on the module to a 3.3V to 5V power supply.
  • Connect the GND pin on the module to the ground of the power supply.
  • Connect the DO pin on the module to a digital input pin on the Arduino (pin 7).

 

Library:

No need for a library to work with this module.

Code:

This code can be useful for testing the Line Follower 1 Channel Infrared Tracking Detection Sensor TCRT5000 module and verifying that it is working properly.

 
const int DO_PIN = 2; // Digital output pin connected to DO pin on the module

void setup() {
  pinMode(DO_PIN, INPUT); // Set DO pin as input
  Serial.begin(9600); // Initialize serial communication
}

void loop() {
  int digitalValue = digitalRead(DO_PIN); // Read digital output value
  
  // Print the digital value to the serial monitor
  Serial.print("Digital value: ");
  Serial.println(digitalValue);
 
   delay(500); // Wait for 500 milliseconds

  • the code first defines the pin number for the DO pin as constant and sets it up as input using the pinMode() function. It then initializes the serial communication using Serial.begin(), which allows the Arduino to send data to the computer via a USB cable.

  • In the loop() function, the code reads the digital output value using digitalRead() . It then prints the value to the serial monitor using Serial.print() and Serial.println(). Finally, the code adds a delay of 500 milliseconds using the delay() function before starting the next iteration of the loop.

Â