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

How to Use SEN0189: Examples, Pinouts, and Specs

Image of SEN0189
Cirkit Designer LogoDesign with SEN0189 in Cirkit Designer

Introduction

The SEN0189 is a capacitive soil moisture sensor manufactured by DFRobot. It is designed to measure the volumetric water content in soil, providing an analog output that corresponds to the soil's moisture level. Unlike resistive soil moisture sensors, the SEN0189 is corrosion-resistant, ensuring long-term durability and reliability in outdoor environments. This makes it an excellent choice for agricultural applications, automated irrigation systems, and environmental monitoring projects.

Explore Projects Built with SEN0189

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered Emergency Alert System with NUCLEO-F072RB, SIM800L, and GPS NEO 6M
Image of women safety: A project utilizing SEN0189 in a practical application
This circuit is an emergency alert system that uses a NUCLEO-F072RB microcontroller to send SMS alerts and make calls via a SIM800L GSM module, while obtaining location data from a GPS NEO 6M module. The system is powered by a Li-ion battery and includes a TP4056 module for battery charging and protection, with a rocker switch to control power to the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Wi-Fi Controlled Robotic System with Multiple Sensors and Motor Drivers
Image of mit: A project utilizing SEN0189 in a practical application
This circuit is a sensor and motor control system powered by a 9V battery and regulated by a buck converter. It includes multiple sensors (SEN0245, SEN0427, I2C BMI160) connected via I2C to an ESP32 microcontroller, which also controls two N20 motors with encoders through an MX1508 DC motor driver.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Smart Environmental Monitoring System with Relay Control
Image of SOCOTECO: A project utilizing SEN0189 in a practical application
This is a smart environmental monitoring and control system featuring an ESP32 microcontroller interfaced with a PZEM004T for power monitoring, relay modules for actuating bulbs and a fan, and an LCD for user interface. It includes flame, gas, and vibration sensors for safety monitoring purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Solar-Powered Environmental Monitoring Station with GSM Reporting
Image of thesis nila po: A project utilizing SEN0189 in a practical application
This is a solar-powered monitoring and control system with automatic power source selection, environmental sensing, and communication capabilities. It uses an ESP32 microcontroller to process inputs from gas, flame, and temperature sensors, and to manage outputs like an LCD display, LEDs, and a buzzer. The system can communicate via a SIM900A module and switch between solar and AC power sources using an ATS.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with SEN0189

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of women safety: A project utilizing SEN0189 in a practical application
Battery-Powered Emergency Alert System with NUCLEO-F072RB, SIM800L, and GPS NEO 6M
This circuit is an emergency alert system that uses a NUCLEO-F072RB microcontroller to send SMS alerts and make calls via a SIM800L GSM module, while obtaining location data from a GPS NEO 6M module. The system is powered by a Li-ion battery and includes a TP4056 module for battery charging and protection, with a rocker switch to control power to the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of mit: A project utilizing SEN0189 in a practical application
ESP32-Based Wi-Fi Controlled Robotic System with Multiple Sensors and Motor Drivers
This circuit is a sensor and motor control system powered by a 9V battery and regulated by a buck converter. It includes multiple sensors (SEN0245, SEN0427, I2C BMI160) connected via I2C to an ESP32 microcontroller, which also controls two N20 motors with encoders through an MX1508 DC motor driver.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of SOCOTECO: A project utilizing SEN0189 in a practical application
ESP32-Based Smart Environmental Monitoring System with Relay Control
This is a smart environmental monitoring and control system featuring an ESP32 microcontroller interfaced with a PZEM004T for power monitoring, relay modules for actuating bulbs and a fan, and an LCD for user interface. It includes flame, gas, and vibration sensors for safety monitoring purposes.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of thesis nila po: A project utilizing SEN0189 in a practical application
Solar-Powered Environmental Monitoring Station with GSM Reporting
This is a solar-powered monitoring and control system with automatic power source selection, environmental sensing, and communication capabilities. It uses an ESP32 microcontroller to process inputs from gas, flame, and temperature sensors, and to manage outputs like an LCD display, LEDs, and a buzzer. The system can communicate via a SIM900A module and switch between solar and AC power sources using an ATS.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Smart irrigation systems
  • Agricultural soil monitoring
  • Greenhouse automation
  • Environmental research and data logging
  • Gardening and landscaping projects

Technical Specifications

The SEN0189 is a robust and easy-to-use sensor with the following technical specifications:

Parameter Value
Operating Voltage 3.3V - 5.5V
Output Signal Analog voltage (0-3.0V)
Current Consumption < 20mA
Interface Type Analog
Measurement Range 0% - 100% soil moisture
Dimensions 98mm x 23mm
Cable Length 1.5 meters
Operating Temperature -40°C to 85°C

Pin Configuration

The SEN0189 has a simple 3-pin interface for easy integration into circuits. The pinout is as follows:

Pin Name Description
1 VCC Power supply input (3.3V - 5.5V)
2 AOUT Analog output signal proportional to soil moisture
3 GND Ground connection

Usage Instructions

Connecting the SEN0189 to a Circuit

  1. Power Supply: Connect the VCC pin to a 3.3V or 5V power source, depending on your system's voltage level.
  2. Signal Output: Connect the AOUT pin to an analog input pin on your microcontroller (e.g., Arduino).
  3. Ground: Connect the GND pin to the ground of your circuit.

Important Considerations

  • Calibration: The sensor's output voltage varies with soil moisture. You may need to calibrate the sensor for your specific soil type to achieve accurate readings.
  • Placement: Insert the sensor into the soil vertically, ensuring the sensing area is fully covered by soil for accurate measurements.
  • Protection: Avoid exposing the sensor to water beyond the sensing area to prevent damage to the electronics.
  • Power Supply: Use a stable power source to minimize noise in the analog output signal.

Example: Using SEN0189 with Arduino UNO

Below is an example of how to connect and read data from the SEN0189 using an Arduino UNO:

Circuit Diagram

  • Connect VCC to the Arduino's 5V pin.
  • Connect AOUT to the Arduino's A0 pin.
  • Connect GND to the Arduino's GND pin.

Arduino Code

// SEN0189 Soil Moisture Sensor Example
// This code reads the analog output of the SEN0189 and prints the moisture level
// to the Serial Monitor. Ensure the sensor is properly connected to the Arduino.

const int sensorPin = A0; // Analog pin connected to AOUT of SEN0189
int sensorValue = 0;      // Variable to store the sensor reading

void setup() {
  Serial.begin(9600); // Initialize serial communication at 9600 baud
}

void loop() {
  sensorValue = analogRead(sensorPin); // Read the analog value from the sensor
  float voltage = sensorValue * (5.0 / 1023.0); // Convert to voltage (5V system)
  
  // Print the raw sensor value and voltage to the Serial Monitor
  Serial.print("Sensor Value: ");
  Serial.print(sensorValue);
  Serial.print(" | Voltage: ");
  Serial.print(voltage);
  Serial.println("V");
  
  delay(1000); // Wait 1 second before the next reading
}

Notes

  • The analog output voltage decreases as the soil moisture increases.
  • You can map the sensor's output to a percentage value for easier interpretation.

Troubleshooting and FAQs

Common Issues

  1. No Output or Incorrect Readings

    • Cause: Loose or incorrect wiring.
    • Solution: Double-check all connections, ensuring the VCC, AOUT, and GND pins are properly connected.
  2. Fluctuating Readings

    • Cause: Unstable power supply or electrical noise.
    • Solution: Use a decoupling capacitor (e.g., 0.1µF) between VCC and GND to stabilize the power supply.
  3. Sensor Not Responding

    • Cause: Sensor damaged or exposed to water beyond the sensing area.
    • Solution: Inspect the sensor for physical damage and ensure proper usage.
  4. Inaccurate Measurements

    • Cause: Soil type or improper calibration.
    • Solution: Calibrate the sensor for your specific soil type by comparing its output to a known moisture level.

FAQs

Q: Can the SEN0189 be used in saline soil?
A: Yes, the SEN0189 is resistant to corrosion and can be used in saline soil. However, calibration may be required for accurate readings.

Q: How do I interpret the sensor's output?
A: The sensor outputs an analog voltage that decreases as soil moisture increases. You can map this voltage to a percentage value for easier interpretation.

Q: Can I use the SEN0189 with a 3.3V microcontroller?
A: Yes, the SEN0189 operates within a voltage range of 3.3V to 5.5V, making it compatible with 3.3V systems.

Q: Is the SEN0189 waterproof?
A: The sensing area is designed to be inserted into soil and can handle moisture, but the electronics should not be submerged in water.

By following this documentation, you can effectively integrate the SEN0189 into your projects and achieve reliable soil moisture measurements.