{"id":325,"date":"2025-11-20T19:51:43","date_gmt":"2025-11-20T19:51:43","guid":{"rendered":"https:\/\/hamtechtechnologies.com\/index.php\/product\/ir-obstacle-sensor\/"},"modified":"2025-11-30T15:14:56","modified_gmt":"2025-11-30T15:14:56","slug":"ky-032-4pin-ir-infrared-sensor","status":"publish","type":"product","link":"https:\/\/hamtechtechnologies.com\/index.php\/product\/ky-032-4pin-ir-infrared-sensor\/","title":{"rendered":"KY-032 4pin IR Infrared Sensor"},"content":{"rendered":"<p data-start=\"373\" data-end=\"897\">The <strong data-start=\"406\" data-end=\"458\">KY-032 Infrared Obstacle Avoidance Sensor Module<\/strong> uses an infrared transmitter and receiver to detect objects in its path. When an obstacle is detected, the module outputs a digital HIGH\/LOW signal, which can be read by microcontrollers such as Arduino, ESP32, or STM32. The onboard potentiometer allows adjustment of sensitivity and detection range. The module is widely used in line-following robots, obstacle-avoiding robots, and other automation systems requiring proximity sensing.<\/p>\n<p data-start=\"899\" data-end=\"917\"><strong data-start=\"899\" data-end=\"915\">Key Features<\/strong><\/p>\n<ul data-start=\"918\" data-end=\"1202\">\n<li data-start=\"918\" data-end=\"985\">\n<p data-start=\"920\" data-end=\"985\">4-pin module: VCC, GND, DO (Digital Output), AO (Analog Output)<\/p>\n<\/li>\n<li data-start=\"986\" data-end=\"1057\">\n<p data-start=\"988\" data-end=\"1057\">Detection distance: adjustable via onboard potentiometer (~2\u201330 cm)<\/p>\n<\/li>\n<li data-start=\"1058\" data-end=\"1097\">\n<p data-start=\"1060\" data-end=\"1097\">Compact, breadboard-friendly design<\/p>\n<\/li>\n<li data-start=\"1098\" data-end=\"1144\">\n<p data-start=\"1100\" data-end=\"1144\">Digital and analog outputs for flexibility<\/p>\n<\/li>\n<li data-start=\"1145\" data-end=\"1202\">\n<p data-start=\"1147\" data-end=\"1202\">Low power consumption, easy microcontroller interface<\/p>\n<\/li>\n<\/ul>\n<p data-start=\"1204\" data-end=\"1224\"><strong data-start=\"1204\" data-end=\"1222\">Specifications<\/strong><\/p>\n<div class=\"_tableContainer_1rjym_1\">\n<div class=\"group _tableWrapper_1rjym_13 flex w-fit flex-col-reverse\" tabindex=\"-1\">\n<table class=\"w-fit min-w-(--thread-content-width)\" data-start=\"1226\" data-end=\"1465\">\n<thead data-start=\"1226\" data-end=\"1249\">\n<tr data-start=\"1226\" data-end=\"1249\">\n<th data-start=\"1226\" data-end=\"1236\" data-col-size=\"sm\">Feature<\/th>\n<th data-start=\"1236\" data-end=\"1249\" data-col-size=\"sm\">Details<\/th>\n<\/tr>\n<\/thead>\n<tbody data-start=\"1274\" data-end=\"1465\">\n<tr data-start=\"1274\" data-end=\"1306\">\n<td data-start=\"1274\" data-end=\"1294\" data-col-size=\"sm\">Operating Voltage<\/td>\n<td data-start=\"1294\" data-end=\"1306\" data-col-size=\"sm\">3.3\u20135V<\/td>\n<\/tr>\n<tr data-start=\"1307\" data-end=\"1347\">\n<td data-start=\"1307\" data-end=\"1316\" data-col-size=\"sm\">Output<\/td>\n<td data-start=\"1316\" data-end=\"1347\" data-col-size=\"sm\">Digital (DO), Analog (AO)<\/td>\n<\/tr>\n<tr data-start=\"1348\" data-end=\"1395\">\n<td data-start=\"1348\" data-end=\"1369\" data-col-size=\"sm\">Detection Distance<\/td>\n<td data-start=\"1369\" data-end=\"1395\" data-col-size=\"sm\">2\u201330 cm (adjustable)<\/td>\n<\/tr>\n<tr data-start=\"1396\" data-end=\"1430\">\n<td data-start=\"1396\" data-end=\"1418\" data-col-size=\"sm\">Current Consumption<\/td>\n<td data-start=\"1418\" data-end=\"1430\" data-col-size=\"sm\">\u226420 mA<\/td>\n<\/tr>\n<tr data-start=\"1431\" data-end=\"1465\">\n<td data-start=\"1431\" data-end=\"1444\" data-col-size=\"sm\">Dimensions<\/td>\n<td data-start=\"1444\" data-end=\"1465\" data-col-size=\"sm\">32 \u00d7 20 \u00d7 15 mm<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p data-start=\"1467\" data-end=\"1485\"><strong data-start=\"1467\" data-end=\"1483\">Applications<\/strong><\/p>\n<ul data-start=\"1486\" data-end=\"1648\">\n<li data-start=\"1486\" data-end=\"1529\">\n<p data-start=\"1488\" data-end=\"1529\">Obstacle-avoiding robots and smart cars<\/p>\n<\/li>\n<li data-start=\"1530\" data-end=\"1565\">\n<p data-start=\"1532\" data-end=\"1565\">Line-following robotic projects<\/p>\n<\/li>\n<li data-start=\"1566\" data-end=\"1602\">\n<p data-start=\"1568\" data-end=\"1602\">DIY automation and smart devices<\/p>\n<\/li>\n<li data-start=\"1603\" data-end=\"1648\">\n<p data-start=\"1605\" data-end=\"1648\">Proximity detection in sensors and alarms<\/p>\n<\/li>\n<\/ul>\n<p data-start=\"1650\" data-end=\"1684\"><strong data-start=\"1650\" data-end=\"1682\">Compatible Boards \/ Circuits<\/strong><\/p>\n<ul data-start=\"1685\" data-end=\"1830\">\n<li data-start=\"1685\" data-end=\"1714\">\n<p data-start=\"1687\" data-end=\"1714\">Arduino (Uno, Mega, Nano)<\/p>\n<\/li>\n<li data-start=\"1715\" data-end=\"1734\">\n<p data-start=\"1717\" data-end=\"1734\">ESP32 \/ ESP8266<\/p>\n<\/li>\n<li data-start=\"1735\" data-end=\"1759\">\n<p data-start=\"1737\" data-end=\"1759\">STM32 \/ Raspberry Pi<\/p>\n<\/li>\n<li data-start=\"1760\" data-end=\"1830\">\n<p data-start=\"1762\" data-end=\"1830\">Can interface with LEDs, buzzers, relays, and other output modules<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The <strong data-start=\"229\" data-end=\"256\">KY-032 IR Sensor Module<\/strong> is a compact 4-pin infrared obstacle detection module ideal for smart cars, robots, and DIY automation projects.<\/p>\n","protected":false},"featured_media":554,"comment_status":"open","ping_status":"closed","template":"","meta":{"postBodyCss":"","postBodyMargin":[],"postBodyPadding":[],"postBodyBackground":{"backgroundType":"classic","gradient":""}},"product_brand":[],"product_cat":[353,112,421,356,22],"product_tag":[239,240,217],"class_list":{"0":"post-325","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-accessories","7":"product_cat-distance-sensors","8":"product_cat-educational-kits","9":"product_cat-electronics-components","10":"product_cat-sensors","11":"product_tag-ir","12":"product_tag-obstacle","13":"product_tag-sensor","15":"first","16":"instock","17":"taxable","18":"shipping-taxable","19":"purchasable","20":"product-type-simple"},"_links":{"self":[{"href":"https:\/\/hamtechtechnologies.com\/index.php\/wp-json\/wp\/v2\/product\/325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hamtechtechnologies.com\/index.php\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/hamtechtechnologies.com\/index.php\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/hamtechtechnologies.com\/index.php\/wp-json\/wp\/v2\/comments?post=325"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hamtechtechnologies.com\/index.php\/wp-json\/wp\/v2\/media\/554"}],"wp:attachment":[{"href":"https:\/\/hamtechtechnologies.com\/index.php\/wp-json\/wp\/v2\/media?parent=325"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/hamtechtechnologies.com\/index.php\/wp-json\/wp\/v2\/product_brand?post=325"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/hamtechtechnologies.com\/index.php\/wp-json\/wp\/v2\/product_cat?post=325"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/hamtechtechnologies.com\/index.php\/wp-json\/wp\/v2\/product_tag?post=325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}