Help integrating DFRobot_C4001 (12m) with ESPHome

Hi everyone,

I’m currently trying to integrate the DFRobot_C4001 ultrasonic sensor (12m version) into ESPHome.

I already have a working Arduino sketch, but I’m having trouble converting it into a working ESPHome configuration. I’m still quite new to ESPHome, so I might be missing something obvious.

Right now, I’m using an ESP32 for testing purposes, but I plan to switch to an ESP8266 later on.

Has anyone already integrated this sensor into ESPHome or has any idea how I can achieve this? I’d really appreciate any help or suggestions!

Thanks in advance
Luca

You should try searching, third result in Google