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

ESP32 and Arduino UNO Based GPS-Enabled Battery-Powered Smart Relay System

View and Edit Project In Cirkit DesignerImage of ESP32 and Arduino UNO Based GPS-Enabled Battery-Powered Smart Relay System

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that integrates an ESP32 microcontroller, an Arduino UNO, a GPS module, a servo motor, a relay, a solenoid, a step-down voltage regulator, and power sources including 18650 Li-ion batteries and a solar charger power bank. The circuit is designed to perform various functions, including GPS tracking, servo control, and relay switching.

Component List

  1. ESP32 (30 pin)

    • Description: A powerful microcontroller with built-in Wi-Fi and Bluetooth capabilities.
    • Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
  2. Arduino UNO

    • Description: A popular 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
  3. GPS NEO 6M

    • Description: A GPS module used for tracking and navigation.
    • Pins: VCC, RX, TX, GND
  4. Regulator Stepdown DC with LCD Display

    • Description: A step-down voltage regulator with an LCD display for monitoring output voltage.
    • Pins: IN +, IN -, OUT +, OUT -
  5. 18650 Li-ion Battery x 2

    • Description: Rechargeable lithium-ion batteries.
    • Pins: +, -
  6. 5v relay

    • Description: A relay module used for switching high-power devices.
    • Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
  7. Solar Charger Power Bank

    • Description: A power bank with solar charging capabilities.
    • Pins: +, -
  8. Power Jack

    • Description: A power jack for connecting external power sources.
    • Pins: POSITIF, NEGATIF
  9. Micro USB to Cable (2 Pin)

    • Description: A micro USB to 2-pin cable for power connections.
    • Pins: Micro USB, +, -
  10. Servo

    • Description: A servo motor for precise control of angular position.
    • Pins: GND, VCC, PWM
  11. Solenoid

    • Description: An electromechanical solenoid for linear actuation.
    • Pins: pin1, pin2

Wiring Details

ESP32 (30 pin)

Arduino UNO

GPS NEO 6M

Regulator Stepdown DC with LCD Display

18650 Li-ion Battery x 2

5v relay

Solar Charger Power Bank

Power Jack

Micro USB to Cable (2 Pin)

Servo

Solenoid

Documented Code

Arduino UNO Code (sketch.ino)

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Additional Documentation (documentation.txt)

This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and documented code.