Confused how to communicate esp8266 12e with arduino nano

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