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.
5V
connected to the OUT
pin of a Voltage Regulator and VCC
of the Door LockGND
connected to the GND
pins of the Door Lock, Micro Servo 9G, Buzzer, and Voltage RegulatorD19/RX1
connected to TX
of the Fingerprint ScannerD18/TX1
connected to RX
of the Fingerprint ScannerD9 PWM
connected to PWM
of the Micro Servo 9GD24
connected to IN1
of the Two Channel Relay 5VD47
connected to Input +
of the 2Pin Push SwitchPWM
connected to D9 PWM
on the Arduino Mega 2560GND
connected to the common ground net+5V
connected to the OUT
pin of a Voltage RegulatorOUT
pin provides regulated voltage to the Arduino Mega 2560, Micro Servo 9G, Buzzer, Two Channel Relay 5V, and Fingerprint ScannerGND
pin connected to the common ground netPIN
connected to the OUT
pin of a Voltage RegulatorGND
connected to the common ground netIN1
connected to D24
on the Arduino Mega 2560VCC
connected to the OUT
pin of a Voltage RegulatorGND
connected to the common ground netNO1
connected to IN
of the Door LockVCC
connected to the OUT
pin of a Voltage RegulatorTX
connected to D19/RX1
on the Arduino Mega 2560RX
connected to D18/TX1
on the Arduino Mega 2560GND
connected to the common ground netInput +
connected to D47
on the Arduino Mega 2560Output +
connected to GND
on the Arduino Mega 2560VCC
connected to 5V
on the Arduino Mega 2560GND
connected to the common ground netIN
connected to NO1
on the Two Channel Relay 5Vvoid setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
(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.