1 Channel Tracing Sensors For Arduino Module With Demo Code
|
1 Channel Tracing Sensors For Arduino Module 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.
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: 2. Low Prices Direct From Factory Suppliers 3. Fast Delivery Around The Globe.
Photos:
|
Product Tags: arduino sensors kit arduino temperature sensor |
![]() |
AHT20 Temperature Humidity Sensor Module For Arduino High Precision |
![]() |
Sensor Module Digital Thermostat With Humidity Control XY-WTH1 |
![]() |
Digital LED Display Temperature Controller Sensor Module For Arduino XY-WT01 |
![]() |
Car Battery Charge Level Indicator Blue Display Module For Arduino 12 - 60V |
![]() |
PIR IR Infrared Human Induction Lamp Switch For Arduino 220V 50HZ |
![]() |
Infrared Remote Control Digital Thermostat Controller W3231 For Arduino |