This research designs and develops an Internet of Things (IoT)-based intelligent systemfor recommending horticultural vegetable crop selection using a rule-based expert systemwith forward chaining inference technique. Unlike previous studies that generallyfocused solely on soil condition monitoring, this system integrates the simultaneousmeasurement of seven soil parameters with automated decision-making capabilities toguide users in precise crop selection. The system utilizes an RS485 Modbus RTU-based7-in-1 NPK sensor to measure soil moisture, temperature, electrical conductivity (EC),pH, Nitrogen (N), Phosphorus (P), and Potassium (K). An ESP32 microcontrollerprocesses the sensor data through a rule base covering 15 vegetable commodities, anddistributes recommendation notifications along with fertilizing guidance via a TelegramBot, while all data are synchronized to a MySQL database. Testing was conducted onthree soil conditions: yard soil, compost soil, and agricultural field soil. Results confirmthat the system performs stable data acquisition across all seven parameters, and theforward chaining logic demonstrated 100% accuracy in matching physical soil data withthe rule base across all tested scenarios. The system proves to be a practical andaffordable decision-support solution for farmers in determining suitable vegetable cropsbased on real soil conditions.
Copyrights © 2026