ESP32-Based GPS Tracker with Vibration Sensing and LED Indicator
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
The circuit in question is designed to interface an ESP32 microcontroller with a GPS module (GPS NEO 6M), a motion sensor (MPU-6050), a vibration sensor (SW-420), and an LED indicator. The ESP32 serves as the central processing unit, handling sensor data and controlling the LED based on input from the sensors. The GPS module provides location data, the MPU-6050 provides motion tracking, and the SW-420 detects vibrations. The LED acts as a simple output that can be used to indicate status or alerts.
Component List
ESP32 (30 pin)
- Description: A microcontroller with Wi-Fi and Bluetooth capabilities, featuring a wide range of GPIO pins.
- Purpose: Acts as the central processing unit for the circuit, interfacing with sensors and controlling the LED.
GPS NEO 6M
- Description: A GPS module capable of providing accurate geographical location data.
- Purpose: Supplies the ESP32 with location data for tracking purposes.
MPU-6050
- Description: A motion tracking device that contains a 3-axis gyroscope and a 3-axis accelerometer.
- Purpose: Provides the ESP32 with motion tracking data.
SW-420 Vibration Sensor
- Description: A sensor that detects vibrations and outputs a digital signal.
- Purpose: Used to detect vibrations and send alerts to the ESP32.
LED: Two Pin (red)
- Description: A basic two-pin LED.
- Purpose: Serves as an indicator light, controlled by the ESP32.
Wiring Details
ESP32 (30 pin)
- Vin: Connected to the VCC of the SW-420 Vibration Sensor, GPS NEO 6M, and MPU-6050.
- GND: Common ground with SW-420 Vibration Sensor, GPS NEO 6M, MPU-6050, and the cathode of the LED.
- D26: Connected to the digital output of the SW-420 Vibration Sensor.
- D22: Connected to the SCL pin of the MPU-6050.
- TX0: Connected to the RX pin of the GPS NEO 6M.
- RX0: Connected to the TX pin of the GPS NEO 6M.
- D21: Connected to the SDA pin of the MPU-6050.
- D18: Connected to the anode of the LED.
GPS NEO 6M
- VCC: Powered by the Vin pin of the ESP32.
- RX: Receives data from the TX0 pin of the ESP32.
- TX: Transmits data to the RX0 pin of the ESP32.
- GND: Common ground with the ESP32.
MPU-6050
- VCC: Powered by the Vin pin of the ESP32.
- GND: Common ground with the ESP32.
- SCL: Connected to the D22 pin of the ESP32.
- SDA: Connected to the D21 pin of the ESP32.
SW-420 Vibration Sensor
- vcc: Powered by the Vin pin of the ESP32.
- Ground: Common ground with the ESP32.
- Digital output: Connected to the D26 pin of the ESP32.
LED: Two Pin (red)
- cathode: Connected to the common ground of the ESP32.
- anode: Connected to the D18 pin of the ESP32.
Documented Code
No code has been provided for the microcontrollers in the circuit. The documentation of the code would typically include a description of the functionality, setup, and main loop, along with any functions or libraries used. Since no code is available, this section cannot be completed.