- SKU:
- BARCODE:
STP-23L 7.5 m ToF Laser Distance Sensor for ROS Robotics
- ROS Development Resources Available
- Professional Technical Support
- Comprehensive Development Resources
- For bulk orders, institutional procurement, or corporate purchasing, please contact us for a formal quotation and procurement support.
The STP-23L is a compact 940 nm time-of-flight (ToF) laser distance sensor for robotics, embedded sensing, obstacle detection and research prototypes. It provides a 0.07–7.5 m measurement range, 120 Hz measurement frequency, UART communication at 230400 bps and a lightweight 6.8 g form factor. Development resources include ROS 1 / ROS 2 decoding SDKs, Windows software, Python examples and microcontroller reference code.
Key Highlights
- Measurement range: 0.07–7.5 m
- Measurement frequency: 120 Hz
- Data output: 10 Hz, with 12 ranging samples per frame
- UART interface: 230400 bps
- Ambient-light tolerance: up to 60 kLux
- Laser wavelength: 940 nm
- Laser classification: IEC 60825 Class 1
- Dimensions: 46.6 × 23.8 × 20.6 mm
- Weight: 6.8 g
- Development support: ROS 1, ROS 2, Windows, Ubuntu, Python and MCU examples
Available Configurations
Three configurations are available for single-sensor development and multi-sensor integration.
| Configuration | Intended Use |
|---|---|
| STP-23L + Ethernet & Serial Adapter | Single-sensor development with Ethernet and serial connectivity accessories. |
| S21C 4-Channel Board | Multi-sensor acquisition platform for users who already have compatible ranging modules. |
| S21C Board + Serial Adapter + 4× STP-23L | Complete four-sensor development set for multi-directional ranging and robotics integration. |
Which Configuration Should I Choose?
Choose STP-23L + Ethernet & Serial Adapter for single-sensor PC, embedded or network-connected development. Choose the S21C 4-Channel Board when you already have compatible ranging modules and need centralized multi-sensor acquisition. Choose S21C Board + Serial Adapter + 4× STP-23L for a complete four-sensor ranging setup.
Product Overview
STP-23L uses time-of-flight laser ranging to determine the distance between the sensor and a target. Its compact body, low operating current and UART interface make it suitable for integration into mobile robots, embedded systems, educational platforms, obstacle-sensing systems and other applications requiring compact distance measurement.
The sensor performs ranging measurements at 120 Hz and outputs processed data at 10 Hz, with 12 ranging samples contained in each output frame. Ambient-light tolerance up to 60 kLux supports operation in both indoor and outdoor environments.
Technical Specifications
| Model | STP-23L |
|---|---|
| Measurement Principle | Time of Flight (ToF) |
| Measurement Range | 0.07–7.5 m |
| Accuracy | ±15 mm up to 1.5 m, STD 5 mm; ±1% from 1.5–7.5 m, STD 15 mm |
| Measurement Frequency | 120 Hz |
| Data Output Frequency | 10 Hz, 12 ranging samples per frame |
| Pitch-Angle Error | ±0.75° |
| Yaw-Angle Error | ±1° |
| Ambient-Light Tolerance | 60 kLux |
| Laser Wavelength | 940 nm |
| Laser Safety Classification | IEC 60825 Class 1 |
| Spot Diameter | 5 mm |
| Communication Interface | UART |
| Baud Rate | 230400 bps |
| Input Voltage | 4.5–5.5 V |
| Startup Current | 95 mA |
| Operating Current | 33 mA |
| Operating Temperature | −10°C to +50°C |
| Storage Temperature | −30°C to +70°C |
| Service Life | 10,000 h |
| Dimensions | 46.6 × 23.8 × 20.6 mm |
| Weight | 6.8 g |
UART Interface
STP-23L uses a four-wire interface consisting of P5V, GND, RX and TX. UART signal levels are typically 3.3 V, while sensor power input is nominally 5 V within the specified 4.5–5.5 V range.
| Pin | Function | Typical Level |
|---|---|---|
| TX | UART output | 3.3 V |
| RX | UART receive / production use | 3.3 V |
| GND | Power ground | 0 V |
| P5V | Power input | 5 V |
The RX pin is intended for production use and does not provide a user command-downlink interface to the ranging module.
ROS & Development Resources
STP-23L includes development resources for both PC-based and embedded integration, allowing the sensor to be used in ROS robots as well as standalone microcontroller-based systems.
- ROS 1 decoding SDK
- ROS 2 decoding SDK
- Windows ranging software
- Python examples for Windows and Ubuntu
- Python 2.7 and Python 3 examples
- STM32 Standard Peripheral Library examples
- STM32 HAL examples
- MSPM0G3507 examples for KEIL and CCS
Multi-Sensor Development with S21C
The S21C four-channel acquisition board supports up to four STP-23L ranging modules for multi-sensor robotics applications. The board uses an STM32F103RCT6 controller and provides USB serial and CAN interfaces for system integration.
Applications
- ROS mobile robots and research platforms
- Short- and medium-range obstacle detection
- Robot vacuum and service-robot sensing
- Educational robotics and embedded development
- UAV and unmanned-system proximity sensing
- Autonomous mobile platform distance measurement
- Multi-sensor robotics prototypes
STP-23L Key Features
Windows Ranging Software
Windows client software provides a convenient way to connect the STP-23L, read ranging data and monitor distance measurements during development, testing and system integration.
ROS 1 & ROS 2 Decoding SDK
ROS 1 and ROS 2 decoding SDKs are available for integrating STP-23L ranging data into robotics systems and research platforms.
UART Raw Data Access & Embedded Development
The STP-23L provides UART data output for embedded integration. Development examples are available for STM32 and MSPM0G3507 platforms, supporting direct access to ranging data in microcontroller-based systems.
Millimeter-Level Ranging Accuracy
STP-23L is designed for millimeter-level distance measurement, with stable ranging performance across near-, mid- and longer-range measurement conditions.
Python Support for Windows & Ubuntu
Python example code is available for Windows and Ubuntu, providing a convenient development path for reading, parsing and displaying STP-23L distance data on PCs and robotics computers.
Four-Channel Sensor Acquisition
The optional S21C acquisition board supports connection of up to four STP-23L distance sensors, enabling multi-directional ranging and multi-sensor robotics development.
Time-of-Flight Laser Ranging
STP-23L uses the time-of-flight principle to determine target distance by measuring the travel time of emitted laser light reflected back from the target.
Indoor & Outdoor Ranging
With ambient-light tolerance up to 60 kLux, STP-23L is suitable for distance measurement in both indoor and outdoor environments.
ROS 1 & ROS 2 Compatibility
STP-23L can be integrated into ROS 1 and ROS 2 robotics workflows using the available decoding resources, making it suitable for mobile robots, educational platforms and research systems.
Class 1 Laser Safety
The STP-23L uses a 940 nm infrared laser source with Class 1 laser safety classification, supporting integration into robotics and embedded sensing applications.
Compact & Lightweight Design
With dimensions of 46.6 × 23.8 × 20.6 mm and a weight of 6.8 g, STP-23L is suitable for compact mobile robots, embedded systems and space-constrained sensing installations.
Frequently Asked Questions
What is the STP-23L designed for?
STP-23L is a compact ToF laser distance sensor designed for robotics, obstacle sensing, embedded systems, educational platforms and other applications requiring short- to medium-range distance measurement.
What is the measurement range of the STP-23L?
The specified measurement range is 0.07 to 7.5 m.
What is the ranging accuracy?
The STP-23L provides ±15 mm accuracy in the close-range region with a listed standard deviation of 5 mm, and ±1% accuracy from 1.5 to 7.5 m with a listed standard deviation of 15 mm.
What are the measurement and output frequencies?
The sensor performs ranging measurements at 120 Hz and outputs data at 10 Hz. Each output frame contains 12 ranging samples.
What communication interface does the STP-23L use?
STP-23L uses UART communication at 230400 bps.
Does the STP-23L support ROS 2?
Yes. ROS 1 and ROS 2 decoding SDKs are available for accessing STP-23L ranging data in robotics applications.
Can I read STP-23L data using Python?
Yes. Python examples are available for Windows and Ubuntu, including Python 2.7 and Python 3 examples.
Are microcontroller development examples available?
Yes. Development examples include STM32 Standard Peripheral Library and HAL implementations, as well as MSPM0G3507 examples for KEIL and CCS environments.
What voltage does the STP-23L require?
The sensor operates from a 4.5–5.5 V supply, with 5 V as the nominal input voltage.
What is the operating current?
The specified operating current is 33 mA, with a startup current of 95 mA.
Can the STP-23L be used outdoors?
Yes. The sensor is designed for indoor and outdoor ranging and has a specified ambient-light tolerance of up to 60 kLux.
Can commands be sent to the sensor through the RX pin?
The RX pin is intended for production use and does not provide a user command-downlink interface to the ranging module.
Can multiple STP-23L sensors be used together?
Yes. The S21C four-channel acquisition board supports connection of up to four ranging modules and provides USB serial and CAN communication.
What are the size and weight of the STP-23L?
The module measures 46.6 × 23.8 × 20.6 mm and weighs 6.8 g.
1. Free Shipping Policy
We offer free standard shipping on orders.
2. Customs & Import Fees
All international shipments are subject to local customs regulations. Import duties, taxes, or other fees may be charged by your country's customs authority upon arrival.
Our shipping terms are based on Ex-Works (EXW) or FCA (Origin), which means any import duties, taxes, or local customs fees are the sole responsibility of the customer. While our carriers provide basic assistance with the clearance process, we are not responsible for delays or costs imposed by your local authorities.
Important: If a package is returned to us due to unpaid customs duties or a refusal to clear customs, any original shipping fees, return shipping costs, and related handling charges will be deducted from your refund.
3. Order Processing Time
Orders ship within 5 business days of order placement.
Business days exclude weekends and public holidays.
Once shipped, you will receive a confirmation email with tracking information.