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

Arduino Nano Controlled Fingerprint-Activated Solenoid Lock

Image of Arduino Nano Controlled Fingerprint-Activated Solenoid Lock

Circuit Documentation

Summary of the Circuit

This circuit is designed to interface an Arduino Nano with an R307 fingerprint sensor module, control a solenoid lock through a 5V relay, and manage power through a rocker switch and an 18650 Li-Ion battery. The Arduino Nano serves as the central processing unit, receiving data from the R307 fingerprint sensor and controlling the solenoid lock via the relay based on the fingerprint authentication. The rocker switch is used to control the power flow from the battery to the circuit, ensuring an on/off capability.

Component List

Arduino Nano

  • Microcontroller board based on the ATmega328P
  • It has a variety of digital and analog I/O pins for interfacing with various components.

R307 Fingerprint Sensor

  • A fingerprint scanner module capable of storing and comparing fingerprints for authentication purposes.

Solenoid Lock

  • An electromagnetic lock that can be actuated to lock or unlock a mechanism.

Rocker Switch

  • A simple on/off switch to control the power supply to the circuit.

18650 Li-Ion Battery

  • A rechargeable battery providing the power source for the circuit.

5V Relay

  • An electromechanical switch that allows the Arduino to control higher power devices, like the solenoid lock.

Wiring Details

Arduino Nano

  • D2 connected to TX of R307 Fingerprint Sensor
  • D3 connected to RX of R307 Fingerprint Sensor
  • D8 connected to In of 5V Relay
  • VIN connected to 2 of Rocker Switch
  • GND connected to common ground net
  • 5V connected to VCC of R307 Fingerprint Sensor and VCC of 5V Relay

R307 Fingerprint Sensor

  • TX connected to D2 of Arduino Nano
  • RX connected to D3 of Arduino Nano
  • GND connected to common ground net
  • VCC connected to 5V of Arduino Nano

Solenoid Lock

  • pin1 connected to common ground net
  • pin2 connected to Common terminal of 5V Relay

Rocker Switch

  • 1 connected to Positive of 18650 Li-Ion Battery and Normally Open of 5V Relay
  • 2 connected to VIN of Arduino Nano

18650 Li-Ion Battery

  • Positive connected to 1 of Rocker Switch and Normally Open of 5V Relay
  • Negative connected to common ground net

5V Relay

  • Normally Open connected to 1 of Rocker Switch and Positive of 18650 Li-Ion Battery
  • Common terminal connected to pin2 of Solenoid Lock
  • In connected to D8 of Arduino Nano
  • GND connected to common ground net
  • VCC connected to 5V of Arduino Nano

Documented Code

Arduino Nano Code (sketch.ino)

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

}

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

}

Note: The provided code is a template and does not contain any functional code to operate the circuit. The user must implement the setup and loop functions to initialize the components and define the circuit's behavior.