Several people have asked where they can buy the sourcecode and construction plans from. I don't have any "real" documentation, but here in the description is a list of materials and links to the source code. You can use it as you wish, but feel free to hand me a tip is you feel like it ([ Ссылка ]).
The watering system consists of two parts. This is the manifold part of the system - this is the part that goes out in the garden. The other part is the faucet part - which is the part that is connected to the faucet.
The manifold part has a flow sensor on the input, and a solenoid valve on each of the 48 outputs. It is then possible to adjust the amount of water fed to each plant/tree.
When the watering system starts, the manifold part request the faucet part to turn on the water via a rf2g4 module.
The faucet part can also control a water pump so I can use collected rain water from my cistern.
For this test the first output was set to 0.1l, the second to 0.2l, the third for 0.3l.... The tenth for 1l, the eleventh for 0.1l,thr twelfth for 0.2l, and so on, ending with 0.8l on the 48th output.
Now the only thing missing is the summer...
And thanks to my friend John for making the actual manifold from two 50x50x1000mm nylon blocks that is then boltet together.
[ Ссылка ]
I dont' have any real documentation, but you can have what I have. I have bought most of the parts on ebay (except from the wood and the nylon for the manifold). Total cost is about 3.500 dkk (~470€ / 530us$)
The faucet part is the simplest:
1 arduino nano
1 solenoid valve (fairly good quality, since this is that mains supply)
1 relay board for the water pump
1 nrf24 for communication (with external antenna. Note the one in the link has a really bad ground plane, See the picture on +g how I solved this issue. [ Ссылка ])
The waterer part:
1 arduino nano
6 74hc595 shift register (total of 48 outputs)
6 uln2804 for driving the valves
48 solenoid valves (as cheap as possible, since mains is switched off it is not important if these leak a bit. I got these: [ Ссылка ])
1 Water flow sensor ([ Ссылка ])
1 bluetooth module (however I how not implemented it in software yet.
1 nrf24 (with external antenna, [ Ссылка ])
The electronics are fairly simple to connect, but I can make a schematic or maybe just write down the connections... I would anyway like to have the project documented a bit.
The code was my first try with arduino sketch. I really didn't like sketch, so after a while I ported it to eclipse. However, I did not clean the code up nicely, so please do not judge my skills as a software engineer upon this bit of code ;) [ Ссылка ]
I have a few picture on +g. [ Ссылка ]
Also, see the other video, where it is actually running in the fiels. [ Ссылка ]
Good luck
Ещё видео!