Line_Tracking_Sensor_for_Arduino_(SKU_SEN0017) - jimaobian/DFRobotWiki GitHub Wiki

Line Tracking Sensor for Arduino (SKU:SEN0017)

Introduction

The DFRobot Line Tracking Sensor for Arduino can detect the white lines in black and black lines in white. The single line-tracking signals can provide a stable output signals TTL, so look for more accurate and more stable line. Optional multi-channel mix is easy to install with the necessary line-tracking robot sensors.

Features

  • Power supply: +5V
  • Operating current: <10mA
  • Operating temperature range: 0°C ~ + 50°C
  • Output interface: 3-wire interface (1 - signal, 2 - power, 3 - power supply negative)
  • Output Level: TTL level (black line of low effective, high efficient white line)
  • Module Size: 10mm×35mm
  • Module Weight: About 1g

Installation

The best distance between objects such as ground and the sensor is 1-2 cm.

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);
}

image:nextredirectltr.pngGo shopping line tracking sensor for arduino (sku:sen0017) category: Product Manual category: SEN Series category: Sensors category: source category: Diagram