Solar-Powered GPS and GSM Controlled DC Motor System with ESP32
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes various components such as a DC motor, SIM900A GSM module, LM2956 Buck Converter, Solar Panel, Relay Module, GPS NEO 6M, L298N DC motor driver, Li-ion battery, CN3065 Solar Charge controller, and an ESP32 microcontroller. The circuit is designed to integrate these components to achieve a specific functionality, which involves power management, motor control, and communication capabilities.
Component List
DC Motor
- Pins: pin 1, pin 2
- Description: A motor that converts electrical energy into mechanical motion.
- Purpose: Used for driving mechanical components.
SIM900A
- Pins: GND, DB9-3 (RXD), DB9-2 (TXD), 5V, 3VR, 5VR, 3VT, 5VT, VCC, Ring, RESTART, RESET, STATUS
- Description: A GSM module for communication.
- Purpose: Provides GSM communication capabilities.
LM2956 Buck Converter DC-DC
- Pins: OUT+, OUT-, IN+, IN-
- Description: A DC-DC buck converter.
- Purpose: Converts higher DC voltage to a lower DC voltage.
Solar Panel
- Pins: +, -
- Description: A solar panel for energy harvesting.
- Purpose: Converts solar energy into electrical energy.
1 Channel 5V Relay Module
- Pins: VCC+, VCC- (GND), IN, N.O., COM, N.C.
- Description: A relay module for switching.
- Purpose: Used to control high voltage devices with a low voltage signal.
GPS NEO 6M
- Pins: VCC, RX, TX, GND
- Description: A GPS module for location tracking.
- Purpose: Provides GPS location data.
L298N DC motor driver
- Pins: OUT1, OUT2, 12V, GND, 5V, OUT3, OUT4, 5V-ENA-JMP-I, 5V-ENA-JMP-O, +5V-J1, +5V-J2, ENA, IN1, IN2, IN3, IN4, ENB
- Description: A motor driver for controlling DC motors.
- Purpose: Drives the DC motor.
Li-ion 5000mah
- Pins: 11.1V, GND
- Description: A rechargeable Li-ion battery.
- Purpose: Provides power to the circuit.
CN3065 Solar Charge
- Pins: SOLAR +, SOLAR -, BAT +, SYS -, SYS +, BAT -
- Description: A solar charge controller.
- Purpose: Manages the charging of the battery from the solar panel.
ESP32 38 PINS
- Pins: GND, 23, 22/SCL, 1, 2, 21/SDA, 19, 18, 5, 17/TX2, 16/RX2, 4, 0, 15, D1, D0, CLK, 3V3, EN, VP, VN, 34, 35, 32, 33, 25, 26, 27, 14, 12, 13, D2, D3, 11, 5V/VIN
- Description: A microcontroller with Wi-Fi and Bluetooth capabilities.
- Purpose: Acts as the main controller for the circuit.
Wiring Details
DC Motor
- pin 1 connected to L298N DC motor driver OUT4
- pin 2 connected to L298N DC motor driver OUT3
SIM900A
- GND connected to ESP32 38 PINS GND
- DB9-3 (RXD) connected to ESP32 38 PINS 17/TX2
- DB9-2 (TXD) connected to ESP32 38 PINS 16/RX2
- 5V connected to 1 Channel 5V Relay Module VCC+
LM2956 Buck Converter DC-DC
- IN- connected to ESP32 38 PINS GND
- OUT- connected to ESP32 38 PINS GND
- OUT+ connected to L298N DC motor driver 5V
- IN+ connected to CN3065 Solar Charge BAT +
Solar Panel
- + connected to CN3065 Solar Charge SOLAR +
- - connected to CN3065 Solar Charge SOLAR -
1 Channel 5V Relay Module
- VCC+ connected to GPS NEO 6M VCC
- VCC- (GND) connected to ESP32 38 PINS GND
- IN connected to ESP32 38 PINS 13
GPS NEO 6M
- VCC connected to 1 Channel 5V Relay Module VCC+
- RX connected to ESP32 38 PINS 1
- TX connected to ESP32 38 PINS 2
- GND connected to ESP32 38 PINS GND
L298N DC motor driver
- GND connected to ESP32 38 PINS GND
- 5V connected to LM2956 Buck Converter DC-DC OUT+
- 12V connected to LM2956 Buck Converter DC-DC OUT+
- OUT3 connected to DC Motor pin 2
- OUT4 connected to DC Motor pin 1
Li-ion 5000mah
- 11.1V connected to CN3065 Solar Charge BAT +
- GND connected to ESP32 38 PINS GND
CN3065 Solar Charge
- SOLAR + connected to Solar Panel +
- SOLAR - connected to Solar Panel -
- BAT + connected to Li-ion 5000mah 11.1V
- BAT - connected to ESP32 38 PINS GND
ESP32 38 PINS
- GND connected to 1 Channel 5V Relay Module VCC- (GND)
- 5V/VIN connected to L298N DC motor driver 5V
- 13 connected to 1 Channel 5V Relay Module IN
- 17/TX2 connected to SIM900A DB9-3 (RXD)
- 16/RX2 connected to SIM900A DB9-2 (TXD)
- 1 connected to GPS NEO 6M RX
- 2 connected to GPS NEO 6M TX
Code
No code is provided for this circuit.
This document provides a comprehensive overview of the circuit, including a summary, component list, wiring details, and code documentation. Each component is described in detail, and the wiring connections are clearly outlined to ensure proper assembly and functionality of the circuit.