Air pollution is a growing concern in rural areas where agricultural production can be reduced by it. This article analyses data obtained as part of a research project. The aim of this study is to understand the influence of atmospheric pressure, air temperature, air relative humidity, longitude and latitude of the location, and indoor and outdoor environment on local rural workplace diversity of air pollutants such as carbon monoxide (CO) and suspended particulate matter (SPM), as well as the contribution of these variables to changes in such air pollutants. The focus is on four topics: motivation, innovation and creativity, leadership, and social responsibility. Furthermore, this study developed an artificial neural network (ANN) model to predict CO and SPM concentrations in the air based on data collected from the mentioned inputs. The related sensors were assembled on an Arduino Mega 2560 board to form a field-portable device to detect air pollutants and meteorological parameters. The sensors included an MQ7 sensor for CO concentration measurement, a Sharp GP2Y1010AU0F dust sensor for SPM concentration measurement, a DHT11 sensor for air temperature and air relative humidity measurement, and a BMP180 sensor for air pressure measurements. The longitude and latitude of the location were measured using a smartphone. Measurements were conducted from 20 December 2021 to 16 July 2022. Results showed that the overall average outdoor CO and SPM concentrations were 10.97 ppm and 231.14 μg/m3 air, respectively. The overall average indoor concentrations were 12.21 ppm and 233.91 μg/m3 air for CO and SPM, respectively. Results showed that the ANN model demonstrated acceptable performance in predicting CO and SPM in both the training and testing phases, exhibiting a coefficient of determination (R2) of 0.575, a root mean square error (RMSE) of 1.490 ppm, and a mean absolute error (MAE) of 0.994 ppm for CO concentrations when applying the testing dataset. For SPM concentrations, the R2, RMSE, and MAE using the test dataset were 0.497, 30.301 μg/m3 air, and 23.889 μg/m3 air, respectively. The most influential input variable was air pressure, with contribution rates of 22.88% and 22.82% in predicting CO and SPM concentrations, respectively. The acceptable performance of the developed ANN model provides potential advances in air quality management and agricultural planning, enabling a more accurate and informed decision-making process regarding air pollution. The results of short-term estimation of CO and SPM concentrations suggest that the accuracy of the ANN model needs to be improved through more comprehensive data collection or advanced machine learning algorithms to improve the prediction results of these two air pollutants. Moreover, as even lower cost devices can predict CO and SPM concentrations, this study could lead to the development some kind of virtual sensor, as other air pollutants can be estimated from measurements of particulate matters.