การพัฒนาระบบควบคุมบ้านอัจฉริยะต้นทุนต่ำบนสถาปัตยกรรมอินเทอร์เน็ตของสรรพสิ่งด้วย Raspberry Pi และ Node-RED Dashboard
Main Article Content
Abstract
This research aimed to design and develop a low-cost smart home control system prototype based on Internet of Things architecture using Raspberry Pi 3 as the main control unit and Node-RED Dashboard as the user interface. The system was designed to control household electrical devices, monitor environmental conditions, and display real-time data. The developed prototype consisted of a DHT11 sensor for temperature and humidity measurement, an OLED display for local data visualization, four LEDs for simulating lighting control, a DC motor for simulating a ventilation fan, a servo motor for simulating door opening and closing, and a Maker Drive module for motor control. The research methodology included system architecture design, hardware integration, Node-RED Dashboard development, and control flow implementation. The system was then evaluated in three aspects: device control through the dashboard, environmental data measurement and display, and automatic fan control based on temperature conditions. The experimental results showed that the system could accurately control all four LEDs and operate the simulated door through the servo motor according to user commands. The system was also able to read temperature and humidity values from the DHT11 sensor and continuously display the data through both the Node-RED Dashboard and OLED display. In addition, the simulated fan was activated when the temperature exceeded 30°C and stopped when the temperature decreased to 30°C or below. The findings indicate that Raspberry Pi 3 and Node-RED Dashboard can be effectively applied to develop a low-cost smart home control system at the prototype level. The proposed system is suitable for use as a learning platform for IoT, embedded systems, and basic automatic control applications.
Keywords: Smart home prototype model, Internet of Things, Raspberry Pi, Node-RED Dashboard, Low-cost control system
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
References
Cui, J., Du, Z., Liu, K., & Cao, J. (2023). The simulation design of smart home system based on Internet of Things. Journal of Cyber Security and Mobility, 23(6). https://doi.org/10.3233/JCM-226995
Kim, H. (2023). Machine learning-based cost-effective smart home data analysis and forecasting for energy saving. Buildings, 13(9), 2397. https://doi.org/10.3390/buildings13092397
Raspberry Pi Ltd. (n.d.). Raspberry Pi 3 Model B. Raspberry Pi. https://www.raspberrypi.com/products/raspberry-pi-3-model-b/
OpenJS Foundation. (n.d.). Node-RED: Low-code programming for event-driven applications. Node-RED. https://www.node-red.dev/
Stolojescu-Crisan, C., Crisan, C., & Butunoi, B.-P. (2021). An IoT-based smart home automation system. Sensors, 21(11), 3784. https://doi.org/10.3390/s21113784
Yar, H., Imran, A. S., Khan, Z. A., Sajjad, M., & Kastrati, Z. (2021). Towards smart home automation using IoT-enabled edge-computing paradigm. Sensors, 21(14), 4932. https://doi.org/10.3390/s21144932
Thomas, L., MV, M. K., SL, S. D., & BS, P. (2023). Towards comprehensive home automation: Leveraging the IoT, Node-RED, and wireless sensor networks for enhanced control and connectivity. Engineering Proceedings, 59(1), 173. https://doi.org/10.3390/engproc2023059173
Chen, C.-Y., Wu, S.-H., Huang, B.-W., Huang, C.-H., & Yang, C.-F. (2024). Web-based Internet of Things on environmental and lighting control and monitoring system using Node-RED, MQTT and Modbus communications within embedded Linux platform. Internet of Things, 27, 101305. https://doi.org/10.1016/j.iot.2024.101305
lam, T., Rokonuzzaman, M., Sarker, S., Abadin, A. F. M. Z., Debnath, T., & Hossain, M. I. (2024). Internet of Things-based home automation with network mapper and MQTT protocol. Computers and Electrical Engineering, 120, 109807. https://doi.org/10.1016/j.compeleceng.2024.109807
Bahmanyar, D., Razmjooy, N., & Mirjalili, S. (2022). Multi-objective scheduling of IoT-enabled smart homes for energy management based on Arithmetic Optimization Algorithm: A Node-RED and NodeMCU module-based technique. Knowledge-Based Systems, 247, 108762. https://doi.org/10.1016/j.knosys.2022.108762
La Tona, G., Luna, M., Di Piazza, A., & Di Piazza, M. C. (2019). Towards the real-world deployment of a smart home EMS: A DP implementation on the Raspberry Pi. Applied Sciences, 9(10), 2120. https://doi.org/10.3390/app9102120
Irugalbandara, C., Naseem, A. S., Perera, S., Kiruthikan, S., & Logeeshan, V. (2023). A secure and smart home automation system with speech recognition and power measurement capabilities. Sensors, 23(13), 5784. https://doi.org/10.3390/s23135784