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.
D2
connected to TX
of R307 Fingerprint SensorD3
connected to RX
of R307 Fingerprint SensorD8
connected to In
of 5V RelayVIN
connected to 2
of Rocker SwitchGND
connected to common ground net5V
connected to VCC
of R307 Fingerprint Sensor and VCC
of 5V RelayTX
connected to D2
of Arduino NanoRX
connected to D3
of Arduino NanoGND
connected to common ground netVCC
connected to 5V
of Arduino Nanopin1
connected to common ground netpin2
connected to Common terminal
of 5V Relay1
connected to Positive
of 18650 Li-Ion Battery and Normally Open
of 5V Relay2
connected to VIN
of Arduino NanoPositive
connected to 1
of Rocker Switch and Normally Open
of 5V RelayNegative
connected to common ground netNormally Open
connected to 1
of Rocker Switch and Positive
of 18650 Li-Ion BatteryCommon terminal
connected to pin2
of Solenoid LockIn
connected to D8
of Arduino NanoGND
connected to common ground netVCC
connected to 5V
of Arduino Nanovoid 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.