Arduino UNO-Based Smart Fan Control System with Temperature Sensor and LCD Display
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes various components such as resistors, pushbuttons, an NTC thermistor, an I2C module, an LCD display, a rectifier diode, a power supply, a buzzer, a fan, and an Arduino UNO microcontroller. The circuit is designed to interface these components to perform specific functions, with the Arduino UNO serving as the central control unit.
Component List
IRFZ44N
- Description: N-channel MOSFET
- Pins: Gate, Drain, Source
Resistor (10k Ohms)
- Description: Resistor
- Pins: pin1, pin2
- Properties: Resistance: 10k Ohms
Resistor (100 Ohms)
- Description: Resistor
- Pins: pin1, pin2
- Properties: Resistance: 100 Ohms
Pushbutton
- Description: Pushbutton switch
- Pins: Pin 1, Pin 2, Pin 3, Pin 4
I2C Module
- Description: I2C communication module
- Pins: SCL, SDA, VCC, GND
16X2 LCD
- Description: 16x2 character LCD display
- Pins: VSS, VDD, V0, RS, RW, E, D0, D1, D2, D3, D4, D5, D6, D7, A, K
1N4007 Rectifier Diode
- Description: Rectifier diode
- Pins: Cathode, Anode
12V Power Supply
- Description: 12V DC power supply
- Pins: +, -
Buzzer
- Description: Piezoelectric buzzer
- Pins: PIN, GND
Fan
- Description: DC fan
- Pins: GND, 5V
Arduino UNO
- Description: Microcontroller board
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
NTC
- Description: Negative Temperature Coefficient thermistor
- Pins: A0, A1
Wiring Details
IRFZ44N
- Gate: Connected to pin1 of a 100 Ohm resistor
- Drain: Connected to GND of the fan and Anode of the 1N4007 Rectifier Diode
- Source: Connected to GND of the Arduino UNO and PIN of the buzzer
Resistor (10k Ohms)
- pin1: Connected to Pin 4 of three pushbuttons and GND of the Arduino UNO and I2C module
- pin2: Connected to PIN of the buzzer
Resistor (100 Ohms)
- pin1: Connected to D9 of the Arduino UNO
- pin2: Connected to pin1 of the 10k Ohm resistor and Gate of the IRFZ44N
Pushbutton
- Pin 1: Connected to A1, A2, and A3 of the Arduino UNO
- Pin 4: Connected to pin1 of the 10k Ohm resistor and GND of the Arduino UNO and I2C module
I2C Module
- SCL: Connected to A5 of the Arduino UNO
- SDA: Connected to A4 of the Arduino UNO
- VCC: Connected to 5V of the Arduino UNO and A1 of the NTC
- GND: Connected to GND of the Arduino UNO and pin1 of the 10k Ohm resistor
16X2 LCD
- VSS: Not connected
- VDD: Not connected
- V0: Not connected
- RS: Not connected
- RW: Not connected
- E: Not connected
- D0: Not connected
- D1: Not connected
- D2: Not connected
- D3: Not connected
- D4: Not connected
- D5: Not connected
- D6: Not connected
- D7: Not connected
- A: Not connected
- K: Not connected
1N4007 Rectifier Diode
- Cathode: Connected to 5V of the fan and Vin of the Arduino UNO
- Anode: Connected to Drain of the IRFZ44N and GND of the fan
12V Power Supply
- +: Connected to 5V of the fan and Vin of the Arduino UNO
- -: Connected to GND of the Arduino UNO
Buzzer
- PIN: Connected to pin2 of the 10k Ohm resistor and Source of the IRFZ44N
- GND: Connected to D13 of the Arduino UNO
Fan
- 5V: Connected to + of the 12V power supply and Vin of the Arduino UNO
- GND: Connected to Drain of the IRFZ44N and Anode of the 1N4007 Rectifier Diode
Arduino UNO
- 5V: Connected to VCC of the I2C module and A1 of the NTC
- GND: Connected to - of the 12V power supply, pin1 of the 10k Ohm resistor, and Source of the IRFZ44N
- Vin: Connected to 5V of the fan and + of the 12V power supply
- A0: Connected to A0 of the NTC
- A1: Connected to Pin 1 of a pushbutton
- A2: Connected to Pin 1 of a pushbutton
- A3: Connected to Pin 1 of a pushbutton
- A4: Connected to SDA of the I2C module
- A5: Connected to SCL of the I2C module
- D9: Connected to pin1 of the 100 Ohm resistor
- D13: Connected to GND of the buzzer
NTC
- A0: Connected to A0 of the Arduino UNO
- A1: Connected to 5V of the Arduino UNO and VCC of the I2C module
Documented Code
Arduino UNO Code (sketch.ino)
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Documentation (documentation.txt)
This document provides a comprehensive overview of the circuit, including a detailed list of components, their wiring connections, and the code used in the Arduino UNO microcontroller.