Welcome to the repository for my Arduino projects! This repository contains two essential projects for home automation and safety: a Door Control System with Temperature Monitoring and an LPG & Flame Detection System.
This repository contains Arduino-based projects designed to improve safety and automation in homes.
- Door Control System: A smart system featuring a keypad, LCD display, motion detection, and remote control via WiFi.
- LPG & Flame Detection System: Enhances safety by detecting gas leaks and fire hazards, triggering alarms and a water pump.
- Password-Protected Door Lock: Uses a servo motor to secure or unlock the door.
- Temperature Monitoring: Displays real-time temperature on an LCD screen.
- Motion Detection: Detects movement for additional security.
- WiFi Control: Operated remotely using the RemoteXY app.
- Door Control System Simulation Link
- LPG Leak Detection: Triggers an alarm for high gas concentration.
- Flame Detection: Activates a water pump and buzzer when a flame is detected.
- LPG & Flame Detection System Simulation Link
---
-
Hardware Components:
- Arduino UNO
- Keypad (4x4)
- LCD (I2C)
- Servo Motors
- Flame Sensor
- LPG Gas Sensor
- Temperature Sensor
- Motion Sensor
- Buzzer
- Water Pump
- WiFi Module (ESP8266)
-
Software Tools:
- Arduino IDE for coding and sketch uploading.
- RemoteXY for mobile app control.
- Libraries:
ServoKeypadLiquidCrystal_I2CRemoteXY
Combines security and automation into a single system for smart home applications.
- Servo-Based Door Lock: Opens or closes based on the correct password entered via the keypad.
- Temperature Monitoring: Displays live temperature data on the LCD.
- Remote Control: Operated wirelessly via the RemoteXY app.

Focuses on detecting hazards to ensure home safety.
- LPG Detection: Sounds an alarm if gas concentration exceeds a safe level.
- Flame Detection: Activates the water pump and buzzer when a fire is detected.
| Keypad Pin | Arduino Pin |
|---|---|
| Row 1 | Pin 13 |
| Row 2 | Pin 12 |
| Row 3 | Pin 11 |
| Row 4 | Pin 10 |
| Col 1 | Pin 9 |
| Col 2 | Pin 8 |
| Col 3 | Pin 7 |
| Col 4 | Pin 6 |
| Component | Arduino Pin |
|---|---|
| Door Servo | Pin 3 |
| Motion Servo | Pin 5 |
| Temperature Sensor | A2 |
| Motion Sensor | Pin 4 |
| LCD (SDA, SCL) | A4, A5 |
| Component | Arduino Pin |
|---|---|
| LPG Sensor | A1 |
| Flame Sensor | A5 |
| Buzzer | Pin 7 |
| Pump | Pin 2 |
- Clone the repository:
git clone https://github.com/kawshik-ornob8/Iot-Smart_home-Prroject
- Open the respective project folder in the Arduino IDE:
door_control_system/door_control.inolpg_flame_detection/lpg_flame.ino
- Install the necessary libraries from the Arduino Library Manager:
ServoKeypadLiquidCrystal_I2CRemoteXY
- Connect the components according to the circuit diagrams provided.
- Connect your Arduino UNO to the computer using a USB cable.
- Open the appropriate
.inofile in the Arduino IDE. - Select the correct Board and Port under the Tools menu.
- Click the Upload button in the Arduino IDE to upload the code to the board.
- Test the system functionality.