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

Arduino UNO-Based Smart Environmental Monitoring System with OLED Display and Battery-Powered Fan

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Smart Environmental Monitoring System with OLED Display and Battery-Powered Fan

Circuit Documentation

Summary

This circuit integrates an Arduino UNO microcontroller with various sensors and output devices to monitor environmental conditions and control a fan. The sensors include a humidity and temperature sensor, a capacitive soil moisture sensor, and a photocell (LDR). An OLED display is used to show the sensor readings, and an LED indicates the system status. A fan is controlled via an NPN transistor, which is powered by a 12V battery.

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. AM2320 Humidity and Temperature Sensor

    • Description: Digital temperature and humidity sensor.
    • Pins: Vin, SDA, GND, SCL
  3. OLED 1.3" Display

    • Description: 1.3-inch OLED display for visual output.
    • Pins: GND, VCC, SCL, SDA
  4. Capacitive Soil Moisture Sensor V1.2

    • Description: Sensor to measure soil moisture levels.
    • Pins: GND, VCC, AOUT
  5. Resistor

    • Description: 200 Ohms resistor.
    • Pins: pin1, pin2
  6. Photocell (LDR)

    • Description: Light-dependent resistor to measure light intensity.
    • Pins: pin 0, pin 1
  7. LED: Two Pin (red)

    • Description: Red LED for status indication.
    • Pins: cathode, anode
  8. Fan

    • Description: Small fan for air circulation.
    • Pins: GND, 5V
  9. NPN Transistor (EBC)

    • Description: NPN transistor for switching applications.
    • Pins: emitter, base, collector
  10. 12V Battery

    • Description: Power source for the fan.
    • Pins: -, +

Wiring Details

Arduino UNO

AM2320 Humidity and Temperature Sensor

OLED 1.3" Display

Capacitive Soil Moisture Sensor V1.2

Resistor

Photocell (LDR)

LED: Two Pin (red)

Fan

NPN Transistor (EBC)

12V Battery

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:

}

Additional Documentation (documentation.txt)