Soil Nutrition Sensor

I am building a smart farm project. Therefore, I need some sensor to detect the soil ph value and the Nutrition status; but, I cannot find any. I only found soil moisture and soil temperature sensor.

Anyone have any idea/information about soil ph and nutrition sensor.

Very Very Very Thanks.

Soil pH has been discussed here rather recently - do a search.

Nutrient levels is a whole different ballgame. Short of taking your soil samples to a lab for analyses I don't know how it can be done, as there are so many different chemicals that contribute to this (from the mineral ions to the organic matter that's waiting to be broken down by bacteria).