{"product_id":"hc-sr04-ultrasonic-distance-sensor-module-2-450-cm-5-v-or-3-3-5-v","title":"HC-SR04 Ultrasonic Distance Sensor Module, 2–450 cm, 5 V or 3.3–5 V Version, Arduino-Compatible (AE178145-01)","description":"\u003cdiv class=\"kw-advanced-description\" style=\"font-family:'Helvetica Neue',Arial,sans-serif;color:#333;line-height:1.7;max-width:860px;margin:0 auto;\"\u003e\n\u003ch2 style=\"font-size:22px;font-weight:700;color:#111;margin:24px 0 12px 0;border-bottom:2px solid #eaeaea;padding-bottom:8px;\"\u003eFeatures\u003c\/h2\u003e\n\u003cdiv data-block=\"features\"\u003e\n\u003ch3 style=\"font-size:18px;font-weight:600;color:#222;margin:20px 0 10px 0;\"\u003eUltrasonic distance measuring module\u003c\/h3\u003e\n\u003cp style=\"margin-bottom:16px;font-size:15px;line-height:1.6;color:#444;\"\u003eThe HC-SR04 ultrasonic module measures distance by timing a 40 kHz sound pulse. Choose the classic 5 V version or the newer version that runs from 3.3 V to 5 V.\u003c\/p\u003e\n\u003csection class=\"nh-feat\" style=\"display:block;max-width:760px;margin:36px 0;\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0796\/3512\/0277\/files\/hc-sr04-ultrasonic-distance-sensor-module-2-450-cm-5-v-or-3-3-5-v-1.jpg?width=800\u0026amp;height=526\u0026amp;crop=center\" alt=\"Four-pin connection\" loading=\"lazy\" style=\"display:block;width:100%;max-width:100%;height:auto;margin:0 0 14px 0;border-radius:10px;padding:0;background:transparent;border:0;\"\u003e\u003ch3 style=\"font-size:18px;font-weight:600;color:#222;margin:0 0 6px 0;\"\u003eFour-pin connection\u003c\/h3\u003e\n\u003cp style=\"margin:0;font-size:15px;line-height:1.65;color:#444;\"\u003eWire VCC, Trig, Echo and GND to your board.\u003c\/p\u003e\u003c\/section\u003e\n\u003csection class=\"nh-feat\" style=\"display:block;max-width:760px;margin:36px 0;\"\u003e\u003ch3 style=\"font-size:18px;font-weight:600;color:#222;margin:0 0 6px 0;\"\u003eHow it measures\u003c\/h3\u003e\n\u003cp style=\"margin:0;font-size:15px;line-height:1.65;color:#444;\"\u003eA 10 µs trigger pulse sends a 40 kHz burst; the Echo pulse length gives the distance (time × 340 m\/s ÷ 2).\u003c\/p\u003e\u003c\/section\u003e\n\u003csection class=\"nh-feat\" style=\"display:block;max-width:760px;margin:36px 0;\"\u003e\u003ch3 style=\"font-size:18px;font-weight:600;color:#222;margin:0 0 6px 0;\"\u003eTwo versions\u003c\/h3\u003e\n\u003cp style=\"margin:0;font-size:15px;line-height:1.65;color:#444;\"\u003eThe classic version runs on 5 V; the newer version runs from 3.3 V to 5 V for 3.3 V boards.\u003c\/p\u003e\u003c\/section\u003e\n\u003c\/div\u003e\n\u003ch2 style=\"font-size:22px;font-weight:700;color:#111;margin:24px 0 12px 0;border-bottom:2px solid #eaeaea;padding-bottom:8px;\"\u003eSpecifications\u003c\/h2\u003e\n\u003cdiv data-block=\"specifications\"\u003e\n\u003ch3 style=\"font-size:18px;font-weight:600;color:#222;margin:20px 0 10px 0;\"\u003eProduct Identification\u003c\/h3\u003e\n\u003ctable style=\"border-collapse:collapse;width:100%;font-size:14px;margin-top:8px;\"\u003e\n\u003ctr\u003e\n\u003cth style=\"border:1px solid #ddd;padding:9px 14px;background:#f8f8f8;width:35%;font-weight:600;text-align:left;\"\u003eBrand\u003c\/th\u003e\n\u003ctd style=\"border:1px solid #ddd;padding:9px 14px;\"\u003eGeneric\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth style=\"border:1px solid #ddd;padding:9px 14px;background:#f8f8f8;width:35%;font-weight:600;text-align:left;\"\u003eProduct Type\u003c\/th\u003e\n\u003ctd style=\"border:1px solid #ddd;padding:9px 14px;\"\u003eSensor module\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003ch3 style=\"font-size:18px;font-weight:600;color:#222;margin:20px 0 10px 0;\"\u003eTechnical Specifications\u003c\/h3\u003e\n\u003ctable style=\"border-collapse:collapse;width:100%;font-size:14px;margin-top:8px;\"\u003e\n\u003ctr\u003e\n\u003cth style=\"border:1px solid #ddd;padding:9px 14px;background:#f8f8f8;width:35%;font-weight:600;text-align:left;\"\u003eModel\u003c\/th\u003e\n\u003ctd style=\"border:1px solid #ddd;padding:9px 14px;\"\u003eHC-SR04\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth style=\"border:1px solid #ddd;padding:9px 14px;background:#f8f8f8;width:35%;font-weight:600;text-align:left;\"\u003eSupply Voltage\u003c\/th\u003e\n\u003ctd style=\"border:1px solid #ddd;padding:9px 14px;\"\u003e5 V (classic) or 3.3–5 V (new version)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth style=\"border:1px solid #ddd;padding:9px 14px;background:#f8f8f8;width:35%;font-weight:600;text-align:left;\"\u003eDetection Distance\u003c\/th\u003e\n\u003ctd style=\"border:1px solid #ddd;padding:9px 14px;\"\u003e2–450 cm (as listed)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth style=\"border:1px solid #ddd;padding:9px 14px;background:#f8f8f8;width:35%;font-weight:600;text-align:left;\"\u003eSensing Angle\u003c\/th\u003e\n\u003ctd style=\"border:1px solid #ddd;padding:9px 14px;\"\u003e≤ 15°\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth style=\"border:1px solid #ddd;padding:9px 14px;background:#f8f8f8;width:35%;font-weight:600;text-align:left;\"\u003eTrigger Input\u003c\/th\u003e\n\u003ctd style=\"border:1px solid #ddd;padding:9px 14px;\"\u003e10 µs TTL pulse\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth style=\"border:1px solid #ddd;padding:9px 14px;background:#f8f8f8;width:35%;font-weight:600;text-align:left;\"\u003eStatic Current\u003c\/th\u003e\n\u003ctd style=\"border:1px solid #ddd;padding:9px 14px;\"\u003eUnder 2 mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003cth style=\"border:1px solid #ddd;padding:9px 14px;background:#f8f8f8;width:35%;font-weight:600;text-align:left;\"\u003ePins\u003c\/th\u003e\n\u003ctd style=\"border:1px solid #ddd;padding:9px 14px;\"\u003eVCC, Trig, Echo, GND\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003ch2 style=\"font-size:22px;font-weight:700;color:#111;margin:24px 0 12px 0;border-bottom:2px solid #eaeaea;padding-bottom:8px;\"\u003eIn the Box\u003c\/h2\u003e\n\u003cp style=\"margin-bottom:16px;font-size:15px;line-height:1.6;color:#444;\"\u003e- 1 × HC-SR04 module\u003c\/p\u003e\n\u003ch2 style=\"font-size:22px;font-weight:700;color:#111;margin:24px 0 12px 0;border-bottom:2px solid #eaeaea;padding-bottom:8px;\"\u003eFrequently Asked Questions\u003c\/h2\u003e\n\u003cdiv data-block=\"faq\"\u003e\n\u003ch3 style=\"font-size:18px;font-weight:600;color:#222;margin:20px 0 10px 0;\"\u003eWhich version should I choose?\u003c\/h3\u003e\n\u003cp style=\"margin-bottom:16px;font-size:15px;line-height:1.6;color:#444;\"\u003eChoose the 3.3–5 V version for 3.3 V boards such as ESP32; the 5 V version is for 5 V boards.\u003c\/p\u003e\n\u003ch3 style=\"font-size:18px;font-weight:600;color:#222;margin:20px 0 10px 0;\"\u003eHow does it measure distance?\u003c\/h3\u003e\n\u003cp style=\"margin-bottom:16px;font-size:15px;line-height:1.6;color:#444;\"\u003eSend a 10 µs pulse to Trig; the Echo pin stays high for the time the sound takes to return. Distance = time × 340 m\/s ÷ 2.\u003c\/p\u003e\n\u003ch3 style=\"font-size:18px;font-weight:600;color:#222;margin:20px 0 10px 0;\"\u003eShould I connect it while powered?\u003c\/h3\u003e\n\u003cp style=\"margin-bottom:16px;font-size:15px;line-height:1.6;color:#444;\"\u003eThe listing advises connecting GND first, or wiring it before power is applied.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","brand":"Generic","offers":[{"title":"5 V version","offer_id":68129402814613,"sku":"AE178145-01","price":10.0,"currency_code":"NZD","in_stock":true},{"title":"3.3–5 V version","offer_id":68129402847381,"sku":"AE178145-02","price":10.0,"currency_code":"NZD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0796\/3512\/0277\/files\/hc-sr04-ultrasonic-distance-sensor-module-2-450-cm-5-v-or-3-3-5-v-1.jpg?v=1793606198","url":"https:\/\/www.nexushaven.co.nz\/products\/hc-sr04-ultrasonic-distance-sensor-module-2-450-cm-5-v-or-3-3-5-v","provider":"Nexus Haven","version":"1.0","type":"link"}