Line_Tracking_Sensor_for_Arduino_V4_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.

  • Version Update

The best distance between objects such as ground and the sensor is 1-2 cm. V5 cancel the variable resistor, It is easy to use now.

Specification

  • Power supply: 3.3~5V
  • Detecting Range: 1~2cm
  • 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×28mm
  • Module Weight: About 10g

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

More

image:nextredirectltr.pngGo shopping click to buy on dfrobot store

image:nextredirectltr.pngGo shopping dfrobot distributor list

category: Product Manual category: SEN Series category: Sensors category: source category: Diagram