Project Overview
This report details a security system for monitoring a designated area. It utilizes an Arduino Nano as the central controller, an ESP32-CAM for image capture, a SIM800L GSM module for SMS notification, a PIR motion sensor for triggering alerts, and a 3.7V Li-Ion battery for power supply. Upon detecting motion, the system captures an image with the ESP32-CAM, sends an SMS alert to a predefined mobile number, and uploads the captured image with a timestamp to a Google Sheet.
Components
- Arduino Nano
- ESP32-CAM Module
- SIM800L GSM Module
- PIR Motion Sensor
- Jumper Wires
- Breadboard (Optional)
- TP4056 Li-Ion Battery Charging Module
- MT3608 Boost Converter (3.7V to 5V)
- 3.7V Li-Ion Battery
- SIM Card (for GSM Module)
- Google Sheet
System Functionality
- Motion Detection: The PIR motion sensor continuously monitors the designated area. When motion is detected, the sensor sends a signal to the Arduino Nano.
- Triggering Actions:
- The Arduino Nano receives the signal from the motion sensor.
- It triggers the ESP32-CAM to capture an image.
- The Arduino Nano sends an SMS alert with a predefined message (e.g., “Motion detected!”) to the designated mobile number using the SIM800L GSM module.
- Image Upload:
- The ESP32-CAM captures an image upon receiving the trigger from the Arduino Nano.
- The ESP32-CAM code uploads the captured image along with a timestamp to a designated Google Sheet.
Benefits
- Real-time Monitoring: The system provides real-time alerts and visual verification of motion detection events.
- Remote Notification: SMS alerts keep you informed about any activity in the monitored area, even when you’re not physically present.
- Data Logging: Captured images with timestamps are uploaded to a Google Sheet for easy access and record-keeping.
- Portable Design: Li-Ion battery operation makes the system portable and suitable for various locations.
Implementation
- Hardware Connections:
-
- Connect the motion sensor to the Arduino Nano according to the sensor’s datasheet.
- Connect the ESP32-CAM, GSM module, and boost converter to the Arduino Nano, following their respective pinout diagrams.
- Ensure proper connections between the battery, TP4056 charging module, MT3608 boost converter, and Arduino Nano.
- Software Development:
- Develop the Arduino Nano code to:
- Read the motion sensor signal.
- Trigger the ESP32-CAM for image capture.
- Send SMS alerts using the GSM library for the SIM800L module.
- Develop the ESP32-CAM code to:
- Capture an image upon receiving a trigger signal.
- Utilize libraries like “WiFi” and “HTTPClient” to connect to Google Sheets API.
- Upload the captured image with a timestamp to a designated Google Sheet.
- Develop the Arduino Nano code to:
- Google Sheet Setup:
- Create a Google Sheet and configure it for receiving image data and timestamps.
- Utilize Google Apps Script or a third-party library for ESP32-CAM to interact with the Google Sheets API.
Report Sections
- Introduction: Briefly describe the project’s purpose and functionalities.
- Components: List the hardware and software components used.
- System Design: Explain the system architecture, including hardware connections, power management with Li-Ion battery and boost converter, and data flow.
- Software Development: Provide an overview of the code functionalities for Arduino Nano and ESP32-CAM.
- Google Sheet Integration: Explain how the captured image and timestamp are uploaded to Google Sheets.
- Testing and Results: Describe the testing procedures and expected outcomes.
- Conclusion: Summarize the project’s achievements and potential applications.
- Future Improvements: Discuss potential enhancements and functionalities for the system.
Report Sections
- Introduction: Briefly describe the project’s purpose and functionalities.
- Components: List the hardware and software components used.
- System Design: Explain the system architecture, including hardware connections, power management with Li-Ion battery and boost converter, and data flow.
- Software Development: Provide an overview of the code functionalities for Arduino Nano and ESP32-CAM.
- Google Sheet Integration: Explain how the captured image and timestamp are uploaded to Google Sheets.
- Testing and Results: Describe the testing procedures and expected outcomes.
- Conclusion: Summarize the project’s achievements and potential applications.
- Future Improvements: Discuss potential enhancements and functionalities for the system.
Additional Considerations
- Power Management:
- The MT3608 boost converter ensures the Arduino Nano receives a stable 5V supply.
- Include low-power modes for the Arduino and ESP32-CAM in the code to optimize battery life.
- Security: Secure the GSM module communication with proper authentication and encryption techniques.
- User Interface: Consider developing a web interface or mobile app for real-time monitoring and system control (optional).
Reviews
There are no reviews yet.