Design of IoT-Based Control System Using Fuzzy Inference System

Sunardi Sunardi, Agung Mulyo Widodo, Karisma Trinanda Putra, Cahya Darmarjati, Prayitno Prayitno


Industry 4.0 combines automation technology with cyber technology such as Internet of Things (IoT) technology. IoT services can provide a system with a huge amount of data in real-time monitoring from edge sensory nodes. However, in real-world industrial applications, IoT can not achieve a good result in decision-making tasks unless intelligent mechanisms are integrated into it. A control system based on the combination of IoT and artificial intelligence (AIIoT) is explored in this study. This research simulated the used of IoT devices for controlling tasks and can be monitored via the internet. In addition, an artificial intelligence, i.e., a fuzzy Inference System, is proposed. First, inputs are recorded from DHT11 temperature-humidity sensor and the MPX5100DP indoor air pressure sensor. Then, the inference model converts the inputs into fuzzy sets and then calculates the output during the inference phase using predefined rules. The proposed algorithm is implemented using an ESP8266 Arduino board which can connect to the server via WiFi. This prototype can record input data with errors measured by RMSE of 0.38 and 1.158 for humidity-temperature and air pressure sensors, respectively. Based on experiments, the system can respond optimally to the input changes that are manipulated through the FIS algorithm, as evidenced by using an average error of 0.0145 in five different scenarios


fuzzy logic, IoT, microcontroller, servo motor, sensor

Full Text:



I. Lee and K. Lee, "The Internet of Things (IoT): Applications, investments, and challenges for enterprises," Business horizons, vol. 58, no. 4, pp. 431-440, 2015.

T. Malche and P. Maheshwary, "Internet of Things (IoT) for building smart home system," in 2017 International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud)(I-SMAC), 2017: IEEE, pp. 65-70.

F. Arena, G. Pau, and A. Severino, "An overview on the current status and future perspectives of smart cars," Infrastructures, vol. 5, no. 7, p. 53, 2020.

C.-H. Chen, M.-Y. Lin, and C.-C. Liu, "Edge computing gateway of the industrial internet of things using multiple collaborative microcontrollers," IEEE Network, vol. 32, no. 1, pp. 24-32, 2018.

F. H. Purwanto, E. Utami, and E. Pramono, "Design of server room temperature and humidity control system using fuzzy logic based on microcontroller," in 2018 International Conference on Information and Communications Technology (ICOIACT), 2018: IEEE, pp. 390-395.

R. Adhitya et al., "Comparison methods of Fuzzy Logic Control and Feed Forward Neural Network in automatic operating temperature and humidity control system (Oyster Mushroom Farm House) using microcontroller," in 2016 International Symposium on Electronics and Smart Devices (ISESD), 2016: IEEE, pp. 168-173.

I. Soesanti and R. Syahputra, “A Fuzzy Logic Controller Approach for Controlling Heat Exchanger Temperature,” Journal of Electrical Technology UMY, vol. 3, no. 4. Universitas Muhammadiyah Yogyakarta, 2019.

J. Devaraju, K. Suhas, H. Mohana, and V. A. Patil, "Wireless portable microcontroller based weather monitoring station," Measurement, vol. 76, pp. 189-200, 2015.

Y. Wang and Z. Chi, "System of wireless temperature and humidity monitoring based on Arduino Uno Platform," in 2016 Sixth International Conference on Instrumentation & Measurement, Computer, Communication and Control (IMCCC), 2016: IEEE, pp. 770-773.

P. Rewatkar, D. Nath, P. S. Kumar, M. E. Suss, and S. Goel, "Internet of Things enabled environmental condition monitoring driven by laser ablated reduced graphene oxide based Al-air fuel cell," Journal of Power Sources, vol. 521, p. 230938, 2022.

H.-C. Chen, K. T. Putra, S.-S. Tseng, C.-L. Chen, and J. C.-W. Lin, "A spatiotemporal data compression approach with low transmission cost and high data fidelity for an air quality monitoring system," Future Generation Computer Systems, vol. 108, pp. 488-500, 2020.



  • There are currently no refbacks.

Add comment

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.





Lisensi Creative Commons

Ciptaan disebarluaskan di bawah Lisensi Creative Commons Atribusi-BerbagiSerupa 4.0 Internasional.


Mailing Address:

Politeknik Negeri Lhokseumawe

Jl. Banda Aceh-Medan
Km. 280,3, Buketrata, Mesjid Punteut, Blang Mangat,
Kota Lhokseumawe, 24301

Propinsi Aceh,