Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

Arduino Mega 2560 Controlled Security System with Fingerprint Access and Door Lock

Image of Arduino Mega 2560 Controlled Security System with Fingerprint Access and Door Lock

Circuit Documentation

Summary

This document provides a detailed overview of a circuit designed to interface an Arduino Mega 2560 with various peripherals including a micro servo, a voltage regulator, a buzzer, a two-channel relay, a fingerprint scanner, a push switch, and a door lock. The circuit is powered through voltage regulators that ensure stable voltage supply to the components. Communication between the Arduino and the fingerprint scanner is established via serial communication. The micro servo and the buzzer are controlled by PWM signals, and the door lock is operated through a relay which is in turn controlled by the Arduino. A push switch is used to provide input to the Arduino.

Component List

Arduino Mega 2560

  • Microcontroller board based on the ATmega2560
  • Provides a large number of IO pins including digital, analog, PWM, and communication pins

Micro Servo 9G

  • Small and lightweight servo motor
  • Operates on +5V and controlled via a PWM signal

Voltage Regulator

  • Provides a stable output voltage from a variable input voltage
  • Commonly used to supply a consistent voltage to electronic components

Buzzer

  • An electromechanical component that emits sound when energized
  • Typically used for audible alerts or notifications

Two Channel Relay 5V

  • An electrically operated switch that allows control of a high power circuit by a low power signal
  • Has two channels that can be controlled independently

Fingerprint Scanner

  • Biometric sensor that captures fingerprints for identification purposes
  • Interfaces with the Arduino via serial communication

2Pin Push Switch

  • A simple switch that closes the circuit when pressed
  • Used to provide a binary input to the Arduino

Door Lock

  • An electronic lock that can be controlled remotely
  • Operated by the relay, allowing the Arduino to lock or unlock the door

Wiring Details

Arduino Mega 2560

  • 5V connected to the OUT pin of a Voltage Regulator and VCC of the Door Lock
  • GND connected to the GND pins of the Door Lock, Micro Servo 9G, Buzzer, and Voltage Regulator
  • D19/RX1 connected to TX of the Fingerprint Scanner
  • D18/TX1 connected to RX of the Fingerprint Scanner
  • D9 PWM connected to PWM of the Micro Servo 9G
  • D24 connected to IN1 of the Two Channel Relay 5V
  • D47 connected to Input + of the 2Pin Push Switch

Micro Servo 9G

  • PWM connected to D9 PWM on the Arduino Mega 2560
  • GND connected to the common ground net
  • +5V connected to the OUT pin of a Voltage Regulator

Voltage Regulator

  • Multiple instances are used, each providing power to different components
  • OUT pin provides regulated voltage to the Arduino Mega 2560, Micro Servo 9G, Buzzer, Two Channel Relay 5V, and Fingerprint Scanner
  • GND pin connected to the common ground net

Buzzer

  • PIN connected to the OUT pin of a Voltage Regulator
  • GND connected to the common ground net

Two Channel Relay 5V

  • IN1 connected to D24 on the Arduino Mega 2560
  • VCC connected to the OUT pin of a Voltage Regulator
  • GND connected to the common ground net
  • NO1 connected to IN of the Door Lock

Fingerprint Scanner

  • VCC connected to the OUT pin of a Voltage Regulator
  • TX connected to D19/RX1 on the Arduino Mega 2560
  • RX connected to D18/TX1 on the Arduino Mega 2560
  • GND connected to the common ground net

2Pin Push Switch

  • Input + connected to D47 on the Arduino Mega 2560
  • Output + connected to GND on the Arduino Mega 2560

Door Lock

  • VCC connected to 5V on the Arduino Mega 2560
  • GND connected to the common ground net
  • IN connected to NO1 on the Two Channel Relay 5V

Documented Code

Arduino Mega 2560 - sketch.ino

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

Arduino Mega 2560 - documentation.txt

(No additional documentation provided for the code)

This concludes the documentation for the circuit. The wiring details provide the necessary information to replicate the circuit connections, and the code section provides the basic structure for the Arduino sketch. Additional functionality can be added to the sketch based on the specific requirements of the project.