How to make an automatic irrigator for your home plants

It is a little circuit PIC16F876A based, that with a relay and some little commands is able to give water automatically to your home plants and flowers. You only have to connect with a little pump, like those used in nativity scenes, select the time interval (every three or five days) and the time to let running the pump.

pic16f876a automatic irrigator

Five leds in the bottom of the box show the timer running and how long it will turn on the pump. The potentiometer connected at the A/D converter send to the program the time we want to let the pump running (1 to 10 seconds). There's a selector for choosing the 3 or 5 days interval, and a button to reset the timer and immediately start the pump.

pic water control

pic water control

This is the PIC microcontroller. In the left you can see the jumper for
the chip programmation using the ICD programmer. You can also see the
two voltage regulators used, a 7812 for the relay and the 7805 for the
rest of the circuit.

16f876

This photo shows the female high-voltage connector and the relay controlled by the big transistor, visible in the bottom left.

pic16f876a

Here is visible the female connector where we will insert the pump plug.


AttachmentSize
Schematic (PDF format)24.1 KB
Schematic (EAGLE format)34.16 KB
PICC C source file1.04 KB