Circuit Documentation
Summary
This document provides a detailed overview of a circuit designed to interface various components including power modules, a microcontroller, communication modules, sensors, and output devices. The circuit is powered by a Li-ion 18650 battery, regulated and charged by a TP4056 module, and further boosted by a PowerBoost 1000 Basic Pad USB. The Arduino Mega 2560 serves as the central microcontroller, interfacing with a SIM800L GSM module, two fingerprint scanners, an I2C LCD display, an IR sensor, and a piezo buzzer. An AC-DC power module is included to provide an alternative power source.
Component List
- PowerBoost 1000 Basic Pad USB: A power supply module that boosts the battery voltage to 5V and provides a USB output.
- Li-ion 18650 Battery: A rechargeable battery providing power to the circuit.
- Mini AC-DC 110V-230V to 5V 700mA Module: A power supply module that converts AC power to 5V DC.
- Fingerprint Scanner: Two identical modules used to scan fingerprints for identification purposes.
- Electrolytic Capacitor: A capacitor used for filtering and stabilizing the power supply.
- TP4056: A lithium battery charging module that also provides battery protection.
- Power 220v: Represents the main AC power connection to the circuit.
- Arduino Mega 2560: The main microcontroller board that controls the circuit.
- LCD 20x4 I2C: An alphanumeric LCD display with an I2C interface for displaying information.
- SIM800L: A GSM/GPRS module for cellular communication.
- Piezo Buzzer: An output device that emits sound when powered.
- IR Sensor: An infrared sensor used for proximity or motion detection.
Wiring Details
PowerBoost 1000 Basic Pad USB
- VBAT: Connected to the positive terminal of the Li-ion 18650 Battery.
- GND: Common ground with the Li-ion 18650 Battery, TP4056, SIM800L, and Arduino Mega 2560.
- ENABLE: Not connected in the provided net list.
- LBO: Not connected in the provided net list.
- 5.0V: Provides power to the Arduino Mega 2560 VIN pin, and both Fingerprint Scanners' VCC pins.
Li-ion 18650 Battery
- +: Connected to the positive terminal of the PowerBoost 1000 Basic Pad USB and TP4056 B+ pin.
- -: Connected to the negative terminal of the PowerBoost 1000 Basic Pad USB, TP4056 B- pin, and the common ground net.
Mini AC-DC 110V-230V to 5V 700mA Module
- GND: Connected to the TP4056 IN- pin.
- 5v: Connected to the TP4056 IN+ pin.
- Neutral: Connected to the neutral wire of the Power 220v.
- Life: Connected to the hot wire of the Power 220v.
Fingerprint Scanner (Two Instances)
- VCC: Both connected to the 5.0V output of the PowerBoost 1000 Basic Pad USB.
- TX: One connected to the Arduino Mega 2560 D19/RX1 pin, the other to D17 PWM/RX2.
- RX: One connected to the Arduino Mega 2560 D18/TX1 pin, the other to D16 PWM/TX2.
- GND: Common ground with the Arduino Mega 2560 and other components.
Electrolytic Capacitor
- -: Connected to the common ground net.
- +: Connected to the positive terminal of the Li-ion 18650 Battery and TP4056 B+ pin.
TP4056
- OUT-: Not connected in the provided net list.
- B-: Connected to the negative terminal of the Li-ion 18650 Battery and the common ground net.
- B+: Connected to the positive terminal of the Li-ion 18650 Battery.
- OUT+: Not connected in the provided net list.
- IN-: Connected to the GND of the Mini AC-DC 110V-230V to 5V 700mA Module.
- IN+: Connected to the 5v of the Mini AC-DC 110V-230V to 5V 700mA Module.
Power 220v
- Neutral Wire: Connected to the Neutral of the Mini AC-DC 110V-230V to 5V 700mA Module.
- Hot Wire: Connected to the Life of the Mini AC-DC 110V-230V to 5V 700mA Module.
Arduino Mega 2560
- Various I/O Pins: Connected to the TX/RX pins of the Fingerprint Scanners, SIM800L, IR Sensor, and Piezo Buzzer.
- 5V: Provides power to the IR Sensor.
- GND: Common ground with all components requiring a ground connection.
- VIN: Receives power from the 5.0V output of the PowerBoost 1000 Basic Pad USB.
- I2C Pins (D20/SDA, D21/SCL): Connected to the I2C interface of the LCD 20x4 I2C.
LCD 20x4 I2C
- GND: Common ground with the Arduino Mega 2560 and other components.
- 5v: Receives power from the 5.0V output of the PowerBoost 1000 Basic Pad USB.
- SCA: Connected to the D20/SDA pin of the Arduino Mega 2560.
- SCL: Connected to the D21/SCL pin of the Arduino Mega 2560.
SIM800L
- NET: Not connected in the provided net list.
- RST: Not connected in the provided net list.
- VCC: Connected to the positive terminal of the Li-ion 18650 Battery and TP4056 B+ pin.
- RXD: Connected to the D14/TX3 pin of the Arduino Mega 2560.
- TXD: Connected to the D15/RX3 pin of the Arduino Mega 2560.
- GND: Common ground with the Li-ion 18650 Battery, TP4056, and Arduino Mega 2560.
Piezo Buzzer
- Pin 1: Connected to the D12 PWM pin of the Arduino Mega 2560.
- Pin 2: Common ground with the Arduino Mega 2560 and other components.
IR Sensor
- Out: Connected to the D10 PWM pin of the Arduino Mega 2560.
- Gnd: Common ground with the Arduino Mega 2560 and other components.
- Vcc: Receives power from the 5V pin of the Arduino Mega 2560.
Documented Code
Arduino Mega 2560 (Instance ID: 3c06891e-ee86-4eb6-add4-d0ca85c0f596)
File: sketch.ino
void setup() {
}
void loop() {
}
File: documentation.txt
(No additional documentation provided for the code)
(Note: The code provided is a template with no functional implementation. Additional code is required to control and interact with the connected components.)