Tags: Tracing, Linae, Sensor, Module, 1, Channel, robot, arduno, robotic

Line Follower Tracing Sensor Module 1 Ch

  • 9.00 AED

    15.00 AED

    • Ex Tax:9.00 AED
    • Brands techmaze
    • Product Code: Digital
    • Availability: In Stock
    Uses infrared light to detect anti-interference ability. It works on a voltage of 5V. When the sensor detects a black line, the output is low while the output is high when the sensor detects a white line. Has a fixed bolt hole for easy installation. This sensor is very useful for robotics projects. ..
    Uses infrared light to detect anti-interference ability. It works on a voltage of 5V. When the sensor detects a black line, the output is low while the output is high when the sensor detects a white line. Has a fixed bolt hole for easy installation. This sensor is very useful for robotics projects.



    Operating Voltage: 3-5.5V

    Supply Current: ≥ 20mA

    Optimal Sensing Distance: 3mm

    Working voltage of 5V, the output of the black line low, white line of high output

    Uses Infrared Light to Detect Anti-Interference Ability

    Sensors to adopt TCRT5000 High Sensitivity, Stable Performance

    Exquisite workmanship, with the indicator

    Has a fixed bolt hole for easy installation



    Arduino code:

    int WhiteLed = 2; 
    int Sensor = A5; 
    int sensorValue = 0; 
    
    void setup () {
      pinMode (WhiteLed, OUTPUT);
      Serial.begin (9600);
    }
    void loop () {
      sensorValue = analogRead (Sensor);
      if (sensorValue < 50&& sensorValue < 500) 
      {
      digitalWrite (WhiteLed, HIGH);
      Serial.println (sensorValue, DEC);
      }
      else (sensorValue > 500&& sensorValue > 1023);
      { 
      digitalWrite (WhiteLed, LOW);
      Serial.println (sensorValue, DEC);
      }
    }

    There are no reviews for this product.

    Write a review

    Please login or register to review