Circuit Documentation
Summary of the Circuit
This circuit integrates an Arduino Nano microcontroller with an r307 fingerprint sensor and a servo motor. The system is powered by an 18650 Li-Ion battery, and a rocker switch is used to control the power supply to the circuit. The Arduino Nano communicates with the r307 fingerprint sensor via serial communication, and it controls the servo motor using a PWM signal. The ground connections are shared among all components, establishing a common reference point for the circuit.
Component List
Arduino Nano
- Description: A compact microcontroller board based on the ATmega328P.
- Pins: D1/TX, D0/RX, RESET, GND, D2 to D13, VIN, 5V, A0 to A7, AREF, 3V3.
r307 Fingerprint Sensor
- Description: A fingerprint sensor module for biometric applications.
- Pins: VCC, RX, TX, GND.
Servo Motor
- Description: An actuator that can be precisely controlled for angular position.
- Pins: GND, VCC, PWM.
Rocker Switch
- Description: A simple on/off switch to control the power flow.
- Pins: 1, 2.
18650 Li-Ion Battery
- Description: A rechargeable lithium-ion battery cell.
- Pins: Positive, Negative.
Wiring Details
Arduino Nano
- D2: Connected to RX of r307 Fingerprint Sensor.
- D3: Connected to TX of r307 Fingerprint Sensor.
- D8: Connected to PWM of Servo Motor.
- VIN: Connected to pin 2 of Rocker Switch.
- 5V: Connected to VCC of Servo Motor and VCC of r307 Fingerprint Sensor.
- GND: Common ground with Servo Motor, r307 Fingerprint Sensor, and 18650 Li-Ion Battery.
r307 Fingerprint Sensor
- VCC: Connected to 5V of Arduino Nano.
- RX: Connected to D2 of Arduino Nano.
- TX: Connected to D3 of Arduino Nano.
- GND: Common ground with Arduino Nano, Servo Motor, and 18650 Li-Ion Battery.
Servo Motor
- PWM: Connected to D8 of Arduino Nano.
- VCC: Connected to 5V of Arduino Nano.
- GND: Common ground with Arduino Nano, r307 Fingerprint Sensor, and 18650 Li-Ion Battery.
Rocker Switch
- Pin 1: Connected to Positive of 18650 Li-Ion Battery.
- Pin 2: Connected to VIN of Arduino Nano.
18650 Li-Ion Battery
- Positive: Connected to pin 1 of Rocker Switch.
- Negative: Common ground with Arduino Nano, Servo Motor, and r307 Fingerprint Sensor.
Documented Code
Arduino Nano Code (sketch.ino)
void setup() {
}
void loop() {
}
Note: The provided code is a template and does not contain any functional code. It is expected that the user will add the necessary setup and loop code to interact with the connected components.