My FC-28 moisture sensor keeps changing from HIGH to LOW.

My FC-28 moisture sensor keeps changing from HIGH to LOW, it doesnt matter whether it is in wet soil or completely dry soil. is there anything i need to add into code or add into circuit that would help?
atm ive got the vcc directly to 5v, grd at ground and the DO directly to the pin.

Any help is appreciated, thanks.