Any suggestions to connect trig and echo of ultrasonic to microcontroller via dc

application is to measure water at the tank using ultrasonic sensor via dc lines, sensor is located at last floor of building & main board is at first floor