- Introduction
- Features
- Hardware Requirements
- Software Requirements
- Installation
- Code Explanation
- License
The Smart Farming System is a project that uses Arduino to automate and monitor various aspects of farming. This system is designed to increase the efficiency and effectiveness of farming by automating tasks and collecting data that can be used to improve farming practices.
- Temperature and Humidity Monitoring: The system uses a DHT sensor to monitor the temperature and humidity levels in the farm environment.
- Distance Sensing: Ultrasonic sensors are used to detect the presence of objects or obstacles in the farm.
- Light Intensity Detection: Light detectors are used to monitor the light intensity in the farm environment.
- Alert System: A buzzer is used to alert the user when certain conditions are met, such as when an object is detected by the ultrasonic sensors.
- Fan Control: A fan is controlled based on the temperature readings from the DHT sensor.
- LED Indication: An LED is used to indicate when the light intensity exceeds a certain threshold.
- Arduino IDE
- Clone this repository to your local machine.
- Open the Arduino IDE.
- Load the
.ino
file from the cloned repository. - Connect your Arduino board to your computer.
- Upload the code to your Arduino board.
The code for this project is written in the Arduino programming language. It includes several functions to read data from the various sensors and control the fan, buzzer, and LED based on the sensor readings.
The setup()
function initializes the pin modes for the sensors and output devices and starts the serial communication.
The loop()
function continuously reads data from the sensors and controls the output devices based on the sensor readings. It also prints the sensor data to the serial monitor.
This project is licensed under the MIT License - see the LICENSE.md file for details.