{"id":7085394133172,"title":"3 Pack KY-032 Smart Electronics Keyes 4pin IR Infrared Obstacle Avoidance Sensor Module for Arduino DIY Smart Car Robot","handle":"3-pack-ky-032-smart-electronics-keyes-4pin-ir-infrared-obstacle-avoidance-sensor-module-for-arduino-diy-smart-car-robot","description":"\u003ch3\u003e3 Pack KY-032 Smart Electronics Keyes 4pin IR Infrared Obstacle Avoidance Sensor Module for Arduino DIY Smart Car Robot\u003c\/h3\u003e\n\u003cp id=\"b\"\u003eVCCA connects to 3.3V power supply VCCB connects to 5V power supply GND\nconnects to power negative pole respectively, the two power supply should be\ncommon-grounded with each other When Ax has TTL 3.3V input, Bx will get TTL 5V\noutput When Bx has TTL 5V input, Ax will get TTL 3.3V output NO direction\ncontrol required Here we use the obstacle avoidance module and digital 13\ninterface with LED to build a simple circuit, making the obstacle avoidance\nwarning light, accessing the avoidance sensor to digital 3 interface, when the\nobstacle avoidance sensor senses the signal, LED light, otherwise off. Program\ncode: int Led=13;\/\/define LED interface int buttonpin=3; \/\/define obstacle\navoidance interface int val;\/\/define Digital variable val void setup() {\npinMode(Led,OUTPUT);\/\/define LED is output interface\npinMode(buttonpin,INPUT);\/\/define obstacle avoidance is output interface }\nvoid loop() { val=digitalRead(buttonpin);\/\/reading the value from 3 digital\ninterface to val if(val==HIGH)\/\/when the obstacle avoidance sensor senses the\nsignal, LED flash { digitalWrite(Led,HIGH); } else { digitalWrite(Led,LOW); }\n}\u003c\/p\u003e \n\n\u003ch3\u003eProduct Features\u003c\/h3\u003e\n \u003cul class=\"a\"\u003e\n \u003cli\u003eWorking voltage: DC 3.3V-5V ; Working current: 20mA ; Working temperature: -10degree+50degree\u003c\/li\u003e\n \u003cli\u003eIO interface: 4 line (-\/+\/S\/EN) ; Output signal: TTL Level ; Adjusting mode: Multi resistance regulation\u003c\/li\u003e\n \u003cli\u003eDetection distance : 2-40cm ; Effective angle: 35\u003c\/li\u003e\n \u003cli\u003eSize: 4.5x1.1cm(approx)\u003c\/li\u003e\n \u003cli\u003ePackage Include: 3 Pack Module\u003c\/li\u003e\n \u003c\/ul\u003e\n\n","published_at":"2022-03-17T22:56:30+11:00","created_at":"2022-03-17T22:56:30+11:00","vendor":"HUABAN","type":"Proximity Sensors","tags":["auspowers_batchone"],"price":9100,"price_min":9100,"price_max":9100,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":41332357791924,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"B0786B8J92","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"3 Pack KY-032 Smart Electronics Keyes 4pin IR Infrared Obstacle Avoidance Sensor Module for Arduino DIY Smart Car Robot","public_title":null,"options":["Default Title"],"price":9100,"weight":14,"compare_at_price":null,"inventory_management":null,"barcode":"085783613517","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/auspowers.com\/cdn\/shop\/products\/B0786B8J92.jpg?v=1648536921"],"featured_image":"\/\/auspowers.com\/cdn\/shop\/products\/B0786B8J92.jpg?v=1648536921","options":["Title"],"media":[{"alt":"[Australia - AusPower] - 3 Pack KY-032 Smart Electronics Keyes 4pin IR Infrared Obstacle Avoidance Sensor Module for Arduino DIY Smart Car Robot ","id":25342959583412,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/auspowers.com\/cdn\/shop\/products\/B0786B8J92.jpg?v=1648536921"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/auspowers.com\/cdn\/shop\/products\/B0786B8J92.jpg?v=1648536921","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003ch3\u003e3 Pack KY-032 Smart Electronics Keyes 4pin IR Infrared Obstacle Avoidance Sensor Module for Arduino DIY Smart Car Robot\u003c\/h3\u003e\n\u003cp id=\"b\"\u003eVCCA connects to 3.3V power supply VCCB connects to 5V power supply GND\nconnects to power negative pole respectively, the two power supply should be\ncommon-grounded with each other When Ax has TTL 3.3V input, Bx will get TTL 5V\noutput When Bx has TTL 5V input, Ax will get TTL 3.3V output NO direction\ncontrol required Here we use the obstacle avoidance module and digital 13\ninterface with LED to build a simple circuit, making the obstacle avoidance\nwarning light, accessing the avoidance sensor to digital 3 interface, when the\nobstacle avoidance sensor senses the signal, LED light, otherwise off. Program\ncode: int Led=13;\/\/define LED interface int buttonpin=3; \/\/define obstacle\navoidance interface int val;\/\/define Digital variable val void setup() {\npinMode(Led,OUTPUT);\/\/define LED is output interface\npinMode(buttonpin,INPUT);\/\/define obstacle avoidance is output interface }\nvoid loop() { val=digitalRead(buttonpin);\/\/reading the value from 3 digital\ninterface to val if(val==HIGH)\/\/when the obstacle avoidance sensor senses the\nsignal, LED flash { digitalWrite(Led,HIGH); } else { digitalWrite(Led,LOW); }\n}\u003c\/p\u003e \n\n\u003ch3\u003eProduct Features\u003c\/h3\u003e\n \u003cul class=\"a\"\u003e\n \u003cli\u003eWorking voltage: DC 3.3V-5V ; Working current: 20mA ; Working temperature: -10degree+50degree\u003c\/li\u003e\n \u003cli\u003eIO interface: 4 line (-\/+\/S\/EN) ; Output signal: TTL Level ; Adjusting mode: Multi resistance regulation\u003c\/li\u003e\n \u003cli\u003eDetection distance : 2-40cm ; Effective angle: 35\u003c\/li\u003e\n \u003cli\u003eSize: 4.5x1.1cm(approx)\u003c\/li\u003e\n \u003cli\u003ePackage Include: 3 Pack Module\u003c\/li\u003e\n \u003c\/ul\u003e\n\n"}

3 Pack KY-032 Smart Electronics Keyes 4pin IR Infrared Obstacle Avoidance Sensor Module for Arduino DIY Smart Car Robot

In Stock. Leaves warehouse within 2 - 3 business days

$91.00 AUD
Maximum quantity available reached.
Free Shipping Australia Wide
100% Safe & Secure Checkout
100 Days Return Policy *
1 Year Warranty *

3 Pack KY-032 Smart Electronics Keyes 4pin IR Infrared Obstacle Avoidance Sensor Module for Arduino DIY Smart Car Robot

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); } }

Product Features

  • Working voltage: DC 3.3V-5V ; Working current: 20mA ; Working temperature: -10degree+50degree
  • IO interface: 4 line (-/+/S/EN) ; Output signal: TTL Level ; Adjusting mode: Multi resistance regulation
  • Detection distance : 2-40cm ; Effective angle: 35
  • Size: 4.5x1.1cm(approx)
  • Package Include: 3 Pack Module

Related Products