Arduino Mega 2560 and GSM Module SIM900A Based Remote Monitoring System with MPU-6050
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that integrates an Arduino Mega 2560 microcontroller, a GSM Module SIM900A, and an MPU-6050 sensor. The circuit is designed to facilitate communication between the microcontroller and the GSM module, as well as to read sensor data from the MPU-6050.
Component List
Arduino Mega 2560
- Description: A microcontroller board based on the ATmega2560.
- Pins: IOREF, RESET, 3V3, 5V, GND, VIN, A0-A15, D0-D53, AREF, SDA, SCL
GSM Module SIM900A
- Description: A GSM module used for communication over a cellular network.
- Pins: GND, TXD, RXD, +12V
MPU-6050
- Description: A 6-axis motion tracking device that combines a 3-axis gyroscope and a 3-axis accelerometer.
- Pins: VCC, GND, SCL, SDA, XDA, XCL, AD0, INT
Wiring Details
Arduino Mega 2560
GND is connected to:
- GSM Module SIM900A (GND)
- MPU-6050 (GND)
D19/RX1 is connected to:
- GSM Module SIM900A (TXD)
D18/TX1 is connected to:
- GSM Module SIM900A (RXD)
5V is connected to:
- MPU-6050 (VCC)
D21/SCL is connected to:
- MPU-6050 (SCL)
D20/SDA is connected to:
- MPU-6050 (SDA)
GSM Module SIM900A
GND is connected to:
- Arduino Mega 2560 (GND)
TXD is connected to:
- Arduino Mega 2560 (D19/RX1)
RXD is connected to:
- Arduino Mega 2560 (D18/TX1)
MPU-6050
VCC is connected to:
- Arduino Mega 2560 (5V)
GND is connected to:
- Arduino Mega 2560 (GND)
SCL is connected to:
- Arduino Mega 2560 (D21/SCL)
SDA is connected to:
- Arduino Mega 2560 (D20/SDA)
Code Documentation
Arduino Mega 2560 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 Mega 2560. The setup function is where you initialize your settings, and the loop function is where the main code runs repeatedly.
Additional Documentation
This section is reserved for any additional documentation that may be required for the project. Currently, it is empty.