Description: This is a simple one-valve irrigation controller made for our greenhouse. The code contains a software real-time clock (RTC) and a multiplexed 8-digit LED display and keyboard you can use in other projects. The operating software is simple, it contains a real-time clock and a day counter. The valve is turned on in regular intervals in the same time. Day setting specifies the number of days between the activations, time setting specifies the time of the day when to start. Duration is the time after which the valve will be turned off. MODE button cycles through clock, start time and duration settings. the interval and starting time set will be stored in the DATA EEPROM. Scheduling can be totally turned OFF by the ENABLE button. Irrigation can be manually turned ON/OFF any time by the START/STOP buttons. Activation/STOP time is displayed in the second line of display. Valve state (ON/OFF) is displayed in the second line, last dot.
The irrigation controller circuit comprises a microcontroller unit (MCU) that integrates both the real-time clock (RTC) functionality and the control logic for the irrigation valve. The MCU is programmed to manage the scheduling of the valve based on user-defined parameters, which include the duration of watering, the interval between watering sessions, and specific start times.
The user interface consists of a multiplexed 8-digit LED display, which serves to present the current time, scheduled activation times, and the valve state (ON/OFF). The display is driven by the MCU through a series of output pins that control the individual segments of the LED digits. A keypad interface allows users to input their settings, including the MODE button for cycling through various configuration options, the ENABLE button to toggle scheduling, and the START/STOP buttons for manual control of the irrigation process.
Data storage for the scheduling parameters is facilitated by the EEPROM (Electrically Erasable Programmable Read-Only Memory), which retains the configuration even during power loss. This ensures that the irrigation schedule is preserved and does not require reprogramming after a power outage.
The valve control is executed via a relay or a transistor switch, which is activated by a digital output from the MCU. The relay or transistor is responsible for controlling the power to the irrigation valve, allowing it to open or close based on the programmed schedule.
Additionally, the system includes feedback mechanisms to monitor the valve state, which is indicated on the display. The second line of the display shows the activation or stop time, along with a visual indicator (such as a dot) that signifies whether the valve is currently active or inactive.
Overall, this one-valve irrigation controller is designed for efficiency and ease of use, making it a suitable solution for automated irrigation in greenhouse settings.This is a simple one-valve irrigation controller made for our greenhouse. The code contains a software real-time clock (RTC) and a multiplexed 8-digit LED display and keyboard you can use in other projects. The operating software is simple, it contains a real-time clock and a day counter. The valve is turned on in regular intervals in the same time. Day setting specifies the number of days between the activations, time setting specifies the time of the day when to start.
Duration is the time after which the valve will be turned off. MODE button cycles through clock, start time and duration settings. the interval and starting time set will be stored in the DATA EEPROM. Scheduling can be totally turned OFF by the ENABLE button. Irrigation can be manually turned ON/OFF any time by the START/STOP buttons
Activation/STOP time is displayed in the second line of display. Valve state (ON/OFF) is displayed in the second line, last dot
A discussion on the application of the PIC16F84 microcontroller for control and robotics, as well as instructions for programming the PIC16F84/A microcontroller. The solar engine is frequently utilized as an onboard power source for BEAM-type robots, sometimes referred to as...
The 16F84 has 13 outputs. All 13 can serve as inputs, but only 12 are normal outputs, one is an open-drain. An open-drain output has no active pull up - you have to provide an external (passive) pull up. Since...
The game Tetris is implemented using a PIC16F84 microcontroller operating at 12MHz. Tetris is a classic Russian computer game where players fit blocks into a playfield. In this implementation, the video signal is generated through software, utilizing only two resistors...
The automatic controller for a chicken coop is designed to automatically regulate light, temperature, and humidity, thereby enhancing egg production and survival rates of chickens. This device is intended for specialized poultry households in rural areas. The circuit operates through...
The 16F84 has 13 outputs. All 13 can serve as inputs, but only 12 are normal outputs, one is an open-drain. An open-drain output has no active pull up - you have to provide an external (passive) pull up. Since...
Affordable PIC Programmer. This programmer is compatible solely with the PIC16F84 microcontroller. It is reliable, as it rarely encounters errors, and functions well with nearly all computer systems, in contrast to some alternatives.
The PIC programmer designed for the PIC16F84 microcontroller...
This project uses only a few of the instructions that come with PicBasic, but serves to show how easy PicBasic really is. It also shows how PicBasic strongly resembles programming the BASIC Stamp. Here we are using the serin command,...
The idea behind this project is to provide some means of loading a program into a PIC that will then be able to program other PICs in a more conventional way. How do you program a PIC to be a...
Using only 2 capacitors, 3 resistors, 4 seven-segment displays, 1 xtal, 2 switches n.o. and 1 Microcontroller PIC, you can build this Digital Led Clock. You can use common anode or common cathode display, just select the display type. Here...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more