Irrigation hose reel project.

HI

I'm new on arduino and its my first time commenting in this community.
I just started a project that i dont know anythink about, coding,C++,C#,arduino?????

The project is about an automotion in irrigation hose reel, its about contoling the water valve with probably a servo motor.

what it must do is by controling the servo at the water valve u will make the water flow less,if the water flows less then more time it will take for the irrigation reel to finish.

for example, i want to build an arduino with lcd screen which i will attach on the hose reel and i could command from it on how fast or how much time will the hose reel finish at.

question 1: is it possible do smthing like this with arduino, or what else can i do.
question 2: is it possible for me to do somethink like with with out knowledge about coding.
question 3: did anyone else made somethink like this

thank you

irr-hose-reel.jpg

question 1: is it possible do smthing like this with arduino, or what else can i do.

Yes, it is possible.

question 2: is it possible for me to do somethink like with with out knowledge about coding.

No, you will need to learn programming.

thank you for your answer , where u suggest me to start?

could you tell me what parts do you think i will need ?

Why are you even proposing the use of an Arduino if you don't want to learn about programming it?

For now, lets concentrate on the valve you want to control. Describe the valve and how you would attach a servo to it. How many turns will it take to completely open the valve? Do you have a servo in mind that has enough power to open and close the valve? How will you supply power to the Arduino and to the servo?

Paul

thank you

First of all i didnt say i dont want to learn programming it, i want to learn.
i want to be capable of understanding the problems that occurred and solve them,
i want to learn code on my own but i need to start from somewhere, i have a lot time but i dont know basicly where to start from. Taking lessons for proggraming on a private school or classes its not possible for me cause im too busy.

The are 2 types of valves

1st type is taking only 45 Degree to fully open
2nd type need more Degrees to open ( i dont know exactly how much, but soon i will learn it maybe smthing around 6 fully turns).

i was thinking the motor from windshield of a car, but even if it just a servo motor is enough to open the valve cause its only need about 3 kg MAX to open.

i can use or change the type of the valve that is not a problem,

about how i will power them up is a car battery, 12v 100ah i think its enough to power it up for 1 month or more, i could keep 2 batteries and change them when is gonna end.

motor.jpg

valve 45deg.jpg

valve.jpg

soukri:
i want to learn code on my own but i need to start from somewhere

Many times every day, users register to this forum and log in for their first time, often with projects well above their ability. We are all here to expand our proficiency in Arduino. Here is my advice on where to start. Never blindly copy code that you don't understand. Instead, write your pseudocode in your own words, what actions you expect, then work to replace those words with code. Break the complex project into smaller "chapter" projects (e.g. if your project requires talking to another machine over a network, tackle simply sending and receiving serial data before adding Ethernet or Wi-fi). When looking at example code from any source, if you can't read it, or understand it, don't use it. Be active on this forum. When someone asks a question, even if you can't answer it for that person, try to learn the answer for yourself. I would start with a tutorial book. I started with some project books such as, "Arduino Cookbook" By Michael Margolis. I have listed more of books that I have benefited from below.
"C Programming Language" by Brian Kernighan and Dennis Ritchie
"The C++ Programming Language" by Bjarne Stroustrup
"The Elements of Programming Style" by Brian Kernighan and P. J. Plauger
"Essentials of Flowcharting" by Michel H Boillot, Gary M Gleason and Lister Wayne Horn
"Code Complete" by Steve McConnell
"Clean Code" by Robert C. Martin

You can buy fairly cheap motorized ball valves (that's the type of valve shown in the second picture you shared). That will simplify the project quite a bit. However, if you need precise control of the water flow rate the ball valve is not ideal because a small rotation makes a big difference in the valve aperture.

A needle valve will give you the best control, followed by a gate valve. The third picture you shared is probably a gate valve but it could be a needle. I haven't seen cheap motorized needle or gate valves but I also haven't actively looked for this sort of valve.

A valve with very precise control via a servo or encoder or stepper will likely be more expensive so if you need that sort of precision the DIY approach might make economic sense (as well as being fun).

To get started learning programming you can start working through the example code included with the Arduino IDE under the File > Examples menu. Use the associated tutorials:

and the Arduino Language Reference:

to help you understand what every line of code in each example does before moving on to the next example. You don't necessarily need to do all the examples, only the basic ones and then the ones that are relevant to your project. Most of the examples will only require some cheap extra components that will be useful to have anyway.

Thank you Perehama for your quote, i will take a look on the refferences.
i will be active trying to answer questions but my understanding are more on mechanical side.
i can build a lot of thinks, welding, cutting, lathe and almost anythink. i did a lot of DIY thinks but all was mechanicaly never anythink on arduino or servos.

i have a lot of time and im learning a lot of thinks fast, and i realy want to learn programming.

thank you
soukri

Pert

yes it is possible i could use other valve, but i think making my own its more fun.
the valve its not a problem.

take a look at this

think this will get attached on the hose, smthing like this will show how much meter per hour it will take
for the reel to finish.
the system is gonna be simple, choosing on how much time i can arange it to finish or how much time left to finish, i could put a water pressure sensor but i dont see any need of it.

its all about controling the valve.

I know its not that simple and i know that i will not finish it in 1 week and we are good.
this is like a challenge for me, i need to do it.

i will take a look on the links u send.

thank you a lot
soukri

soukri:
Thank you Perehama for your quote, i will take a look on the refferences.
i will be active trying to answer questions but my understanding are more on mechanical side.
i can build a lot of thinks, welding, cutting, lathe and almost anythink. i did a lot of DIY thinks but all was mechanicaly never anythink on arduino or servos.

i have a lot of time and im learning a lot of thinks fast, and i realy want to learn programming.

thank you
soukri

Lesson 1: "think", "thinks", "anythink" etc. are spelled "thing", "things", "anything"

perehama

of course, here is a lesson that you forgot to learn.
Focus on the problem, not on grammary.

thank you!

soukri:
perehama

of course, here is a lesson that you forgot to learn.
Focus on the problem, not on grammary.

thank you!

I didn't mean offence. Grammar (syntax) is a very important part of coding also.

Your description is the same amount of water goes on the field, no matter how the valve is set. Lower flow means the sprinkler just moves more slowly and the width of the coverage is also narrower.

What problem are you trying to solve with this project?

Paul

the coding part.

I dont know anything about coding,

We've been over this. You don't know coding. You want to learn coding. I told you how to get started learning coding. So get started and then when you run into something you can't figure out come back here with specific questions and we'll help you out.

You talk about using a servo to open a valve but then post a link to video of a distance measuring device.
What does "think this will get attached on the hose, smthing like this will show how much meter per hour it will take
for the reel to finish" mean, what does it have to do with opening a valve?

I think you need to describe your project more clearly.

Servo motors normally only move 180degrees. If you want to turn a valve multiple times using a servo then you would need to use gearing but that would reduce the accuracy with which your could position the valve.

You need to correctly size the servo so that it has enough torque to operate the valve. You mention 3kg but that is meaningless, is could be 3kg at the end of a 1m lever or 3kg 1cm from the valve shaft centre - you need to know the torque.

I suggest you get an Arduino starter kit with a toy servo and work through it and the tutorials on this site.

If you do the analysis of this project correctly, you will discover a valve on the feeding end of the water supply has very little to do with the reel speed, after the valve is opened a bit.

The orifice on the sprinkler head is the control of the water volume, not a valve on the supply.

Paul

thank you ardly.

Let me tell you the concept.

There will be a Box, this box will get attached on the hose reel i dont know exactly where but somewhere.
It will contain.
1)an arduino ( i dont know which one, probably arduino uno)
2)a battery 12v to power up the arduino
3)a screen (tft lcd,tft,liquid crystal etc.)

then, there is a valve which i will have to program a servo OR another electrical motor which is not the problem , i could make like u said a gear system but its not necessary cause there will be dust, water, and the gear need lubrication after time, i could make a chain system but there is no need to make thinks complex, i will attach a metal like ( l_l ) on the servo or other electrical motor to turn the handle of the header.

the video which i post is the meter measure, something similar to this will get attached on the hose, which will show how far away the reel is. even this is not the problem.

The problem like i said is coding, i dont know anything about BUT i start learning today with babysteps.
I know that it will take time to learn, but i will learn it anyway.

thanks to Paul and others who suggest me some books and link to look at to start learning.
and thank you for asking and trying to help.

thank you paul

The blue arrow show the water intake, the water powers the water turbine which gerate kinetic energy to power the transmision,

There is the By-pass and on it there is the valve, the valve alone its not making the reel to go faster, there are 2 gears in the transmision which you can choose, But almost allways you choose the 1st gear, then you make the little tweaks on the valve which it makes a difference.

I'm reading you suggestions and thank you.

I would look at the mechanism that stops the reel automatically when it’s full and hook up a actuator to use that as “speed” control.