How to Build a Solar Smart Livestock Watering System with Automatic Refilling, Water Level Monitoring, Animal Drinking Records, and Solar Power

KSEF Agriculture Project

Abstract

Livestock require a constant supply of clean water for proper growth, milk production, reproduction, and disease prevention. Many farmers face challenges such as water shortages, overflowing troughs, labor-intensive watering routines, and inability to monitor water consumption.

This project develops a Solar Smart Livestock Watering System that automatically monitors water levels, refills troughs when necessary, records animal drinking patterns, and operates entirely on solar energy. The system reduces labor costs, prevents water wastage, and improves livestock management through real-time monitoring.


Introduction

Livestock such as cattle, goats, sheep, rabbits, and poultry require regular access to water.

Challenges faced by farmers include:

  • Water troughs running dry.
  • Overflowing tanks.
  • High labor costs.
  • Poor monitoring of animal water consumption.
  • Inconsistent water availability.

This project provides an automated solution.


Objectives

Main Objective

To design and construct a solar-powered livestock watering system capable of automatically supplying water and recording drinking patterns.

Specific Objectives

  1. Monitor water levels continuously.
  2. Automatically refill troughs when water levels fall.
  3. Record animal drinking frequency.
  4. Operate using solar energy.
  5. Display water usage data.

System Overview

https://images.openai.com/static-rsc-4/HD2K2mXJrxfwGGTueaKhOd2Tr_0xEfytTyvJlA4ChSZ18PP9tZwDMLJk6_-GFpPCYZ3SxLXaEvgKADh5QnTgGaYGl0Alr96nkdBiJ9L5aGgkpi27Q1KTxSjAU5VjA6iwFGlBNkHDW2mEuEvDgRlc7u7iiPVFWM7XwEgJlWYO-q_I9wWq-iJdefNSJlVfVgyE?purpose=fullsize
https://images.openai.com/static-rsc-4/9hbNE1V56pvX8ctzBJ8m6iHNRt2bBA_fwDEYaX8FaRycYXtMWLcgnhnIxGtXi6-_bZsxeuA0io1kvpZHFbfDre4a8NUgCVnKlZ74SsjKxVQkMsbpgLXG3PoUvmVqgVapa45BUthXqwX-vuBkuBatNLi9BXr7bEC6xTAUFOFhE1YYCTsf8AajvzwcfQFEETyR?purpose=fullsize
https://images.openai.com/static-rsc-4/V0s-xFjsBqCKd4cohamMI3O86HQx2mgRsv6gUGvliDPLgT5KTpkt3oYkE0fHosg5vEWIbWvppZePcbT-b6u765y5mNXFE92surt7NP7E7f6wvXMBEcNI0hz-yjZUMhqe8sq8Hy03MqKeNpD2lBCAqE4H8_b_-TzRBYkjJfNVS5AWNhCD0HFX76wuTXX2Q6Ll?purpose=fullsize

6

The system continuously checks the water level.

When the water drops below a preset level:

  • Water pump starts automatically.
  • Tank refills.
  • Water level returns to normal.
  • Pump switches off automatically.

Animal visits are recorded and stored.


Materials Required

ComponentQuantity
Arduino Uno1
Ultrasonic Water Level Sensor1
Flow Sensor1
Solar Panel (20W–50W)1
12V Battery1
Charge Controller1
Water Pump1
Relay Module1
LCD Display1
RFID Reader1
RFID Animal TagsSeveral
Water Tank1
Water Trough1
PipesAs required

Working Principle

Step 1: Water Monitoring

The ultrasonic sensor measures water depth inside the trough.

Normal Condition

Water Level > 60%
Pump OFF

Low Water Condition

Water Level < 30%
Pump ON

Step 2: Automatic Refilling

https://images.openai.com/static-rsc-4/CcroI2dE4j3yEaDM_pFTws-6z6Wy9o7mNECGjt-Wia_pMoc1204KdEik-I7xPnIexibeQ3y9kqhN0emskUhW4BLU3JyA1kKta1Dgbhih1PHEMP8VcxBZHsy70hNHfWEeJC1SO0JaLz2I4_omi1aDz-K-4sUHxHhnR6sqh1Fr_oPbWs5jUM0N8sTbbZl442Ss?purpose=fullsize
https://images.openai.com/static-rsc-4/TxJz9fU_yKFWy1MxscHmFV3keJh8HqNChU4Zm6mowC5ad2GPPEcr77Q_ZV9PlIW3OYgdt4FtYiJyZR8HTqT2W9VFX7mYgaNS3VVIrpI-tgsIDzjw0gbChfEC1UY2f_q2QqO59dC0D6s0BBxUi1sOm7_Kw1mamXUS292uJNO2Uzw3liDYnINRMlWyYH9n253T?purpose=fullsize

5

When water level becomes low:

  1. Arduino receives signal.
  2. Relay activates pump.
  3. Water enters trough.
  4. Sensor continuously monitors filling.

When water reaches maximum level:

Pump OFF

This prevents overflow.


Step 3: Animal Drinking Records

Each animal wears an RFID ear tag.

When an animal approaches:

  • RFID reader identifies animal.
  • Drinking event recorded.
  • Date and time saved.

Example Record:

Animal IDTime
Cow 0018:30 AM
Cow 0039:05 AM
Cow 00111:15 AM

This helps farmers monitor:

  • Sick animals
  • Dehydrated animals
  • Feeding behavior

Smart Monitoring Section

https://images.openai.com/static-rsc-4/92eMZw578Li9EoJ8eeLHnEr7uXhzgZrLL0iEx3ZCAYbnYWKnBconcn60GcWk2WGhKLC77q9xz92Tuu3PWZnMvSpN9J28OeFIiQ7JlME_XXSNs7cIMFfph2ORc_RvYopkiI-V4zwXubiKFr_DkEYSRDqZVugqWblMv0c7reSP5x29B2sKPX6uy35LnW2YKXQe?purpose=fullsize
https://images.openai.com/static-rsc-4/uXrokOJ7pI8P3gHblrZSB1ZAHGXR2qvX_qYHXBrMM0AVPf7ID6Xophjp7CCMQme6P9_Na1hrkpCLiTqZqJv9EU_gJIlWWe-2by2oPlZpgYBQ4KKJF8lJWyHGkyJ2V2pUUJ5nYy0l754IvEaqzuK9Pmi_JuK5LevZPsuZMh3oitnQMWQKlDRbFaJHTY2oAYep?purpose=fullsize
https://images.openai.com/static-rsc-4/ZhuAIkYy5U-qNLNlExY9cfoFP_XuJiW_plxBJIgckT8R_G3ygwNr4vL8mL2Q5esz-RzYZAlhSRBS31KXHr3K4iaUkxwB3aXTw2hajH5Nh7UovFu9PTjtDD2ATyjIC2CO38FrtzWn2XBawES_8PTOsMIR65uJUVkNfU0TsM3WbTMRqsIRrK_EUo_hVbjKrpFT?purpose=fullsize

5

The LCD can display:

Water Level: 78%

Today's Visits: 145

Pump Status: OFF

Battery Level: 92%

Solar Power System

Components

  • Solar Panel
  • Charge Controller
  • Battery

Advantages

✔ No electricity bills

✔ Suitable for remote farms

✔ Works during power outages

✔ Environmentally friendly


Solar Section

https://images.openai.com/static-rsc-4/VQL9lVsQ1Y8oz1rPIumva94ZvJcw2TvEw-XZQULsJKQFxoKjxlcuoYj98Ti5cteQfFJe_1e384YuSnB3bKlk0HRPKwFulhbRrcBzYFMFqsO3gZfcGXLKCZodz2OryxWT-umYplA_AX3q5wJ86bEitY5oCQrUqhjEk74uE8Dt7p8QxNA9ka2xWWvrbfnyLeLx?purpose=fullsize
https://images.openai.com/static-rsc-4/HD2K2mXJrxfwGGTueaKhOd2Tr_0xEfytTyvJlA4ChSZ18PP9tZwDMLJk6_-GFpPCYZ3SxLXaEvgKADh5QnTgGaYGl0Alr96nkdBiJ9L5aGgkpi27Q1KTxSjAU5VjA6iwFGlBNkHDW2mEuEvDgRlc7u7iiPVFWM7XwEgJlWYO-q_I9wWq-iJdefNSJlVfVgyE?purpose=fullsize
https://images.openai.com/static-rsc-4/lr5fg-w7Qh6sW-K1WIvnYV8QGNUShDa617IXMYhIP5bHhdY8KC5dHK8QTddlNk6nUjZgPe4hKlAAcExdsafThS6FAHoAJhKdtdxKlacxsLTFve0LAi8VVrNp6yYVZ0BrO93CN7LxQiCIVjFRs-DboSijMvZQxBQJ9i1Mr51L5S_VqehXuK6paDs5kGnDHd08?purpose=fullsize

6

The solar panel charges the battery during the day.

The battery powers:

  • Arduino
  • Sensors
  • RFID Reader
  • Pump
  • LCD Display

Day and night operation is achieved.


System Block Diagram

                SOLAR PANEL


CHARGE CONTROLLER


BATTERY


ARDUINO

┌────────────┼────────────┐
▼ ▼ ▼
Water Sensor RFID Reader LCD


Water Level


Relay


Water Pump


Livestock Trough

Data Collection

Monitor for 30 days:

Parameter
Water Used Per Day
Number of Animal Visits
Pump Operating Time
Water Saved
Animal Drinking Frequency

Expected Results

ParameterBeforeAfter
Labor RequirementHighVery Low
Water WastageHighMinimal
Water AvailabilityInconsistentContinuous
Animal MonitoringNoneReal-Time
Energy CostHighNear Zero

Innovation Features

Artificial Intelligence Upgrade

Future versions can:

  • Predict water demand.
  • Detect sick animals.
  • Identify dehydration risks.

GSM Notifications

Farmer receives SMS:

ALERT:

Water Tank Low.

Refilling Started.

Battery Level 85%.

Mobile App

Monitor water levels remotely.

Cloud Storage

Store animal drinking history.

  • mbeva

    Dominic Mbeva is a science teacher, experienced researcher, innovator, and creative technologist with expertise in STEM education, digital media, and scientific research. As a Kenya Science and Engineering Fair (KSEF) advisor and projects manager, he mentors young scientists, guiding them in developing award-winning innovations. He is also an IC Technorat, leading advancements in science and technology. Beyond education, Dominic is a skilled photographer and video editor, using visual storytelling to make science more engaging. His philosophy, “If you take care of minutes, hours will take care of themselves,” reflects his belief in consistent effort, strategic thinking, and innovation to drive success in both research and creativity.

    Related Posts

    How to Make a Smart Agricultural Pest Detection and Repellent System Using Artificial Intelligence and Computer Vision

    AI-Powered Solar Smart Farm Protection System Project Category Agriculture / Smart Farming / Artificial Intelligence 1. Introduction Birds such as quelea, weaver birds, and crows, together with monkeys and baboons,…

    Read more

    HOW TO MAKE HYBRID AI-GSM SOLAR DESALINATION AND SMART WATER PURIFICATION PLANT

    A Climate-Smart Water Solution for Rural Communities Access to safe drinking water remains one of the greatest challenges in many rural and arid regions. Water sources are often contaminated by…

    Read more

    Leave a Reply

    Your email address will not be published. Required fields are marked *