ESP32-Based Health and Location Tracker with GPS and Heart Rate Monitoring
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
The circuit in question is designed to interface an ESP32 microcontroller with several peripheral devices, including an MPU-6050 motion sensor, a Heart Pulse Sensor, a Neo 6M GPS Module, and a Pilot Lamp (Red). The circuit is powered by a 12V battery. The ESP32 serves as the central processing unit, collecting data from the sensors, receiving GPS signals, and potentially driving the Pilot Lamp. The MPU-6050 is connected via I2C to the ESP32, while the Heart Pulse Sensor and GPS Module are connected to specific GPIO pins. The Pilot Lamp indicates the status or certain conditions of the system. All components share a common ground, and the power from the battery is regulated to the appropriate levels for each component.
Component List
ESP32
- Description: A microcontroller with Wi-Fi and Bluetooth capabilities.
- Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, VIN, 3V3, D15, D2, D4, RX2, TX2, D5, D18, D19, D21, RX0, TX0, D22, D23, BOOT
MPU-6050
- Description: A motion tracking device that contains a MEMS accelerometer and a MEMS gyro in a single chip.
- Pins: VCC, GND, SCL, SDA, XDA, XCL, AD0, INT
Heart Pulse Sensor
- Description: A sensor that measures the heart rate of an individual.
- Pins: GND, VCC, SIGNAL
Neo 6M GPS Module
- Description: A GPS receiver module for obtaining geographical position.
- Pins: GND, TX, RX, VCC
Pilot Lamp Red
- Description: An indicator lamp that lights up red.
- Pins: X1, X2
Battery 12V
- Description: A 12-volt battery providing power to the circuit.
- Pins: +, -
Wiring Details
ESP32
- D34 connected to Heart Pulse Sensor SIGNAL
- GND connected to common ground net
- VIN connected to common power net (from battery 12V +)
- RX2 connected to Neo 6M GPS Module TX
- TX2 connected to Neo 6M GPS Module RX
- D21 (SDA) connected to MPU-6050 SDA
- D22 (SCL) connected to MPU-6050 SCL
MPU-6050
- VCC connected to common power net
- GND connected to common ground net
- SDA connected to ESP32 D21
- SCL connected to ESP32 D22
Heart Pulse Sensor
- SIGNAL connected to ESP32 D34
- VCC connected to common power net
- GND connected to common ground net
Neo 6M GPS Module
- RX connected to ESP32 TX2
- TX connected to ESP32 RX2
- VCC connected to common power net
- GND connected to common ground net
Pilot Lamp Red
- X1 connected to common power net
- X2 connected to common ground net
Battery 12V
-
- connected to common power net
-
- connected to common ground net
Documented Code
No code has been provided for the microcontrollers in the circuit. When code becomes available, it should be documented here with explanations for each function and routine, including setup and loop functions for the ESP32, as well as any interrupt service routines or additional functions used to interface with the MPU-6050, Heart Pulse Sensor, and Neo 6M GPS Module.