The Use of Internet of Things technology to develop a smart farm prototype for pig farming

Authors

  • Pairot Sena Faculty of Science and Technology, Nakhon Si Thammarat Rajabhat University, Nakhon Si Thammarat, 80280 Thailand
  • Boonnipa Kaiwman Faculty of Science and Technology, Nakhon Si Thammarat Rajabhat University, Nakhon Si Thammarat, 80280 Thailand

DOI:

https://doi.org/10.55674/snrujst.v14i3.245673

Keywords:

Smart farm, Internet of Things, Embedded system, NoSQL database, MQTT protocol

Abstract

 This research aims to develop a smart farm prototype using Internet of Things (IoT) technology.
The objectives are 1) to design and construct environment monitor and control systems of the housing and 2) to design and build an IoT feeding control system. The development is under the system development process at the pig farms in Nakhon Si Thammarat province, Thailand, using open-source hardware and software. This system utilizes a ESP8266 Wi-Fi microcontroller, which functions to connect different sensors data to server and control the actuators. The MQTT protocol for data transferred over a secure wireless local network. Node-RED for designing the flow of data is stored on the server using a NoSQL database such as InFluxDB. In this research, it was found that the measured temperature was an average of 28 °C ranging from 24.43 °C to 34.34 °C. The humidity was an average of 92%. The feeding control system is following the instructions 100% of the time. Users can access data and control the system via a web application with a smartphone or a computer in real-time. Additionally, the collected information is processed and analyzed as big data for forecasting or studying climate change around the study point in the future. The overall system performance evaluation was at the highest level achieving on average 4.50 out of 5 with a standard deviation of 0.47 from the users. Therefore, the developed IoT system could be used as a prototype and expanded to a larger farm or other kinds of farms.

References

M.A. Razzaque, M. Milojevic-Jevric, A. Palade, S. Clarke, Middleware for Internet of Things: A Survey. IEEE Internet Things J. 3(1) (2016) 70 – 95.

W. An, D. Wu, S. Ci, H. Luo, V. Adamchuk, Z. Xu, Agriculture cyber-physical systems. Cyber-physical systems: Foundations, principles and application, first ed., Academic Press, London, 2017.

MQTT, http://mqtt.org, 9 September 2020.

S. Alexey, Y. Semen, V.A. Alexander, N. Denis, Evaluation of modern tools and techniques for storing time-series data. Procedia Comput. Sci. 156 (2019) 19 – 28.

Node-RED, https://nodered.org/, 17 August 2020.

K.S.N.K. Marwat, Y. Mehmood, F. Ullah, A. Khan, S. Khan, S. Ahmed, D. Kwak, A. Nazir, Mobile Wi-Fi based Scheduling of Cyber-Physical Systems in Healthcare, Electronics. 9(2) (2020) 247.

InfluxDB 1.8 documentation, https:// www.influxdata.com/products/influxdb, 9 September 2020.

Grafana, https://grafana.com/, 9 September 2020.

M.J.A. Baig, M.T. Iqbal, M. Jamil, J. Khan, Design and implementation of an open-Source IoT and blockchain-based peer-to-peer energy trading platform using ESP32-S2, Node-RED and, MQTT protocol, Energy Rep. 7 (2021) 5733 – 5746.

C. Ricardo, G. Tiago, P. Hugo, F. Manuel, Architecture for Intensive Care Data Processing and Visualization in Real-time, Procedia Comput. Sci. 184 (2021) 923 – 928.

Downloads

Published

2022-08-23

How to Cite

Sena, P., & Kaiwman, B. (2022). The Use of Internet of Things technology to develop a smart farm prototype for pig farming. Creative Science, 14(3), 245673. https://doi.org/10.55674/snrujst.v14i3.245673