10pcs/1pc TCRT5000 IR Infrared Reflectance Sensor Obstacle Avoidance Module Tracing Sensor Tracing Module For Arduino Diy Kit
10pcs/1pc TCRT5000 IR Infrared Reflectance Sensor Obstacle Avoidance Module Tracing Sensor Tracing Module For Arduino Diy Kit
The TCRT5000 IR Infrared Reflectance Sensor Obstacle Avoidance Module is a great way to add obstacle avoidance capabilities to your Arduino projects. This module uses an infrared LED and a phototransistor to detect objects in its path. When an object is detected, the output of the module will go low, which can be used to trigger an alarm or stop your robot.
This module is very easy to use. Simply connect the VCC pin to 5V, the GND pin to ground, and the OUT pin to an analog input on your Arduino. You can then use the analogRead() function to read the output of the module.
The TCRT5000 IR Infrared Reflectance Sensor Obstacle Avoidance Module is a great way to add obstacle avoidance capabilities to your Arduino projects. It is easy to use and can be used in a variety of applications.
Features
- Detects objects up to 25cm away
- Adjustable sensitivity
- Easy to use
- Compatible with Arduino
Applications
- Obstacle avoidance
- Line following
- Object detection
Package Includes
- 10pcs/1pc TCRT5000 IR Infrared Reflectance Sensor Obstacle Avoidance Module
How to Use
- Connect the VCC pin to 5V.
- Connect the GND pin to ground.
- Connect the OUT pin to an analog input on your Arduino.
- Use the analogRead() function to read the output of the module.
Code Example
“`
int sensorPin = A0; // Analog input pin for the sensor
void setup() {
// Set up the serial port for debugging
Serial.begin(9600);
}
void loop() {
// Read the output of the sensor
int sensorValue = analogRead(sensorPin);
// Print the sensor value to the serial port
Serial.println(sensorValue);
// If the sensor value is below a certain threshold, trigger an alarm
if (sensorValue < 500) {
// Trigger an alarm
}
}
“`
10pcs/1pc TCRT5000 IR Infrared Reflectance Sensor Obstacle Avoidance Module Tracing Sensor Tracing Module For Arduino Diy Kit | |
More Info |
50PCS/Lot MMBD4148 MMBD4148CA MMBD4148CC MMBD4148ES SOT23 Marking A6 5H D5 D4 SMD 0.2A 100V Transistor New | |
More Info |
240pcs Led Diode Lights Assortment Kit 3mm/5mm Transparent Light Emitting White Green Red Blue Yellow Orange | |
More Info |
10pcs/1pc TCRT5000 IR Infrared Reflectance Sensor Obstacle Avoidance Module Tracing Sensor Tracing Module For Arduino Diy Kit
- High sensitivity
- High reliability
- Wide working voltage range
50PCS/Lot MMBD4148 MMBD4148CA MMBD4148CC MMBD4148ES SOT23 Marking A6 5H D5 D4 SMD 0.2A 100V Transistor New
- Marking: A6, 5H, D5, D4
- Package: SOT23
- Maximum current: 0.2A
10PCS/ULN2803APG Original genuine goods in stock DIP18
- 10PCS/ULN2803APG
- Original genuine goods in stock
- DIP18
100piece MMBT2907ALT1G MMBT2907 2907 2F SOT-23 In Stock
- Package Type: SOT-23
- Number of Pins: 3
- Transistor Type: NPN
240pcs Led Diode Lights Assortment Kit 3mm/5mm Transparent Light Emitting White Green Red Blue Yellow Orange
- Variety of colors: white, green, red, blue, yellow, and orange
- Assortment of sizes: 3mm and 5mm
- Quantity: 240 pieces
The main text description is only a reference text written by AI, and the content may not be directly related to the product.
1PCS/lot New original NCT5585D Monitor interface 64-LQFP-EP (10×10) Best Top5