Hello!
What is the question about HC-SR04. All you need is using a capture input to measure the impulse length on the echo pin, and generating a trigger pulse with a normal GPIO.
For moisiture sensing, i found this:
https://www.sparkfun.com/products/13322In this case, you need to hook up the SIG output to an AD input, and read the analog value. If you bulid a prototype only, you can share the power supply between this modul and your µC, and you don't need any level transition. Not the most elegant way, but it's good for getting know the sensor.
Good luck!