Security Alarm using Arduino and PIR Sensor Project Overview : To create a security alarm system that detects unauthorized access or intrusion and alerts the user through audible and/or visual alarms. Components : 1. Arduino board (such as Arduino Uno) 2. PIR motion sensor module 3. Buzzer or piezo speaker 4. LED (optional for visual indication) 5. Breadboard 6. Jumper wires Hardware Setup : Connect the PIR motion sensor module to the Arduino. The sensor typically has three pins: VCC, GND, and SIGNAL. Connect VCC to 5V, GND to GND, and SIGNAL to a digital input pin (e.g., pin 2) on the Arduino. Connect the buzzer or piezo speaker to the Arduino. Connect one terminal of the buzzer to a digital output pin (e.g., pin 3) on the Arduino and the other terminal to GND. Optionally, connect an LED to a digital output pin (e.g., pin 4) on the Arduino for visual indication. Software Setup : Arduino Code : #define PIR_PIN 2 // Digital pin connected to PIR sensor #define BUZZER_PI...
Radar Project Overview : This project involves creating a radar-like system using an Arduino microcontroller, an ultrasonic sensor (HC-SR04), and a servo motor. The ultrasonic sensor is mounted on the servo motor, allowing it to rotate and measure distances in different directions. The Arduino controls the servo motor to scan the sensor's field of view, and the sensor detects objects and calculates their distances based on the time it takes for sound waves to bounce back. The Arduino then processes this data and displays it, simulating a radar display. Material : Arduino board (e.g., Arduino Uno) 2. Ultrasonic sensor (HC-SR04) 3. Servo motor Jumper wires Breadboard LCD display or OLED display (for visualizing the radar display) Circuit Setup: Connect the ultrasonic sensor to the Arduino board. The sensor typically has four pins: VCC, GND, Trigger, and Echo. Connect the VCC pin of the sensor to the 5V pin on the Arduino, and the GND pin to the GND pin. Connect the Trigger pin of t...