Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

ESP8266 NodeMCU Controlled Soil Moisture Monitoring and Servo Actuation System

Image of ESP8266 NodeMCU Controlled Soil Moisture Monitoring and Servo Actuation System

Circuit Documentation

Summary of the Circuit

This circuit integrates a variety of components to perform tasks that likely involve environmental sensing and actuation. The core of the circuit is an ESP8266 NodeMCU microcontroller, which is responsible for controlling the other components, including a soil moisture sensor, a micro servo, and an ultrasonic sensor. The ESP8266 NodeMCU provides the necessary logic and connectivity for the sensors and actuator to interact with the environment and potentially communicate data to other devices or services.

Component List

ESP8266 NodeMCU

  • Description: A Wi-Fi enabled microcontroller module that can be programmed to control various peripherals and communicate over the internet.
  • Pins: D0, D1, D2, D3, D4, 3V3, GND, D5, D6, D7, D8, RX, TX, A0, RSV, SD3, SD2, SD1, CMD, SD0, CLK, EN, RST, VIN

Soil Moisture Sensor

  • Description: A sensor that measures the moisture level in the soil, which can be used to monitor and control irrigation systems.
  • Pins: AO (Analog Output), DO (Digital Output), GND, VCC

Micro Servo 9G

  • Description: A small and lightweight servo motor that can be used for precise control of mechanical movement.
  • Pins: GND, +5V, PWM (Pulse Width Modulation)

Ultrasonic Sensor

  • Description: A sensor that measures distance by emitting ultrasonic waves and measuring the time it takes for the echo to return.
  • Pins: +VCC, Trigger, Echo, GND

Vcc

  • Description: A power supply module that provides a stable voltage source for the components in the circuit.
  • Pins: Vcc

Wiring Details

ESP8266 NodeMCU

  • D1 connected to Micro Servo 9G (PWM)
  • 3V3 connected to Ultrasonic Sensor (+VCC)
  • GND connected to Ultrasonic Sensor (GND), Soil Moisture Sensor (GND), and Micro Servo 9G (GND)
  • D5 connected to Ultrasonic Sensor (Trigger)
  • D6 connected to Ultrasonic Sensor (Echo)
  • A0 connected to Soil Moisture Sensor (AO)
  • 3V3 connected to Soil Moisture Sensor (VCC)

Soil Moisture Sensor

  • AO connected to ESP8266 NodeMCU (A0)
  • GND connected to ESP8266 NodeMCU (GND)
  • VCC connected to ESP8266 NodeMCU (3V3)

Micro Servo 9G

  • PWM connected to ESP8266 NodeMCU (D1)
  • GND connected to ESP8266 NodeMCU (GND)
  • +5V connected to Vcc (Vcc)

Ultrasonic Sensor

  • +VCC connected to ESP8266 NodeMCU (3V3)
  • Trigger connected to ESP8266 NodeMCU (D5)
  • Echo connected to ESP8266 NodeMCU (D6)
  • GND connected to ESP8266 NodeMCU (GND)

Vcc

  • Vcc connected to Micro Servo 9G (+5V)

Documented Code

No code has been provided for the microcontrollers in the circuit. To fully utilize the hardware, embedded code should be written and uploaded to the ESP8266 NodeMCU. The code would typically initialize the sensors and the servo, read sensor values, control the servo based on sensor inputs, and handle communication if needed.