Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO-Based GPS and GSM-Enabled Vibration Sensor System with Motor Control

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based GPS and GSM-Enabled Vibration Sensor System with Motor Control

Circuit Documentation

Summary

This circuit integrates various components including a Sim800l GSM module, a Neo 6M GPS module, an Arduino UNO, an Adafruit ADXL345 accelerometer, an SW-420 vibration sensor, a 5V battery, a motor driver, two DC motors, a 2-pin push switch, and a buzzer. The Arduino UNO serves as the central microcontroller, interfacing with the other components to perform tasks such as GPS data acquisition, vibration sensing, motor control, and GSM communication.

Component List

Sim800l

Neo 6M GPS Module

Arduino UNO

Adafruit ADXL345

SW-420 Vibration Sensor

5V Battery

Motor Driver

DC Motor

2Pin Push Switch

Buzzer

Wiring Details

Sim800l

Neo 6M GPS Module

Arduino UNO

Adafruit ADXL345

SW-420 Vibration Sensor

5V Battery

Motor Driver

DC Motor

DC Motor

2Pin Push Switch

Buzzer

Documented Code

void setup() {
  // تهيئة الاتصال التسلسلي
  Serial.begin(9600);

  // تهيئة الدبابيس
  pinMode(1, OUTPUT); // RXD في Sim800l
  pinMode(0, INPUT);  // TXD في Sim800l
  pinMode(2, INPUT);  // TX في GPS
  pinMode(3, OUTPUT); // RX في GPS
  pinMode(4, INPUT);  // مستشعر الاهتزاز
  pinMode(5, OUTPUT); // الجرس
  pinMode(6, OUTPUT); // محرك السائق
  pinMode(7, OUTPUT); // محرك السائق
  pinMode(8, OUTPUT); // محرك السائق
  pinMode(9, OUTPUT); // محرك السائق
  pinMode(10, INPUT); // مفتاح الضغط
}

void loop() {
  // مثال: قراءة من GPS وإرسال عبر Sim800l
  if (Serial.available() > 0) {
    String gpsData = Serial.readString();
    Serial.println(gpsData); // إرسال البيانات إلى Sim800l
  }

  // مثال: التحقق من مستشعر الاهت