Skip to content

Commit

Permalink
jsn_sr04t: Added options for AJ_SR04M sensor types (#4022)
Browse files Browse the repository at this point in the history
  • Loading branch information
soeffi committed Jul 11, 2024
1 parent 0af8c80 commit d104d94
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion components/sensor/jsn_sr04t.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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%
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d104d94

Please sign in to comment.