The purpose of my project to get some plants with good health and gain a lot of tomato .
A natural plant without any chemicals to increase growth or pesticides that are harmful to health.
This system helps produce healthy fruits at home, facilitates home cultivation in small spaces, and periodically monitors plant health to ensure proper growth.
In our current era, technology has become a major part of our lives, so I am thinking about how to use it to develop a smart farming system that serves the environment and helps everyone to farm at home smoothly. While browsing Facebook, I was inspired by a beautiful farming system for growing grapes, which plays a role in produce fruit and provide an attractive view of the roof, adding a beautiful touch and a refreshing vibe to the roof.
Arduino box design
the lower plate for hold the Arduino and relay and step down converter and bread board .
and the upper plate for holding lcd screen and on\off switch .
we have hole for the power source and wires of water level sensor , water pump which allocate in the tank
design the pvc pipe for the water planet based which planet would fit on it.
It is designed to fit the water dispenser so that it interlocks with it and secures it in place without moving, even during strong water pressure, and prevents water from escaping outside.
and have place for water level sensor
water tank
it is designed to keep water and have 2 holes for the pipe and wires of sensor and pump
water dispenser
the main purpose is distributing water to plants and creating an ideal water cycle without wasting resources
water level sensor holder
To install the sensor in a location where it will give accurate and appropriate readings for the location in which it is placed.
open laser work and import files in dxf and choose cut from setting mount the wire between machine and laptop
choose the configurations
speed 300 and power 35
then press download
on machine press menu and choose the same file name you download previously then
press origin to make the laser start from the same point we mention it
press frame to see the size of design on real plate
press start to begin the cutting
open ultimaker cura and open stl file and press slice
standard quality 0.2mm
infill density 20%
generate support with structure tree
then plugin the flash memory to laptop and press save to the disk
take the flash memory to the 3d printer insert it to machine then choose file and start printing
water level sensor buzzer - (green - yellow - red)
lcd screen 2*16 - water pump
positive of pump connect to NC of relay
negative pump connected to negative adaptor
every led have two sides one of them is shorter and connect to the ground and other connect to arduino pins
we need to add resistor 220 ohm because leds need 3.3v and arduino give 5v
red at pin number 4
yellow at pin number 3
green at pin number2
have two sides one of them is shorter and connect to the ground and other connect to Arduino pins
the positive side connect to A1
connect vcc to positive sign of bread board
and grd to ground or negative sign of bread board
SDA from lcd to pin number A4
SCL from lcd to pin number A5
A switch with three -legs, the middle one is connected to the ground.
and other connected to pin number 9
we use one power source (12v adaptor ) to Arduino and water pump
for arduino we use step down converter wire with grd and Vin
for pump we connect negative sides each other and the positive wire of adaptor with common relay
adaptor 12v for pump& step down converter give 5v for arduino
resistor 330 ohm
buzzer need 5v
bread bord
arduino uno
red , green , yellow led 3.3v
water level sensor
water pump i need 12v for my water pump to make the water reach high up to 50 cm and go through water dispenser to reach the planets
relay
step down converter
arduino wires
wires and jumpers
m3 screw
wooden plates
3d printer filaments
black electrical tapp
drill
screw driver
pvc pipe
jar 15cm diameter and 25 height
include libraries from tools > manage libraries > search and install
" void setup " & " void loop "
first we need to define every component to arduino pins
and initialize values
set sensor as input
and buzzer , leds and motor as output
make condition for controlling the pump when no water using relay
and the red led light up and buzzer make high sound
when sensor reads high level of water the green led light up and the pump workig
make manual switch for normal control
when the level of water is low or there is no water the buzzer give high sound and red led light up and the lcd give empty .
when sensor get in the water with specific level give high level and lcd give high level and green led light up
the water have continues flow in normal state when high level of water sesnor read
but when the tank have low level of water the pump stop working or the user stop the pump using the on \ off switch
it works when the water level sensor reads high level of water and stops when low or press off switch
my instructor Hazem give me advice about adding on \ off switch for the project for user to control the pump and simple usage
i stuck with wiring the power source with Arduino and pump and same time when we have differences between voltage the Arduino need 9v and component 5v and 3.3v and pump need 12v
so we use step down converter to Arduino that make Arduino safe from converting the higher voltage into heat or damage Arduino with continuous work
Adding an elegant touch to the project and also designing a pipe holder.
to make it stand up in 90 degree using 3d printing