
The design, analysis, and hardware implementation of this controller are presented in this paper. This paper proposes a PLC-based home security controller based on the ladder logic programming model.

The PLC is a flexible, programmable, and robust digital device that can execute all logical and mathematical runtime functions of the I&C application and operate in harsh-critical environments. Examples of these applications are industrial automation and control systems, plant process safety protection systems, smart home systems and digital I&C systems embedded in nuclear power plants (NPPs) that require high levels of performance, reliability, and flexibility. Programmable logic controllers (PLCs) are increasingly being used to realize modern safety-critical instrumentation and control (I&C) applications.

Additionally, this innovative system is both cost-effective and affordable (total cost at the time of development was 110 USD). The developed applications were tested, and they were found to work efficiently and correctly. The graphical user interface was created using the RemoteXY website, which is a reliable website for this purpose. Herein, the definition, the graphical user interface, the required main components, and the control circuit connections are prepared and presented for each application. Five smart home applications were developed to control the lighting and electrical sockets, fan speed, temperature- and humidity-meter display/controls, as well as the fire-alarm and toxic-gas alarm systems. Bluetooth Module HC-06 was used to connect the Arduino Uno R3 with the mobile phone. During experimentation they were controlled via an Android mobile phone and the Arduino platform. In this paper, applications and systems for smart homes are investigated. Smart home automation is crucially beneficial for human life, particularly when considering those with disabilities, inpatients, and elderly populations. The ideal smart home could be automatically controlled using a variety of electronic tools and devices to perform everyday tasks.
