Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




2600 posts

Uber Geek
+1 received by user: 89


Topic # 226019 15-Dec-2017 20:00
Send private message

Hi

 

I'm looking at building my own indoor plant watering system.  I'm not sure if I should use a Pi or Arduino to run it.  I'm guessing I should probably use both ie an Arduino to control the pumps and feedback sensor data to a Pi with the Pi deciding when to water the plants.

 

I currently have a xiaomi hub with home assistant on a pi.

 

I have 4x pot plants I want to automate in my conservatory.  I would want 5x water sensors and 8x pumps.  The water sensors need only report the presense (or absence) of water in the overflow saucer at the bottom of each pot and the presence or absence of water in my water reservoir.  For the pumps I would probably use 12 volt peristaltic pumps.  I would use peristaltic pumps to pump water out of the overflow saucer at the bottom because they still work if you get air in the tube, and they don't mind if the tube gets dirt in it.  For pumping water to the plants from the water reservoir I would probably use the same pumps just for ease of use.

 

So each plant has
1x water sensor in the water overflow saucer under the plant.
1x pump which can pump water from the overflow saucer into the potplant
1x pump which can pump water from a reservoir into the plant.

 

Additionally there is a shared water reservoir (tank) which contains a sensor to alert the human when it is empty and also to not try to pump water out of the tank when it's already empty.

 

The logic for each plant water system would be as follows:

 

Every morning check if overflow saucer under the plant has water in it.
- If overflow saucer under the plant has water, then pump water from saucer into the plant until their is no water in the saucer then stop and don't water the plant today.
- Else check max temperature over the last 24 hrs and compare it to a table of values to see how long to pump water from the water reservoir into the plant.  If during the pumping of water, there is water detected in the overflow saucer then stop watering the plant.  If during the pumping of water the water reservoir is empty then stop pumping and alert the human to fill up the water reservoir.

 

In the evening check if their is water in the saucer under the plant, if there is pump the water out of the saucer and into the plant.

 

What hardware would you recommend for a small computer (Pi/Arduino) to be able to interface with 5x sensors and control 8x pumps (probably having a 12volt relay on each pump?)

 

Instead of using a pump I could use a solenoid valve and mains water pressure, but I don't want to risk flooding my house!





HTPC: Intel i3-2100 / 12GB RAM / AMD HD7750 / 480 GB SSD / 58TB Storage / MediaPortal / MadVR / Win10
AVR: Pioneer Elite SC-LX87 220W 9.2 Ch AVR
Speakers: Wharfedale Jade 7 Fronts / Jade 2c Center / Jade 5 Rears
Subs: iNuke 3000dsp 3000W proamp with 4x 15" JBL Sealed Subs
Display: Samsung 60" UA60H6400 LCD TV
Accessories: Gefen HDMI Detective with splitter


Create new topic


2600 posts

Uber Geek
+1 received by user: 89


  Reply # 1920362 15-Dec-2017 20:06
Send private message

In terms of my experience

 

I am new to Pi / Arduino / Linux and soldering, but I am quite good with computers and tinkering with electronics and I've done some basic programming in other languages before.





HTPC: Intel i3-2100 / 12GB RAM / AMD HD7750 / 480 GB SSD / 58TB Storage / MediaPortal / MadVR / Win10
AVR: Pioneer Elite SC-LX87 220W 9.2 Ch AVR
Speakers: Wharfedale Jade 7 Fronts / Jade 2c Center / Jade 5 Rears
Subs: iNuke 3000dsp 3000W proamp with 4x 15" JBL Sealed Subs
Display: Samsung 60" UA60H6400 LCD TV
Accessories: Gefen HDMI Detective with splitter


20911 posts

Uber Geek
+1 received by user: 4110

Trusted
Subscriber

  Reply # 1920378 15-Dec-2017 21:10
One person supports this post
Send private message

I will add one thing to this. You will see all over the place "soil moisture sensors" that are a PCB with exposed areas on them. Do not bother. They die quickly and give hopeless readings. Corrosion occurs because of current thru them and the damp dirt.

 

There was a post recently all over hack a day etc with someone making a drink bot based on some pumps and arduino. Perhaps a good start looking at what they controlled the motors with.





Richard rich.ms

 
 
 
 


Try Wrike: fast, easy, and efficient project collaboration software
13749 posts

Uber Geek
+1 received by user: 2392

Trusted
Subscriber

  Reply # 1920465 16-Dec-2017 08:28
Send private message

All you need is a small 600ml bottle with the bottom cut off, upside down, filled with water. Might need the lid on with a hole in it to limit flow. Or something like this, which is cheap.





AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer


2521 posts

Uber Geek
+1 received by user: 913

Subscriber

  Reply # 1920570 16-Dec-2017 15:36
Send private message

For reliable soil moisture readings, you need to pass AC through the measurement probes. Which of course is more complex than DC.







2600 posts

Uber Geek
+1 received by user: 89


  Reply # 1920609 16-Dec-2017 17:20
Send private message

From what I've read moisture reading of soul was Somewhat unreliable. Which is why i wasn't going to rely on that.




HTPC: Intel i3-2100 / 12GB RAM / AMD HD7750 / 480 GB SSD / 58TB Storage / MediaPortal / MadVR / Win10
AVR: Pioneer Elite SC-LX87 220W 9.2 Ch AVR
Speakers: Wharfedale Jade 7 Fronts / Jade 2c Center / Jade 5 Rears
Subs: iNuke 3000dsp 3000W proamp with 4x 15" JBL Sealed Subs
Display: Samsung 60" UA60H6400 LCD TV
Accessories: Gefen HDMI Detective with splitter


Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Opera launches new mobile browser: Opera Touch
Posted 25-Apr-2018 20:45


TCF and Telcos Toughen Up on Scam Callers
Posted 23-Apr-2018 09:39


Amazon launches the International Shopping Experience in the Amazon Shopping App
Posted 19-Apr-2018 08:38


Spark New Zealand and TVNZ to bring coverage of Rugby World Cup 2019
Posted 16-Apr-2018 06:55


How Google can seize Microsoft Office crown
Posted 14-Apr-2018 11:08


How back office transformation drives IRD efficiency
Posted 12-Apr-2018 21:15


iPod laws in a smartphone world: will we ever get copyright right?
Posted 12-Apr-2018 21:13


Lightbox service using big data and analytics to learn more about customers
Posted 9-Apr-2018 12:11


111 mobile caller location extended to iOS
Posted 6-Apr-2018 13:50


Huawei announces the HUAWEI P20 series
Posted 29-Mar-2018 11:41


Symantec Internet Security Threat Report shows increased endpoint technology risks
Posted 26-Mar-2018 18:29


Spark switches on long-range IoT network across New Zealand
Posted 26-Mar-2018 18:22


Stuff Pix enters streaming video market
Posted 21-Mar-2018 09:18


Windows no longer Microsoft’s main focus
Posted 13-Mar-2018 07:47


Why phone makers are obsessed with cameras
Posted 11-Mar-2018 12:25



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.