Smart Automation for Residential Spaces with PLC-ESP32 Architecture
This paper presents the design, development, and testing of a smart home automation system that integrates a Siemens LOGO! programmable logic controller (PLC) with an ESP32 microcontroller to enable dual-mode control—manual and voice-activated. The system automates essential home functions such as lighting, irrigation, gate control, and ventilation. Through the use of the fauxmoESP library, the ESP32 communicates with Amazon Alexa, converting voice commands into GPIO signals interpreted by the PLC. Manual control is retained via pushbuttons, ensuring operational redundancy in case of network or hardware failure. The system architecture includes optocouplers and relays to ensure voltage compatibility and device protection between the 3.3 V microcontroller and the 12–24 V PLC inputs. Functional tests revealed a 100% success rate in manual operations and over 95% in voice-controlled actions, with notable differences in response times. A cost breakdown and risk analysis are also included to assess feasibility and sustainability. This prototype highlights a practical, low-cost solution for residential automation, with scalability potential for broader smart home applications and educational or industrial implementations.
Authors
- M. Villegas (ORCID: https://orcid.org/0009-0001-4877-1993)
- José Luis Arévalo (ORCID: https://orcid.org/0009-0003-5893-800X)
- Alan Cuenca Sánchez (ORCID: https://orcid.org/0000-0003-2533-0850)
- Angélica Quito (ORCID: https://orcid.org/0009-0003-4485-2088)
- Pablo Proaño (ORCID: https://orcid.org/0000-0002-6902-7151)
- Ronald Pillajo (ORCID: https://orcid.org/0009-0001-3948-1038)
- Edgar David Paredes (ORCID: https://orcid.org/0009-0000-0934-0608)
Institutions
- Universidad Internacional del Ecuador (EC)
- National Polytechnic School (EC)
Publication Details
- Published
- 2025-11-15
- DOI
- https://doi.org/10.3390/engproc2025115007
- Primary Topic
- IoT-based Smart Home Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00