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

Prepare pcb board on my CNC for communicate with just two wires