This project demonstrates a smart home control system using Arduino and NodeMCU. The system allows you to remotely control lights, doors, windows, and monitor humidity through a web interface.
- Control the state of lights, doors, and windows remotely.
- Monitor humidity levels in your environment.
- User authentication for door access.
- Real-time updates on the web interface.
- Arduino Uno (for remote control and NODEMCU communication)
- NodeMCU (for web interface and control)
- Servo Motors (for door and window control)
- Light Sensors
- Humidity Sensor
- LEDs (for simulating lights)
- Keypad (for password input)
- Water Level Sensor (for safety feature)
The Arduino code handles door control, water level monitoring, keypad input, and servo motor control. See the Arduino.ino
file for the complete code.
The NodeMCU code implements the web interface, enabling remote control and monitoring. It also handles communication between Arduino and the web interface. See the NodeMCU.ino
file for the complete code.
The web interface is designed using HTML, CSS, and JavaScript. The interface provides control buttons for lights, doors, and window, along with real-time humidity and brightness monitoring. The code of the document is available within NodeMCU.ino
file.
- Upload the Arduino code to your Arduino Uno.
- Upload the NodeMCU code to your NodeMCU.
- Assemble the hardware components.
- Connect to NodeMCU access point.
- Access the web interface by entering the NodeMCU's IP address
192.168.1.1
in a web browser. - Use the web interface to control lights, doors, and windows, and monitor humidity levels.