jsn_sr04t: Added options for AJ_SR04M sensor types (#4022)

This commit is contained in:
soeffi 2024-07-11 23:30:51 +02:00 committed by GitHub
parent 0af8c80ea7
commit d104d94437
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ JSN-SR04T Waterproof Ultrasonic Range Finder
:image: jsn-sr04t-v3.jpg
:keywords: JSN-SR04T
This sensor allows you to use the JSN-SR04T Waterproof Ultrasonic Range Finder **in Mode 1 and 2**
This sensor allows you to use the JSN-SR04T and AJ_SR04M Waterproof Ultrasonic Range Finder **in Mode 1 and 2**
with ESPHome to measure distances. This sensor can measure
ranges between 25 centimeters and 600 centimeters with a resolution of 1 millimeter.
@ -18,6 +18,12 @@ Configure the JSN-SR04T for mode 2:
- **V1.0 and V2.0**: Add a 120k resistor to pad R27.
- **V3.0**: Short pad M2 or add 120k resistor to pad mode.
Configure the AJ_SR04M for mode 1:
- Add a 120k resistor to pad R19.
Configure the AJ_SR04M for mode 2:
- Add a 47k resistor to pad R19.
.. figure:: images/jsn-sr04t-v3-mode-select-pads.jpg
:align: center
:width: 50.0%
@ -55,6 +61,7 @@ Configuration variables:
sensor. Defaults to ``60s``. Not applicable in mode 1.
- **uart_id** (*Optional*, :ref:`config-id`): The ID of the :ref:`UART bus <uart>` you wish to use for this sensor.
Use this if you want to use multiple UART buses at once.
- **model** (*Optional*): Sensor model. Available options: ``jsn_sr04t`` (default) and ``aj_sr04t``.
- All other options from :ref:`Sensor <config-sensor>`.
See Also