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

Arduino Nano-Controlled Smart Irrigation System with Environmental Monitoring

View and Edit Project In Cirkit DesignerImage of Arduino Nano-Controlled Smart Irrigation System with Environmental Monitoring

Circuit Documentation

Summary

This circuit integrates various components controlled by an Arduino Nano microcontroller to perform a set of functions that likely involve environmental sensing, data display, and control of a water pump. The DHT11 sensor is used for measuring temperature and humidity, while the Humidity YL-69 sensor is likely used for soil moisture detection. The LCD I2C Display provides a user interface for displaying data. A relay module is used to control a Mini Diaphragm Water Pump, and the entire system is powered by an 18650 Li-Ion battery.

Component List

Arduino Nano

Relay Module 1 Channel

DHT11

LCD I2C Display

Humidity YL-69

Mini Diaphragm Water Pump

18650 Li-Ion Battery

Wiring Details

Arduino Nano

Relay Module 1 Channel

DHT11

LCD I2C Display

Humidity YL-69

Mini Diaphragm Water Pump

18650 Li-Ion Battery

Documented Code

The code for the Arduino Nano is not provided in the input. However, the typical structure of an Arduino sketch (ino file) includes setup and loop functions, where setup is used for initializing settings, and loop contains the main functionality that runs continuously.

// Code for Arduino Nano

void setup() {
  // Initialize digital and analog pins, I2C interface, and serial communication
}

void loop() {
  // Read sensors, control relay, and update display
}

For a complete and functional code, the actual logic for reading sensors, controlling the relay, and updating the display would need to be implemented. This would involve using libraries for the DHT11 and LCD display, reading analog values from the Humidity YL-69 sensor, and writing digital outputs to control the relay.