Circuit Documentation
Summary of the Circuit
This circuit is designed to interface an Arduino UNO with several peripheral devices including an IR sensor, an LCD screen (16x2 with I2C interface), a buzzer, and a 40mm 12V fan. The Arduino UNO is powered by a 9V battery and provides power to the IR sensor and the LCD screen. The IR sensor is used to detect objects or motion, and its output is read by the Arduino. The LCD screen displays information and is controlled via the I2C protocol. The buzzer is driven by one of the digital pins on the Arduino and can be used for audible alerts. The fan is not directly connected to the Arduino and seems to be powered separately.
Component List
40 Fan 12v
- Description: A 12V fan used for cooling purposes.
- Pins: +12V, -12V
Buzzer
- Description: An audible signaling device.
- Pins: PIN, GND
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0-A5, SCL, SDA, AREF, D0-D13
LCD Screen 16x2 I2C
- Description: A 16x2 character LCD display with an I2C interface.
- Pins: SCL, SDA, VCC, GND
9V Battery
- Description: A standard 9V battery used to power the circuit.
- Pins: +, -
IR Sensor
- Description: An infrared sensor used for object detection or motion sensing.
- Pins: out, gnd, vcc
Wiring Details
40 Fan 12v
- Wiring: This component is not connected to the Arduino and is assumed to be powered separately.
Buzzer
- Wiring:
- PIN: Connected to Arduino UNO Digital Pin D10
- GND: Connected to Arduino UNO Ground
Arduino UNO
- Wiring:
- 3.3V: Provides power to the IR sensor
- 5V: Provides power to the LCD screen
- GND: Common ground for the LCD screen, IR sensor, and buzzer
- Vin: Connected to the positive terminal of the 9V battery
- A4 (SCL): Connected to the SCL pin of the LCD screen
- A5 (SDA): Connected to the SDA pin of the LCD screen
- D2: Reads the output from the IR sensor
- D10: Controls the buzzer
LCD Screen 16x2 I2C
- Wiring:
- SCL: Connected to Arduino UNO Analog Pin A4
- SDA: Connected to Arduino UNO Analog Pin A5
- VCC: Powered by Arduino UNO 5V
- GND: Connected to Arduino UNO Ground
9V Battery
- Wiring:
- +: Connected to Arduino UNO Vin
- -: Connected to Arduino UNO Ground
IR Sensor
- Wiring:
- out: Connected to Arduino UNO Digital Pin D2
- gnd: Connected to Arduino UNO Ground
- vcc: Powered by Arduino UNO 3.3V
Documented Code
void setup() {
}
void loop() {
}
Filename: sketch.ino
Description: This is the main code file for the Arduino UNO. Currently, the setup and loop functions are empty and need to be filled with the initialization code and the main operational logic of the circuit, respectively.