Reliable EC and pH soil sensors

Hi, new electronics user here and I've taken the time to look through the forum and come to the conclusion that the 7-in-1 sensors are often fake- so I must ask if there are any real sensors to track EC and pH in soil that aren't extremely pricey ($50+)? Please link any sensors or tutorials! My PI is doing research in applying urine to soil so they would really like to explore the EC and pH composition.

I think you already know the answer to that question. If you've done the research and haven't found any, then the answer is very likely "no".

Do the RS485 sensors produce good estimates of EC and pH? I know NPK is out of the picture

I've never had the need to find out. It sounds like you have that need.

Research grade sensors produce extremely high quality estimates, if they are calibrated and used appropriately. RS485 is a means of communication and has nothing to do with the sensor.

the 7-in-1 sensors are often fake-

The NPK claim is pure advertising hype, and the numbers are meaningless.

Then do these multiple prong soil sensors produce good EC and pH readings? Sorry for using the wrong terminology before

If you want reliable readings, don't waste your time and money with cheap sensors. Do the research, keeping in mind that it is NOT trivial to measure pH.

What is EC?
The reason so many are steering you to good (expensive) sensors is that the cheap ones do not last long.

Electrical conductivity. Is the conclusion that it is not feasible to cost-effectively make an EC or pH sensor? I'm willing to look into good sensor components

The better hobby sensors for pH, temp, and water content are lucky to last a growing season. The professional units are hundreds of dollars. I am a gardener and had ideas about building something, but the more I looked into it, the less enthusiastic I became. Temperature is easily measured with a proper garden thermometer; I have one, and it has lasted at least 10 years. PH is a lab exercise, and it is difficult to get accurate measurements. Moisture is best in an off-the-shelf water control system; they seem to work and last.

Define "cost effective".

While you are at it, state your budget and the specifications for the accuracy and stability you need.

My budget is around $30 for an EC sensor and looking for a +/- 10-20% accuracy and long-term use in a garden, field, or high tunnel

EC is easy to measure but the probes on the cheap ones corrode when left in the soil. Also, any electronics left in the open and powered up will corrode due to humidity unless properly sealed. The PCB must be "conformally coated".

With outdoor equipment exposed to wind and rain, look for electronics with IP67 waterproofing (IP65 at absolute minimum) and electrodes with lifetimes that are guaranteed for an acceptable period.

You can avoid both of those problems by using a portable EC meter with a built in calibration function, possibly similar to this one:

What's PI for starters?

If you are researching something as in university research, your results will have to stand up to scrutiny, as will your methods.

Soil science is a mature science and in the UK, institutes like John Innes in Norwich do soil analysis as routine. They will be using standard methods and those should be your starting place.

Without re-writing stuff you can look up, conductivity is relatively easy. Two probes, measure the resistance. Gold standard, multi-ring graphite electrode, temperature compensation, report at 20 or 25-degees C. Alternating current preferred to reduce electrode erosion.

If you are using conductivity for mineral content, you need to standardise the moisture content. Dry sample, weigh and add deionised water. For straight in situ conductivity, simple probes.

pH. Look up spear electrodes, especially designed to push into solids like soil.
Again, lab testing would involve standardising the sample. Dry carefully and reconstitute with deionised water.

pH measurement is notoriously liable to drifting and daily two point calibration with buffer solutions, pH 4, pH 7, pH 10 are the norm. Temperature compensation essential.

Alternatively, universal test strips work well, last well and are good indicators.

You get what you pay for. I remain very sceptical of those prong devices that claim to do the things that normally takes an accredited laboratory with trained staff and very expensive instruments to do with confidence. They might do conductivity at a pinch, but N-P-K? Forget it.