Melden Sie sich jetzt für den Newsletter an und profitieren Sie von Aktionen, Gutscheinen & Verlosungen.




IR Obstacle Avoidance Sensor

IR Obstacle Avoidance Sensor - Miscellaneous
Brand: Various
Product Code: AC-1155
Availability: In Stock
Price: 4,95€
Incl. 0,79€ VAT excl. shipping costs

IR Obstacle Avoidance Sensor

    • Working voltage: DC 3.3V-5V
    • Working current: ≥ 20mA
    • Operating temperature: -10 ℃ - +50 ℃
    • detection distance :2-40cm
    • IO Interface: 4-wire interfaces (- / + / S / EN)
    • Output signal: TTL level (low level there is an obstacle, no obstacle high)
    • Adjustment: adjust multi-turn resistance
    • Effective angle: 35 °
    • Size: 28mm × 23mm
    • Weight Size: 9g

      Code Sample:

      int Led = 13 ;// define LED Interfaceint buttonpin = 3; // define the obstacle avoidance sensor interfaceint val ;// define numeric variables valvoid setup (){
      pinMode (Led, OUTPUT) ;// define LED as output interface
      pinMode (buttonpin, INPUT) ;// define the obstacle avoidance sensor output interface}void loop (){
      val = digitalRead (buttonpin) ;// digital interface will be assigned a value of 3 to read valif (val == HIGH) // When the obstacle avoidance sensor detects a signal, LED flashes{
      digitalWrite (Led, HIGH);}else{
      digitalWrite (Led, LOW);}}

      Write a review

      Your Name:

      Your Review:Note: HTML is not translated!

      Rating: Bad           Good

      Enter the code in the box below:

      Live Help