user login

Infrared Tracing Sensor for Arduino , CTRT5000 With Demo Code

Place of Origin: Guangdong

Company Profile

Location: Guangzhou, Guangdong, China (Mainland)
Business Type: Manufacturer
Main Products: Arduino Starter Kits, Board For Arduino, 3D Printer Kits

Product Detail

Model No.: Tracing sensor module

Product Description

 

Infrared Tracing Sensor for Arduino , CTRT5000 With Demo Code

 

 

Description:

 

Tracing sensors, robots make the necessary
Using infrared light detection, anti-interference ability
Sensor uses CTRT5000, high sensitivity, stable performance
Operating voltage 5V, output low black line, a white line output high
Exquisite workmanship, with indicator
With fixed bolt hole for easy installation

Now we use the tracking module and a digital interface ,  making A tracing cue lights
 when tracing sensor senses a key signal, LED lights, otherwise off.
Arduino test  code:
int Led = 13 ;/ / define LED Interface
int buttonpin = 3; / / define tracing sensor interface
int val ;/ / define numeric variables val
void setup ()
{
pinMode (Led, OUTPUT) ;/ / define LED as output interface
pinMode (buttonpin, INPUT) ;/ / define tracing sensor output interface
}
void loop ()
{
val = digitalRead (buttonpin) ;/ / digital interface will be assigned a value of 3 to read val
if (val == HIGH) / / When the sensor detects a tracking signal, LED flashes
{
digitalWrite (Led, HIGH);
}
else
{
digitalWrite (Led, LOW);
}
}

 

 

Competitive Advantage:

 

1. Convenient & Friendly Customer Service
2. Low Prices Direct From Factory Suppliers
3. Fast Delivery Around the World. 
4. High Quality With Global Standards. 
5. 1 Year Factory Warranty
6. Safe Shipping Way and Payment

 

Post Buying Request