Why not just connect the hc-sr04 to the esp? You probably need level shifters, as I seem to remember the hc-sr04 only works at 5V
Why not just connect the hc-sr04 to the esp? You probably need level shifters, as I seem to remember the hc-sr04 only works at 5V