Ultrasonic sensor : rcwl-1670 -> same as HC-SR04?

Hello everyone,
I’m using esphome and an esp32. I want to connect a water proof ultrasonic sensor the RCWL-1670
On the datasheet it says, it uses the same firmware as the HC-SR04 which is compatible with esphome ultrasonic sensor, only I can’t get it to work.
As any one had any success?
Thanks in advance !
image

1 Like

Hi, I have the same problem, reports about 4cm anyhow on a MKR Zero using the HCSR04 library.
Did you solve it @Gussir ?
I read something about using a longer timeout with some clone chip, but can’t find it now.

I looks like the chip needs 5V - works then ! I was using 3.3V.

I have one of these sensors as well. Does anyone know what connector is used?

The answer to the connector question is HY2.0

I could not get this to work with an ESP32 (Firebeetle) through ESPHome. I tried everything and ran the sensor at 5V. The setup worked fine for an HC-SR04 but I only get “Distance Measurement Timed Out!” with the RCWL-1670.

Hoping to help other people avoid a lot of frustration and time wasted. The key was to extend the timeout variable to 20m. found the solution buried here in another forum post. Water level sensor "measurement timed out"

# Salt Level sensor.
  - platform: ultrasonic
    trigger_pin: GPIO25
    echo_pin: GPIO26
    name: ${device_name}
    update_interval: 1s
    pulse_time: 10us
    timeout: 20m
1 Like