Arduino Nano-Based Weather Monitoring System with GPS and GSM Capabilities
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit integrates various components to perform multiple functions. It includes an Arduino Nano as the central microcontroller, interfacing with a GPS module, a GSM module (SIM800L), a rain sensor, a buzzer, an ultrasonic sensor (HC-SR04), a step-down power converter, a battery, a pushbutton, and a resistor. The Arduino Nano communicates with the GPS module for location tracking and the GSM module for cellular connectivity. The rain sensor provides environmental input, while the buzzer and ultrasonic sensor serve as output and distance measurement devices, respectively. The pushbutton acts as a user input, and the resistor is used for current limiting or voltage division. The step-down converter and battery provide power management for the circuit.
Component List
Arduino Nano
- Microcontroller board based on the ATmega328P
- Pins: D1/TX, D0/RX, RESET, GND, D2-D13, VIN, 5V, A0-A7, AREF, 3V3
SIM800L GSM Module
- GSM/GPRS module for cellular communication
- Pins: NFT, RING, VCC, DTR, RST, MIC+, RXD, MIC-, TXD, SPK+, GND, SPK-
Rain Sensor
- Sensor for detecting rainwater
- Pins: AO (Analog Output), DO (Digital Output), GRD, VCC
Buzzer
- Electromechanical component for making sound
- Pins: PIN, GND
Resistor
- Passive two-terminal electrical component
- Resistance: 200 Ohms
HC-SR04 Ultrasonic Sensor
- Sensor for measuring distance via ultrasonic waves
- Pins: VCC, TRIG, ECHO, GND
12V to 5V Step Down Power Converter
- Device to convert higher voltage to a lower voltage
- Pins: VIN 9v-36v, VIN+, VIN-, USB OUTPUT 5V, 5v OUTPUT, GND
12V 200Ah Battery
- Energy storage device
- Pins: GND, 12V
Pushbutton
- Simple switch mechanism for controlling some aspect of a machine or a process
- Pins: Pin 2, Pin 1, Pin 3, Pin 4
GPS NEO-6M V2
- GPS module for satellite navigation
- Pins: VCC, RX, TX, GND
Wiring Details
Arduino Nano
- D1/TX connected to GPS NEO-6M V2 TX
- D0/RX connected to GPS NEO-6M V2 RX
- GND connected to the common ground net
- D2 connected to SIM800L TXD
- D4 connected to SIM800L RXD
- D5 connected to Rain Sensor DO
- D6 connected to Buzzer PIN
- D8 connected to HC-SR04 TRIG
- D10 connected to HC-SR04 ECHO
- D11/MOSI connected to one end of the Resistor
- 5V connected to the common VCC net
- A0 connected to Rain Sensor AO
SIM800L GSM Module
- TXD connected to Arduino Nano D2
- RXD connected to Arduino Nano D4
- GND connected to the common ground net
- VCC connected to the common VCC net
Rain Sensor
- AO connected to Arduino Nano A0
- DO connected to Arduino Nano D5
- GRD connected to the common ground net
- VCC connected to the common VCC net
Buzzer
- PIN connected to Arduino Nano D6
- GND connected to the common ground net
Resistor
- One end connected to Arduino Nano D11/MOSI
- The other end connected to Pushbutton Pin 4
HC-SR04 Ultrasonic Sensor
- TRIG connected to Arduino Nano D8
- ECHO connected to Arduino Nano D10
- GND connected to the common ground net
- VCC connected to the common VCC net
12V to 5V Step Down Power Converter
- VIN+ connected to 12V 200Ah Battery 12V
- VIN- connected to 12V 200Ah Battery GND
- GND connected to the common ground net
- 5v OUTPUT connected to the common VCC net
12V 200Ah Battery
- 12V connected to 12V to 5V Step Down Power Converter VIN+
- GND connected to 12V to 5V Step Down Power Converter VIN-
Pushbutton
- Pin 3 connected to the common ground net
- Pin 4 connected to one end of the Resistor
GPS NEO-6M V2
- TX connected to Arduino Nano D1/TX
- RX connected to Arduino Nano D0/RX
- GND connected to the common ground net
- VCC connected to the common VCC net
Documented Code
Arduino Nano Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Note: The provided code is a template and does not contain any functional code. It needs to be populated with the logic required to control and interact with the connected components based on the specific requirements of the circuit.