Infrared Tracing Sensor for Arduino , CTRT5000 With Demo Code
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
Send Inquiry to This Supplier
You May Also Like
-
1756-OF8I Allen-Bradley ControlLogix Analog Output ModuleNegotiableMOQ: 1 Piece
-
General-purpose Integrated CircuitNegotiableMOQ: 2700 Pieces
-
New Original Imported Genuine Products UPD780226GF-018-3B9 D780226GF Automotive Computer Board ChipUS$ 48 - 68MOQ: 100 Units
-
Latest Electronic Components GEC034US$ 0.5 - 0.8MOQ: 1000 Pieces
-
A76L-0300-0035/TNegotiableMOQ: 10 Pieces
-
Mobile Phone IC Components SpreadtrumNegotiableMOQ: 50000 Units
-
Taiwan All Kinds Of Device For The Bathroom Home SupplyUS$ 0.7 - 1MOQ: 1000 Pieces
-
Best Price Wireless Bluetooth ModuleUS$ 4 - 6MOQ: 2000 Pieces
-
OP277-6 OP227 6AV6643-0BA01-1AX KeypadNegotiableMOQ: 1 Piece
-
AKE390B Industrial 3 Axes Analog Vibration Sensor With Over Current Protection From Reliable Shenzhen SupplierNegotiableMOQ: 1 Set