Agriculture is India's lifeblood. In our country, irrigated cropland covers approximately 215.6 million acres. Pest detection in paddy fields is a significant challenge in agriculture, so effective measures to combat the infestation while minimising pesticide use should be developed. Image analysis techniques are widely used in agricultural science, providing maximum crop protection and ultimately leading to better crop management and production. Pest infestations are currently monitored by hand, but automated monitoring is being developed to reduce human effort and errors. It is possible to accomplish this by using a camera to capture input images and then analyzing them with machine learning. A motor driver is used to build an agricultural robot, and a Raspberry Pi3 is used as the processor or embedded system. For machine learning, we use Python code to train the robot with predefined images. Pest infestations are currently monitored by hand, but automated monitoring is being developed to reduce human effort and errors. It is possible to accomplish this by using a camera to capture input images and then analyzing them with machine learning. A motor driver is used to build an agricultural robot, and a Raspberry Pi3 is used as the processor or embedded system. For machine learning, we use Python code to train the robot with predefined images. Farmers can control it without having to work in the fields or be exposed to pesticides, which is a benefit. His health does not affect him.