Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

ESP32-Based Safety and Tracking System with GSM and GPS

Image of ESP32-Based Safety and Tracking System with GSM and GPS

Circuit Documentation

Summary

The circuit in question appears to be a multifunctional system incorporating various sensors, communication modules, and a microcontroller. The central component of the circuit is an ESP32 microcontroller, which interfaces with a range of peripherals including an MQ-3 alcohol sensor, a buzzer module, a light-dependent resistor (LDR), a 5V relay module, an LCD display with I2C interface, a SIM800L GSM module, and a GPS NEO 6M module. Power management is handled by a step-down module that converts 12V input to 5V output, and a 12V battery provides the power source. The circuit is designed for monitoring, data acquisition, and communication purposes.

Component List

12v Battery

  • Description: Provides the power source for the circuit.

ESP32 - 38 pins

  • Description: A microcontroller with Wi-Fi and Bluetooth capabilities, serving as the central processing unit of the circuit.

Step down Module

  • Description: Converts the 12V input from the battery to a 5V output used by various components in the circuit.

Terminal PCB 2 Pin

  • Description: A simple two-pin terminal used for connecting the battery to the step-down module.

1 Channel 5V Relay Module

  • Description: An electromechanical switch that allows the ESP32 to control high power devices.

MQ-3 Breakout

  • Description: A gas sensor module for detecting alcohol vapors in the air.

Buzzer Module

  • Description: An audio signaling device that can be controlled by the ESP32.

LCD I2C Display

  • Description: A display module with an I2C interface for showing information.

LDR

  • Description: A light-dependent resistor that changes resistance based on light intensity.

Sim800l

  • Description: A GSM/GPRS module that allows the circuit to communicate over cellular networks.

GPS NEO 6M

  • Description: A GPS module for obtaining geographical location data.

ESP32 - CAM

  • Description: A camera module that can be used for capturing images and video.

Wiring Details

12v Battery

  • - connected to Terminal PCB 2 Pin (Pin B) and Step down Module (GND)
  • + connected to Terminal PCB 2 Pin (Pin A) and Step down Module (12v IN+)

ESP32 - 38 pins

  • 3V3 (Not connected)
  • EN (Not connected)
  • SP (Not connected)
  • SN (Not connected)
  • G34 connected to MQ-3 Breakout (AO)
  • G35 connected to Buzzer Module (I/O)
  • G32 connected to LDR (A0)
  • G33 connected to 1 Channel 5V Relay Module (IN)
  • GND connected to various GND pins of other components
  • 5V connected to various VCC pins of other components
  • G23 connected to LCD I2C Display (SDA)
  • G22 connected to LCD I2C Display (SCL)
  • TXD connected to GPS NEO 6M (TX)
  • RXD connected to GPS NEO 6M (RX)
  • G19 connected to Sim800l (RXD)
  • G18 connected to Sim800l (TXD)
  • Other pins (Not connected)

Step down Module

  • 24v IN+ (Not connected)
  • GND connected to 12v Battery (-) and Terminal PCB 2 Pin (Pin B)
  • 12v IN+ connected to 12v Battery (+) and Terminal PCB 2 Pin (Pin A)
  • 5v OUT+ connected to various VCC pins of other components
  • 5v OUT- connected to various GND pins of other components

Terminal PCB 2 Pin

  • Pin A connected to 12v Battery (+) and Step down Module (12v IN+)
  • Pin B connected to 12v Battery (-) and Step down Module (GND)

1 Channel 5V Relay Module

  • VCC+ connected to Step down Module (5v OUT+)
  • VCC- (GND) connected to Step down Module (5v OUT-)
  • IN connected to ESP32 (G33)
  • N.O. (Not connected)
  • COM (Not connected)
  • N.C. (Not connected)

MQ-3 Breakout

  • VCC connected to Step down Module (5v OUT+)
  • GND connected to Step down Module (5v OUT-)
  • DO (Not connected)
  • AO connected to ESP32 (G34)

Buzzer Module

  • GND connected to Step down Module (5v OUT-)
  • Vcc connected to Step down Module (5v OUT+)
  • I/O connected to ESP32 (G35)

LCD I2C Display

  • GND connected to Step down Module (5v OUT-)
  • VCC connected to Step down Module (5v OUT+)
  • SDA connected to ESP32 (G23)
  • SCL connected to ESP32 (G22)

LDR

  • A0 connected to ESP32 (G32)
  • D0 (Not connected)
  • GND connected to Step down Module (5v OUT-)
  • VCC connected to Step down Module (5v OUT+)

Sim800l

  • NET (Not connected)
  • RST (Not connected)
  • VCC connected to Step down Module (5v OUT+)
  • RXD connected to ESP32 (G19)
  • TXD connected to ESP32 (G18)
  • GND connected to Step down Module (5v OUT-)

GPS NEO 6M

  • VCC connected to Step down Module (5v OUT+)
  • RX connected to ESP32 (RXD)
  • TX connected to ESP32 (TXD)
  • GND connected to Step down Module (5v OUT-)

ESP32 - CAM

  • (Wiring details not provided)

Documented Code

No code has been provided for the microcontrollers in the circuit. The documentation of the code would typically include descriptions of the functionality implemented, setup and loop functions for Arduino-based microcontrollers, function definitions, and any libraries used. Since no code is available, this section cannot be completed.