Circuit Documentation
Summary
This circuit consists of an Arduino UNO microcontroller, a SIM800L GSM Module, and a PIR Motion Sensor. The Arduino UNO serves as the central controller, interfacing with the GSM module for communication and the PIR sensor for motion detection. The circuit is designed to detect motion and potentially send notifications or alerts via the GSM module.
Component List
Arduino UNO
- Description: A 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
SIM800L GSM Module
- Description: A GSM module for communication over cellular networks.
- Pins: 5V, GND, VDD, SIM_TXD, SIM_RXD, RST
PIR Motion Sensor (Wokwi Compatible)
- Description: A motion sensor that detects infrared radiation.
- Pins: VCC, OUT, GND
Wiring Details
Arduino UNO
- 5V: Connected to VCC of PIR Motion Sensor and 5V of SIM800L GSM Module
- GND: Connected to GND of PIR Motion Sensor and GND of SIM800L GSM Module
- D10: Connected to SIM_RXD of SIM800L GSM Module
- D9: Connected to SIM_TXD of SIM800L GSM Module
- D2: Connected to OUT of PIR Motion Sensor
SIM800L GSM Module
- 5V: Connected to 5V of Arduino UNO
- GND: Connected to GND of Arduino UNO
- SIM_RXD: Connected to D10 of Arduino UNO
- SIM_TXD: Connected to D9 of Arduino UNO
PIR Motion Sensor (Wokwi Compatible)
- VCC: Connected to 5V of Arduino UNO
- GND: Connected to GND of Arduino UNO
- OUT: Connected to D2 of Arduino UNO
Code Documentation
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:
}
documentation.txt
This code initializes the Arduino UNO and sets up the main loop. The setup function is intended for initialization code that runs once, while the loop function contains the main code that runs repeatedly. The code is currently a template and does not include specific functionality for the PIR sensor or GSM module.
