Abstract
Smart farming has become a cutting-edge technology to address contemporary issues related to agricultural sustainability. Machine learning (ML) is the engine that powers this evolving technology. The study aims to develop a smart prototype robot to diagnose citrus trees (healthy or infected) using a convolutional neural network (CNN) algorithm. The results of the classification accuracy were 96%. And then, after spraying the affected areas with the pesticide, all farmers in the country can use it to protect themselves from the dangers of pesticides. The results were good and promising.