3 Pack KY-032 4pin IR Obstacle Avoidance Sensor

8,00 €

VCCA connects to 3.3V power supply VCCB connects to 5V power supply GND connects to power negative pole respectively, the two power supply should be common-grou

Description du produit

VCCA connects to 3.3V power supply VCCB connects to 5V power supply GND connects to power negative pole respectively, the two power supply should be common-grounded with each other When Ax has TTL 3.3V input, Bx will get TTL 5V output When Bx has TTL 5V input, Ax will get TTL 3.3V output NO direction control required Here we use the obstacle avoidance module and digital 13 interface with LED to build a simple circuit, making the obstacle avoidance warning light, accessing the avoidance sensor to digital 3 interface, when the obstacle avoidance sensor senses the signal, LED light, otherwise off. Program code: int Led=13;//define LED interface int buttonpin=3; //define obstacle avoidance interface int val;//define Digital variable val void setup() { pinMode(Led,OUTPUT);//define LED is output interface pinMode(buttonpin,INPUT);//define obstacle avoidance is output interface } void loop() { val=digitalRead(buttonpin);//reading the value from 3 digital interface to val if(val==HIGH)//when the obstacle avoidance sensor senses the signal, LED flash { digitalWrite(Led,HIGH); } else { digitalWrite(Led,LOW); } }

Why Shop With Us

Livraison mondiale

7 à 15 jours ouvrables dans le monde entier

Pièces authentiques

100% d’équipements industriels authentiques

Retours faciles

Politique de retour de 30 jours sur tous les articles

Assistance technique

Assistance d’ingénierie experte

Ce que disent les ingénieurs

La confiance des professionnels de l’automatisation du monde entier

“Reliable PLCs and fast shipping. This is our go-to supplier.”
David ChenDavid Chen
“Des variateurs de grande qualité à prix compétitifs. Hautement recommandé.”
Sarah K.Sarah K.
“D’excellente assistance technique et des produits authentiques à chaque fois.”
Mike JohnsonMike Johnson
Bryade

TECCD Industrial — votre source de confiance pour automates, IHM, variateurs, capteurs, vannes et solutions complètes d’automatisation industrielle.

1201 N Orange St, Suite 740, Wilmington, DE 19801, United States
[email protected]
Restez informé
© 2026 Bryade. Tous droits réservés.
visamastercardamexpaypalapple-pay