esphome / esphome/feature-requests

[Sensor Component][Ultrasonic Distance Sensor] Add serial port mode support

Open
#2,090 1 comment 0 reactions 0 assignees View on GitHub
component: ultrasonic
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**

Widely used ultrasonic ranging sensors like US-100, JSN-SR04T etc. can work in a serial port mode (Mode2 and 3) which seems to be more precise and less resource consuming but this mode is not implemented in ESPHome (only Mode1 "HC-SR04" supported). Can you please add it?

**Please describe your use case for this integration and alternatives you've tried:**

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Research direction

Begin at ESPHome's ultrasonic distance sensor component and trace the existing HC-SR04 Mode1 support. Research the serial-port protocols used by US-100 and JSN-SR04T for Modes 2 and 3, then define tests and acceptance criteria for supporting those modes with the stated precision and resource benefits.

Written by the indexing model from the issue text.

Assessment

Tech stack
embedded-iot
Domain
embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.