Arduino and ESP8266 Based GPS and GSM Tracker with Bluetooth Connectivity
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates an Arduino UNO, an ESP8266 NodeMCU, an HC-05 Bluetooth Module, a SIM900A GSM Module, and a GPS NEO 6M Module. The Arduino UNO serves as the central microcontroller, interfacing with the other components to provide wireless communication, GPS tracking, and GSM functionalities.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
ESP8266 NodeMCU
- Description: A low-cost Wi-Fi microchip with full TCP/IP stack and microcontroller capability.
- Pins: D0, D1, D2, D3, D4, 3V3, GND, D5, D6, D7, D8, RX, TX, A0, RSV, SD3, SD2, SD1, CMD, SD0, CLK, EN, RST, VIN
HC-05 Bluetooth Module
- Description: A Bluetooth module for wireless communication.
- Pins: Key, VCC, TXD, RXD, State, GND
SIM900A GSM Module
- Description: A GSM/GPRS module for mobile communication.
- Pins: GND, DB9-3 (RXD), DB9-2 (TXD), 5V, 3VR, 5VR, 3VT, 5VT, VCC, Ring, RESTART, RESET, STATUS
GPS NEO 6M Module
- Description: A GPS module for satellite navigation.
- Pins: VCC, RX, TX, GND
Wiring Details
Arduino UNO
- 3.3V: Connected to ESP8266 NodeMCU 3V3
- 5V: Connected to HC-05 Bluetooth Module VCC
- GND: Connected to ESP8266 NodeMCU GND, GPS NEO 6M GND, HC-05 Bluetooth Module GND
- D12: Connected to HC-05 Bluetooth Module RXD
- D11: Connected to HC-05 Bluetooth Module TXD
- D10: Connected to SIM900A DB9-3 (RXD)
- D9: Connected to SIM900A DB9-2 (TXD)
- D5: Connected to GPS NEO 6M RX
- D4: Connected to GPS NEO 6M TX
- D3: Connected to ESP8266 NodeMCU RX
- D2: Connected to ESP8266 NodeMCU TX
ESP8266 NodeMCU
- 3V3: Connected to Arduino UNO 3.3V
- GND: Connected to Arduino UNO GND
- RX: Connected to Arduino UNO D3
- TX: Connected to Arduino UNO D2
HC-05 Bluetooth Module
- VCC: Connected to Arduino UNO 5V
- GND: Connected to Arduino UNO GND
- RXD: Connected to Arduino UNO D12
- TXD: Connected to Arduino UNO D11
SIM900A GSM Module
- DB9-3 (RXD): Connected to Arduino UNO D10
- DB9-2 (TXD): Connected to Arduino UNO D9
GPS NEO 6M Module
- GND: Connected to Arduino UNO GND
- RX: Connected to Arduino UNO D5
- TX: Connected to Arduino UNO D4
Documented Code
Arduino UNO Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This code is a basic template for the Arduino UNO. The setup() function runs once when the microcontroller is powered on or reset, and the loop() function runs continuously after the setup() function has completed. You can add your specific initialization and main code logic within these functions.