Suggestions on Home Warning System Wiring Diagram

Hello Arduino Community,

I am currently working on a Home Warning System project using various components, and I would appreciate any recommendations or feedback on the wiring diagram. This is a new project that me and my teammates will try to make after my other project beforehand.

Purpose: The Home Warning System is designed to enhance home safety by detecting fire, gas leaks, and motion. It will send alerts through a GSM module and sound an alarm using a Piezo buzzer. The components used in this project include an Arduino Uno, DHT22 sensor, MQ-2 gas sensor, ESP32-CAM, SIM900A GSM module, and a Piezo buzzer. The system aims to provide real-time alerts to homeowners in case of any hazards.

Wiring Diagram: Here is a brief overview of the connections:

  1. DHT22 Sensor:
  • VCC to 5V on Arduino
  • GND to GND on Arduino
  • DATA to digital pin 2 on Arduino
  1. MQ-2 Gas Sensor:
  • VCC to 5V on Arduino
  • GND to GND on Arduino
  • AO to analog pin A0 on Arduino
  1. ESP32-CAM:
  • 3V3 to the output of the 7805 voltage regulator (3.3V)
  • GND to GND on Arduino
  • TX to RX (Pin 0) on Arduino
  • RX to TX (Pin 1) on Arduino
  1. SIM900A GSM Module:
  • VCC-IN to 5V on Arduino
  • GND to GND on Arduino
  • TXD to SoftwareSerial RX (pin 7) on Arduino
  • RXD to SoftwareSerial TX (pin 8) on Arduino
  1. Piezo Buzzer:
  • Positive terminal to digital pin 9 on Arduino
  • Negative terminal to GND on Arduino
  1. Power Supply:
  • Battery pack connected to the 7805 voltage regulator
  • 7805 OUT to 3.3V rail
  • 7805 GND to GND rail

I have attached the schematic for reference. Could you please review the wiring diagram and provide any recommendations or improvements to ensure the system operates correctly?

Thank you in advance for your assistance!


A couple things jump out. A piezo buzzer can only be heard a few feet. Those batteries will not last long if you are streaming video especially with the esp32-CAM.

1 Like

Most people my age cannot hear piezo buzzers, even up close!

2 Likes

??? A 7805 regulates to 5V

1 Like

Your word description does not match what you have and is extremely difficult for me to follow. I highly recommend you get a free CAD (Computer Aided Design) program such as KiCad and do the annotated schematic properly. Your connections for example on Mod1 short out the power source drastically reducing battery life. Read the data sheet for the 7805 you have not implemented properly.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.