0% found this document useful (0 votes)
17 views3 pages

Arduino Uno R4 6 Projects Source Code and Components

The document outlines six different Arduino projects, including a fingerprint and keypad safe lock system, a rain detection system, home automation, and RFID access systems. Each project lists required components and provides source code for implementation. The projects utilize various Arduino models and sensors to achieve specific functionalities such as locking mechanisms and environmental detection.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views3 pages

Arduino Uno R4 6 Projects Source Code and Components

The document outlines six different Arduino projects, including a fingerprint and keypad safe lock system, a rain detection system, home automation, and RFID access systems. Each project lists required components and provides source code for implementation. The projects utilize various Arduino models and sensors to achieve specific functionalities such as locking mechanisms and environmental detection.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

PROJECT–1

Arduino Fingerprint and Keypad Safe Lock System


Components Required
Arduino Uno
Fingerprint Sensor (R307 / AS608)
4×4 Keypad
Servo Motor (SG90)
Buzzer
Jumper Wires
Power Supply
Source Code
#include <Keypad.h>
#include <Servo.h>
Servo lockServo;
const byte rows = 4;
const byte cols = 4;
char keys[rows][cols] = {
{'1','2','3','A'},
{'4','5','6','B'},
{'7','8','9','C'},
{'*','0','#','D'}
};
byte rowPins[rows] = {9,8,7,6};
byte colPins[cols] = {5,4,3,2};
Keypad keypad = Keypad(makeKeymap(keys), rowPins, colPins, rows, cols);
String password = "1234";
String input = "";
void setup() {
[Link](10);
[Link](0);
}
void loop() {
char key = [Link]();
if (key) {
if (key == '#') {
if (input == password) {
[Link](90);
delay(3000);
[Link](0);
}
input = "";
} else {
input += key;
}
}
}
--------------------------------------------------
PROJECT–2
Arduino Uno R4 WiFi Rain Detection System
Components Required
Arduino Uno R4 WiFi
Rain Drop Sensor Module
Buzzer
LED
Jumper Wires
Source Code
#define RAIN_PIN A0
#define LED 8
#define BUZZER 9
void setup() {
pinMode(LED, OUTPUT);
pinMode(BUZZER, OUTPUT);
}
void loop() {
int rain = analogRead(RAIN_PIN);
if (rain < 500) {
digitalWrite(LED, HIGH);
digitalWrite(BUZZER, HIGH);
} else {
digitalWrite(LED, LOW);
digitalWrite(BUZZER, LOW);
}
}
--------------------------------------------------
PROJECT–3
Home Automation using AS608 Fingerprint Scanner and Arduino Uno R4 Minima
Components Required
Arduino Uno R4 Minima
AS608 Fingerprint Sensor
Relay Module
Bulb / Fan
Jumper Wires
Source Code
#define RELAY 7
void setup() {
pinMode(RELAY, OUTPUT);
}
void loop() {
digitalWrite(RELAY, HIGH);
delay(5000);
digitalWrite(RELAY, LOW);
delay(5000);
}
--------------------------------------------------
PROJECT–4
RFID Access System with Arduino Uno R4 and SG90 Servo Motor
Components Required
Arduino Uno R4
RFID Reader (RC522)
RFID Card
SG90 Servo Motor
Jumper Wires
Source Code
#include <SPI.h>
#include <MFRC522.h>
#include <Servo.h>
#define SS_PIN 10
#define RST_PIN 9
MFRC522 rfid(SS_PIN, RST_PIN);
Servo door;
void setup() {
[Link]();
rfid.PCD_Init();
[Link](6);
[Link](0);
}
void loop() {
if (!rfid.PICC_IsNewCardPresent()) return;
if (!rfid.PICC_ReadCardSerial()) return;
[Link](90);
delay(3000);
[Link](0);
}
--------------------------------------------------
PROJECT–5
RFID-Controlled Cardboard House Door Using Arduino Uno R4 WiFi
Components Required
Arduino Uno R4 WiFi
RFID RC522
Servo Motor
Cardboard House Model
Jumper Wires
Source Code
#include <SPI.h>
#include <MFRC522.h>
#include <Servo.h>
#define SS 10
#define RST 9
MFRC522 rfid(SS, RST);
Servo door;
void setup() {
[Link]();
rfid.PCD_Init();
[Link](5);
}
void loop() {
if (rfid.PICC_IsNewCardPresent() && rfid.PICC_ReadCardSerial()) {
[Link](90);
delay(2000);
[Link](0);
}
}
--------------------------------------------------
PROJECT–6
Door Lock Control Using Rain Sensor & Servo (Arduino Uno R4 WiFi)
Components Required
Arduino Uno R4 WiFi
Rain Drop Sensor
Servo Motor
Jumper Wires
Source Code
#define RAIN A0
#include <Servo.h>
Servo lock;
void setup() {
[Link](6);
}
void loop() {
int rainValue = analogRead(RAIN);
if (rainValue < 500) {
[Link](90);
} else {
[Link](0);
}
}

You might also like