
1 / 3 · Click to enlarge
AI Summary
This compact infrared tracking sensor module provides fixed-distance detection with a digital output, operating from 3.3V to 5.5V. Its 2.54mm header and mounting holes make it easy to integrate into embedded and DIY projects.
Key Highlights
- Fixed-distance infrared tracking detection
- Wide 3.3V to 5.5V operating voltage range
- Digital signal output via S pin
- Standard 2.54mm pitch header for easy connection
- Compact 31mm × 18mm board size
- Mounting holes with 3mm aperture and 10mm spacing
Ideal For
- DIY electronics hobbyists building line-following robots
- Students learning microcontroller interfacing
- Makers adding fixed-distance detection to projects
- Prototypers using breadboards and 2.54mm headers
- Embedded developers needing a simple digital sensor
Buying Tip
Check that your project's detection distance matches the fixed-distance design of this sensor, as it is not adjustable.
Elecvora expert review
Our verdict
The HS-S04B-Z is a straightforward infrared tracking sensor that does one job well: fixed-distance detection with a digital output. Its wide voltage range and standard header make it easy to integrate into small projects.
AI-assisted analysis based on the manufacturer's specifications. Not a hands-on lab test.
Pros
- Wide 3.3–5.5V operating range
- Simple digital output
- Compact board with mounting holes
- Standard 2.54mm header
Cons
- Detection distance is fixed and not adjustable
- No additional documentation or cables included
Best for
Simple fixed-distance detection in DIY and educational projects
Not ideal for
Applications requiring adjustable or long-range distance measurement
Specifications
| Item Type | Infrared tracking sensor |
|---|---|
| Model No. / Name | HS-S04B-Z |
| Operating Voltage (V) | 3.3 – 5.5 |
| Length (mm) | 31 |
| Width (mm) | 18 |
| Shipping Weight | 0.01 kg |
| Shipping Dimensions | 9 × 9 × 2 cm |
What's in the box
- 1 x HS-S04B-Z Infrared tracking sensor
Frequently Asked Questions
What is the detection distance of this sensor?
Can I use this sensor with a 5V microcontroller?
How do I connect the sensor to my board?
Does the module include cables or headers?
Is the detection distance adjustable?
What is the pin pitch for the connector?
Overview
The HS-S04B-Z is an infrared tracking sensor module built for fixed-distance detection. It outputs a digital signal that can be read by a microcontroller, making it suitable for embedded systems and DIY electronics. The board operates across a 3.3V to 5.5V range and uses a standard 2.54mm pitch header for wiring. With a compact 31mm by 18mm footprint and dedicated mounting holes, it fits neatly into small enclosures and custom builds.
Key Features
- Fixed-distance infrared detection: Provides a stable digital output when an object is within the sensor's fixed detection range.
- Flexible power input: Accepts 3.3V to 5.5V, matching common logic levels and battery supplies.
- Simple digital interface: The S pin delivers a digital signal for direct connection to GPIO pins.
- Easy mounting: Two mounting holes with 3mm aperture and 10mm spacing allow secure fastening.
- Clear pin labeling: G, V, and S markings reduce wiring errors during assembly.
Specifications Explained
Operating voltage (3.3–5.5V): This range covers the most common microcontroller and development board supplies, so the module can share a power rail with 3.3V and 5V systems alike. Digital output (S pin): The sensor provides a simple high or low signal, which is easy to read with a digital input pin. Dimensions (31mm × 18mm): The board is small enough for tight spaces yet leaves room for the header and mounting holes. Mounting holes (3mm aperture, 10mm spacing): These accept standard M3 screws or standoffs for firm installation. 2.54mm pitch header: This is the most common prototyping pitch, compatible with breadboards and jumper wires.
Compatibility and Requirements
The module requires a DC supply between 3.3V and 5.5V. Connection is made through the 2.54mm pitch header: G to ground, V to positive supply, and S to a digital input on your microcontroller. No additional components are specified. Ensure your power source can deliver the required voltage within this range.
Typical Uses
- Line-following and tracking robots
- Obstacle detection at a fixed distance
- DIY automation and sensing projects
- Educational electronics and prototyping
What's in the Box
1 x HS-S04B-Z Infrared tracking sensor.
Quick specs
- Item Type
- Infrared tracking sensor
- Model No. / Name
- HS-S04B-Z
- Operating Voltage (V)
- 3.3 – 5.5
- Length (mm)
- 31
- Width (mm)
- 18
- Shipping Weight
- 0.01 kg













