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 |
![]() |
Digital Display 2*18650 Battery Power Bank Kit With Two 5V USB Outputs |
![]() |
5V USB Aluminium Body Power Bank Case for Arduino 18650 Battery Module |
![]() |
8*18650 Battery Power Bank Case With Micro USB / Type C / Android / IPhone Charging Input |
![]() |
BMS 3S 12.6V 6A 18650 Li-ion Lithium Battery Module for Arduino |
![]() |
High Precision XY-T01 Digital Display Thermostat Module For Arduino |
![]() |
Surface Mount Wired NC Magnetic Door Switch MC 38 Sensor Module For Arduino |