Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO-Based Smart Temperature-Controlled Fan with OLED Display

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Smart Temperature-Controlled Fan with OLED Display

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfacing with various components including a 0.96" OLED display, a DS18B20 temperature sensor, a 5V relay, a fan, and LEDs. The circuit is powered by a 12V power supply. The Arduino UNO controls the relay, which in turn controls the fan. The OLED display is used for visual output, and the DS18B20 sensor measures temperature. LEDs are used for status indication.

Component List

  1. Arduino UNO

    • Description: Microcontroller board based on the ATmega328P.
    • 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
  2. 0.96" OLED

    • Description: Small OLED display for visual output.
    • Pins: GND, VDD, SCK, SDA
  3. 12V Power Supply

    • Description: Power supply providing 12V.
    • Pins: +, -
  4. DS18B20

    • Description: Digital temperature sensor.
    • Pins: VDD, DQ, GND
  5. Fan

    • Description: Cooling fan.
    • Pins: GND, 5V
  6. 5V Relay

    • Description: Relay module for switching.
    • Pins: Normally Open, Common terminal, Normally Closed, In, GND, VCC
  7. Resistor (220 Ohms)

    • Description: Resistor with 220 Ohms resistance.
    • Pins: pin1, pin2
  8. Resistor (10k Ohms)

    • Description: Resistor with 10k Ohms resistance.
    • Pins: pin1, pin2
  9. LED: Two Pin (red)

    • Description: Red LED.
    • Pins: cathode, anode
  10. LED: Two Pin (green)

    • Description: Green LED.
    • Pins: cathode, anode

Wiring Details

Arduino UNO

0.96" OLED

12V Power Supply

DS18B20

Fan

5V Relay

Resistor (220 Ohms)

Resistor (220 Ohms)

Resistor (10k Ohms)

LED: Two Pin (red)

LED: Two Pin (green)

Documented Code

sketch.ino

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

documentation.txt