Collaboration across the agriculture supply chain is essential to address the high-yield demand and sustainable practices amid global overpopulation. Limited resources, such as soil and water, are compromised by excessive chemical agents and nutrient use. The Internet of Things (IoT) and smart farming offer solutions by optimizing agent applications, data analysis, and farm monitoring. Evidence from numerous studies indicates that collaboration in the supply chain, including farmers, can improve efficiency and productivity, reduce costs, and enhance crop quality. This paper investigates the transformation of traditional agriculture into smart farming through the integration of IoT technology and community partnerships. It presents a case study focused on educating farm owners about advanced technologies to enhance decision-making, improve crop yields, and promote sustainability. Additionally, the paper highlights the role of data analytics in agriculture. Farmers in the southern region of Zagreb, Croatia, were trained on the use of sensors and yield monitoring. Small farms in that region face challenges in improving yields due to limited capacity and lack of entrepreneurial experience. The DMAIC methodology was employed to address these issues and measure relevant parameters. The paper also discusses consistent patterns between electrical conductivity (EC) measurements and potassium levels in soil. It explains the potential of estimating potassium concentrations based on EC readings, or vice versa. Leveraging EC as a proxy for potassium levels could offer a cost-effective means of assessing soil fertility and nutrient dynamics. Additionally, Principal Component Analysis (PCA) biplot analysis is presented, showing that pH values behaved independently. Understanding these dynamics enhances knowledge of soil variability and informs sustainable soil management practices.