Line_Tracking_Sensor_for_Arduino_V4_SKU_SEN0017-DFRobot

Introduction

The DFRobot Line Tracking Sensor for Arduino can detect the white lines against a black backdrop and black lines against a white backdrop. The single line-tracking signals can provide a stable TTL output signal to esnure accuracy and reliability.Optionally, a multi-channel mix is easy to install with the necessary line-tracking robot sensors.

Specification

Tutorial

Connection Diagram

Line Tracking Sensor connection

Sample Code


///Arduino Sample Code
void setup()
{
  Serial.begin(9600);
}
void loop()
{
  Serial.println(digitalRead(2)); // print the data from the sensor
  delay(500);
}

FAQ

Q&A Some general Arduino Problems/FAQ/Tips
A For any questions, advice or cool ideas to share, please visit the DFRobot Forum.

More Documents