{"product_id":"yahboom-horizontal-ultrasonic-sensor","title":"Yahboom Flat Horizontal Ultrasonic Sensor Distance Module DC5V, XH2.54 4-Pin for Robot\/Smart Car","description":"\u003ch2\u003eOverview\u003c\/h2\u003e\u003cp\u003eThe Yahboom horizontal (flat) ultrasonic sensor distance module uses a compact flat PCB design for short-distance ranging on robot and smart car projects. It provides a 4-pin interface (VCC, GND, ECHO, TRIG) and operates from a DC5V supply. The flat shape is designed for easy installation on a 9G servo, allowing left\/right\/front scanning by rotating the servo. Mounting holes are provided for integration with other modules.\u003c\/p\u003e\u003cp style=\"text-align: center;\"\u003e\u003ciframe height=\"420\" src=\"https:\/\/www.youtube.com\/embed\/6i9VXe4q_PM\" title=\"Yahboom horizontal ultrasonic sensor distance module avoid obstacle\" width=\"600\"\u003e\u003c\/iframe\u003e\u003c\/p\u003e\u003ch2\u003eKey Features\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003eFlat design for easy connection to a servo PTZ (tighten screws directly; no additional adapter structure required).\u003c\/li\u003e\n\u003cli\u003eAnti-reverse socket and high-quality PCB printing process.\u003c\/li\u003e\n\u003cli\u003eSupports XH2.54 cable connection and DuPont cable connection (F-F \/ M-F).\u003c\/li\u003e\n\u003cli\u003eEcho output is a TTL level signal proportional to range.\u003c\/li\u003e\n\u003cli\u003eReference materials, driver source code, and graphical programming tools are provided.\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eSpecifications\u003c\/h2\u003e\u003ctable\u003e\n\u003cthead\u003e\u003ctr\u003e\n\u003cth\u003eParameter\u003c\/th\u003e\n\u003cth\u003eValue\u003c\/th\u003e\n\u003c\/tr\u003e\u003c\/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eUse voltage\u003c\/td\u003e\n\u003ctd\u003eDC5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eWorking current\u003c\/td\u003e\n\u003ctd\u003e15mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eQuiescent current\u003c\/td\u003e\n\u003ctd\u003e\u0026lt;2mA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eWorking frequency\u003c\/td\u003e\n\u003ctd\u003e40KHz\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSensing angle\u003c\/td\u003e\n\u003ctd\u003eNot more than 15°\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eDetection distance\u003c\/td\u003e\n\u003ctd\u003e500cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eDead zone\u003c\/td\u003e\n\u003ctd\u003e2cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eHigh precision\u003c\/td\u003e\n\u003ctd\u003eUp to 0.3 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOutput high level\u003c\/td\u003e\n\u003ctd\u003e5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOutput low level\u003c\/td\u003e\n\u003ctd\u003e0V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInput trigger signal\u003c\/td\u003e\n\u003ctd\u003e10us TTL pulse\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInput echo signal\u003c\/td\u003e\n\u003ctd\u003eOutput TTL level signal, proportional to range\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInterface \/ wiring\u003c\/td\u003e\n\u003ctd\u003eVCC, TRIG (Control end), Echo (Receiving end), GND\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eProduct size\u003c\/td\u003e\n\u003ctd\u003e54.5*47mm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eMechanical drawing notes (unit: mm)\u003c\/td\u003e\n\u003ctd\u003e54.50; 47; 12.50; 27; 12.20; 11; 6.60; 5; 2-Ø3 penetration; Ø8 penetration; Ø15.80\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\u003ch2\u003eInterface Notes\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003ePin order (as labeled): VCC, TRIG (Control end), Echo (Receiving end), GND.\u003c\/li\u003e\n\u003cli\u003eNote: The module should be plugged on the circuit board before powering on to avoid high-level malfunctions. If it happens, power on again to solve it.\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eWorking Principle (Ranging)\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003eUse IO to trigger ranging and give a high-level signal of at least 10us.\u003c\/li\u003e\n\u003cli\u003eThe module automatically sends 8 square waves of 40khz and detects whether there is a signal return.\u003c\/li\u003e\n\u003cli\u003eIf a return is detected, a high level is output through the IO. The duration of the high level is the time from the ultrasonic wave to its return.\u003c\/li\u003e\n\u003cli\u003eTest distance = (high level time * sound speed (340M\/S)) \/ 2.\u003c\/li\u003e\n\u003c\/ul\u003e\u003cul\u003e\n\u003cli\u003eTiming diagram notes: CH1 = 10 microsecond high-level transmit signal; CH2 = received return signal.\u003c\/li\u003e\n\u003cli\u003eThe echo level output is proportional to the detection distance.\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eApplications\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003eShort-distance measurement for robots and smart cars (obstacle avoidance \/ distance sensing).\u003c\/li\u003e\n\u003cli\u003eServo-based scanning (front\/left\/right) by forming a rotatable ultrasonic PTZ.\u003c\/li\u003e\n\u003cli\u003eEducational projects for micro:bit and Arduino teaching.\u003c\/li\u003e\n\u003cli\u003eCan be used together with RGB light modules (ranging + searchlight).\u003c\/li\u003e\n\u003cli\u003eDirectional installation on robot car using M3 copper pillars.\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eWhat's Included\u003c\/h2\u003e\u003cul\u003e\n\u003cli\u003eUltrasonic module\u003c\/li\u003e\n\u003cli\u003eUltrasonic module + cable\u003c\/li\u003e\n\u003cli\u003eUltrasonic module + 9G servo\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2\u003eManuals\u003c\/h2\u003e\u003cul\u003e\u003cli\u003e\u003ca href=\"http:\/\/www.yahboom.net\/study\/ultrasonic\" rel=\"noopener noreferrer\" target=\"_blank\"\u003eYahboom horizontal ultrasonic sensor documentation\u003c\/a\u003e\u003c\/li\u003e\u003c\/ul\u003e\u003cp\u003eFor installation and compatibility questions before purchase, contact support@rcdrone.top or visit https:\/\/rcdrone.top\/.\u003c\/p\u003e\u003ch2 id=\"details\"\u003eDetails\u003c\/h2\u003e\u003cdiv class=\"details-gallery\"\u003e\n\u003cimg alt=\"Yahboom Flat Horizontal Ultrasonic Sensor module with flat PCB and dual 40 kHz transducers\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance.jpg?v=1782207598\"\u003e\u003cp\u003eThe flat horizontal PCB layout keeps the ultrasonic module compact and easy to mount on robot and smart car builds.\u003c\/p\u003e\n\u003cimg alt=\"Flat ultrasonic sensor mounted on a 9G servo PTZ for left\/right scanning on a robot car chassis\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance_6b1460b1-5c66-47a2-86ba-ad58ddb1b533.jpg?v=1782207609\"\u003e\u003cp\u003ePairing the module with a 9G servo makes it simple to sweep the sensor for front, left, and right distance checks.\u003c\/p\u003e\n\u003cimg alt=\"Ultrasonic sensor working principle and timing waveform for TRIG pulse and ECHO return signal duration\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance_37cd94e8-c394-44be-9dfb-7d955b866ee3.jpg?v=1782207622\"\u003e\u003cp\u003eDistance is calculated from the ECHO high-level duration after a 10 µs TRIG pulse initiates ultrasonic ranging.\u003c\/p\u003e\n\u003cimg alt=\"Application examples: servo PTZ scanning, pairing with RGB light module, and fixed mounting with copper pillars\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance_c4ce5e90-32c8-4522-8eb0-74e2d0565dae.jpg?v=1782207632\"\u003e\u003cp\u003eFlexible mounting options support servo scanning, direct chassis installation, and add-on modules for project builds.\u003c\/p\u003e\n\u003cimg alt=\"Wiring options for the flat ultrasonic module: XH2.54 4-pin cable and DuPont jumper connections\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance_62400538-011e-4a93-b2eb-e5ea41739194.jpg?v=1782207642\"\u003e\u003cp\u003eChoose XH2.54 or DuPont wiring to match common development boards and robot car kits.\u003c\/p\u003e\n\u003cimg alt=\"Optional 4-pin XH2.54 cable link banner for the ultrasonic sensor module\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance.webp?v=1782207652\"\u003e\u003cimg alt=\"Optional DuPont jumper wire set link banner for connecting the ultrasonic sensor module\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance_bac81b8e-9e07-4bc9-b61c-1caa6222b64f.webp?v=1782207662\"\u003e\u003cimg alt=\"4-pin interface pinout labeled VCC, TRIG, ECHO, GND on the flat ultrasonic distance sensor\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance_1ede0ded-d7b8-4849-9062-cc027ff3b6c6.jpg?v=1782207673\"\u003e\u003cp\u003eThe 4-pin header uses VCC, GND, TRIG, and ECHO for quick hookup to Arduino, micro:bit, and similar controllers.\u003c\/p\u003e\n\u003cimg alt=\"Smart robot car installation examples showing the flat ultrasonic sensor used on wheeled and tracked platforms\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance_9910330f-6a16-4955-87cd-c24a13428db9.jpg?v=1782207684\"\u003e\u003cp\u003eA low-profile form factor helps the sensor fit neatly on both wheeled and tracked robot chassis designs.\u003c\/p\u003e\n\u003cimg alt=\"Mechanical drawing and key parameters for the flat ultrasonic module, including size and sensing angle table\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance_878bcf94-f705-4ae1-b6e3-99c2b0581133.jpg?v=1782207695\"\u003e\u003cp\u003eDimensions and main operating parameters are provided to help plan mounting holes and sensor placement.\u003c\/p\u003e\n\u003cimg alt=\"Yahboom tutorial and reference download information for Arduino, micro:bit, MSPM0, Raspberry Pi, and STM32\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance_1b0e1a70-14a3-40a2-b1b6-178030409948.jpg?v=1782207707\"\u003e\u003cp\u003eProject files and reference materials support fast setup across popular education and maker platforms.\u003c\/p\u003e\n\u003cimg alt=\"MSPM0G3507 routine resources and documentation icons for ultrasonic ranging code and wiring references\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance_aef9bed8-096a-46e1-b7d1-f8896de8839d.jpg?v=1782207718\"\u003e\u003cp\u003eOptional example routines and documents are included for users developing with MSPM0 controllers.\u003c\/p\u003e\n\u003cimg alt=\"Yahboom Flat Horizontal Ultrasonic Sensor real product shots showing front transducers and PCB details\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance_c07ae273-2a2d-4ad1-b63d-aef95494b293.jpg?v=1782207729\"\u003e\u003cimg alt=\"Front view of the Yahboom flat ultrasonic module showing dual transducers and compact mounting holes\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance_77bc2b91-2f6a-41e8-8e91-3e1b91278a82.jpg?v=1782207738\"\u003e\u003cimg alt=\"Flat ultrasonic sensor module package option with included 4-pin cable\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance_0ad4c549-e855-464a-8dc9-a8c580c1b033.jpg?v=1782207748\"\u003e\u003cimg alt=\"Bundle option: flat ultrasonic module with 9G micro servo, PTZ hardware, copper standoffs, and cable\" loading=\"lazy\" src=\"https:\/\/rcdrone.top\/cdn\/shop\/files\/Yahboom-horizontal-ultrasonic-sensor-distance_bc5e1e2d-f212-4570-b8d9-9d7c1b8f7c40.jpg?v=1782207758\"\u003e\u003cp\u003eSelect a bundle with the 9G servo and mounting hardware for a ready-to-build scanning ultrasonic PTZ setup.\u003c\/p\u003e\n\u003c\/div\u003e","brand":"yahboom","offers":[{"title":"ultrasonic module","offer_id":53137575674080,"sku":"6000300125-1","price":9.2,"currency_code":"USD","in_stock":true},{"title":"ultrasonic module+cable","offer_id":53137575706848,"sku":"6000300125-2","price":9.68,"currency_code":"USD","in_stock":true},{"title":"ultrasonic module+9G servo","offer_id":53137575739616,"sku":"6000300125-3","price":11.64,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0643\/3210\/3904\/files\/Ultrasonic_Module-Yahboom.jpg?v=1782137153","url":"https:\/\/rcdrone.top\/ar\/products\/yahboom-horizontal-ultrasonic-sensor","provider":"RCDrone","version":"1.0","type":"link"}