Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. MySensors Hydroponics Greenhouse project

MySensors Hydroponics Greenhouse project

Scheduled Pinned Locked Moved My Project
23 Posts 7 Posters 6.6k Views 10 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Nick WillisN Offline
    Nick WillisN Offline
    Nick Willis
    wrote on last edited by
    #8

    This looks very interesting! I also want to get my gardening more automated as I live in an apartment with a roof terrace which makes using soil hard work (no lift/elevator and we're on the 5th floor!). I grow tomatoes, peppers, chillies etc but keeping up with the watering on my south facing terrace is hard work. Fertilising regularly is even more hard work. I installed a basic irrigation system but I've not been successful in mixing in liquid fertiliser at the right concentrations. So I'm back to measuring it into a watering can which takes forever.
    So I'm wondering if hydroponics might be the way to go. What sort of equipment are you using for hydroponics? Would it work if left outside without protection in the rain etc? If not then maybe I'm better trying to improve on my irrigation system.. and somehow finding a way to operate it with fertiliser at a specific concentration.
    Will follow this all with interest...

    1 Reply Last reply
    0
    • ThucarT Offline
      ThucarT Offline
      Thucar
      wrote on last edited by Thucar
      #9

      First of all let me emphasis that this is going to be my first hydroponic setup. So I have no experience to draw on. That being said, I am seeing a lot of information on outdoor hydroponic setups. Rain water getting into your solution is to be prevented as much as possible, but it’s no disaster if some does end up in your tank.

      For tomatoes, peppers, cucumbers and other tall plants, people seem to prefer something like the Dutch bucket system. If you get buckets with lids, you can just drill a 2 inch hole for the plant to poke through and keep most of the rain out.

      For smaller plants like leafy greens, herbs and such, the PVC pipe system seems great. You could set it up either as a NFT or a Flood&Drain system. The benefit again is that the rain water will not have a way into your nutrient solution.

      Controller: Node-Red
      Gateway: SerialGateway & GSMMQTTGateway
      MySensors: 2.2.0

      1 Reply Last reply
      0
      • ThucarT Offline
        ThucarT Offline
        Thucar
        wrote on last edited by
        #10

        To quote the classics - “Well, that escalated quickly.”

        While waiting for the sensors to arrive, I started mulling over the entire project in my head. And I started thinking about scaling. My greenhouse is only 3 meters long but my parents greenhouse is almost 30 meters. Routing wires for soil sensors around the place is no fun.

        So that got me thinking - does it need to be one node? And that in turn got me thinking - does it even have to be a node? Maybe a gateway would be the way to go?

        So this is my current plan - a GSM/Wifi gateway with the general and more power hungry components( pH, EC, relative air humidity and ambient temp, relays). The gateway would be located near the pumps, sumps and other tech in the greenhouse.

        Then the rest of the greenhouse can be filled with any number of sensors to monitor soil moisture, temperature and light levels at different places.

        GSM gateway is almost finished, hopefully I can wrap it up tomorrow.

        And as a final touch, I realized a controller of that kind of functionality could use a local user input. So it’s going to have a LCD and some buttons for set-up and things like starting/stopping pumps for maintenance.

        Controller: Node-Red
        Gateway: SerialGateway & GSMMQTTGateway
        MySensors: 2.2.0

        1 Reply Last reply
        1
        • ThucarT Offline
          ThucarT Offline
          Thucar
          wrote on last edited by Thucar
          #11

          Update:
          LCD + rotary click encoder working
          ArduinoMenu4 in place and easily expandable.
          Relay control works 100%
          EC/ppm measurement in place, not yet 100% working
          SHT21 code in place, can confirm if working or not once the darn thing arrives

          Some eye candy:
          0_1521972359235_P3251110_v1.JPG0_1521972941808_P3251111_v1.JPG
          0_1521972951209_P3251112_v1.JPG 0_1521972959027_P3251113_v1.JPG 0_1521972966435_P3251114_v1.JPG

          Controller: Node-Red
          Gateway: SerialGateway & GSMMQTTGateway
          MySensors: 2.2.0

          1 Reply Last reply
          2
          • E Offline
            E Offline
            elcaron
            wrote on last edited by
            #12

            A thought I had recently: Those moisture pitchforks are usually HASL coated. Do I really want that in the soil of a plant I probably want to eat? Any thoughts anyone?

            Nca78N 1 Reply Last reply
            0
            • E elcaron

              A thought I had recently: Those moisture pitchforks are usually HASL coated. Do I really want that in the soil of a plant I probably want to eat? Any thoughts anyone?

              Nca78N Offline
              Nca78N Offline
              Nca78
              Hardware Contributor
              wrote on last edited by
              #13

              @elcaron said in MySensors Hydroponics Greenhouse project:

              A thought I had recently: Those moisture pitchforks are usually HASL coated. Do I really want that in the soil of a plant I probably want to eat? Any thoughts anyone?

              The answer is no :)

              1 Reply Last reply
              0
              • ThucarT Offline
                ThucarT Offline
                Thucar
                wrote on last edited by
                #14

                @elcaron said in MySensors Hydroponics Greenhouse project:

                HASL

                The pitchfork i'm currently using has solid copper traces on the forks. For more long term use I'm planning on switching to capacitive soil moisture sensors. Those can be additionally coated with epoxy resin for example for added longevity.

                Controller: Node-Red
                Gateway: SerialGateway & GSMMQTTGateway
                MySensors: 2.2.0

                1 Reply Last reply
                0
                • ThucarT Offline
                  ThucarT Offline
                  Thucar
                  wrote on last edited by
                  #15

                  Now that the GSM Gateway is done, I can start focusing more on the Greenhouse controller. I’m still waiting for the two most important components though - the pH sensor module and the stainless steel EC sensor probe. I’ve stumbled on another very good post on the EC topic which I’ll have to work through: https://thecavepearlproject.org/2017/08/12/measuring-electrical-conductivity-with-an-arduino-part1-overview/

                  Controller: Node-Red
                  Gateway: SerialGateway & GSMMQTTGateway
                  MySensors: 2.2.0

                  1 Reply Last reply
                  0
                  • ThucarT Offline
                    ThucarT Offline
                    Thucar
                    wrote on last edited by
                    #16

                    Got some work done on the hardware side of things. Drainage is done, next up is feed part.

                    0_1523760716315_P4141131_v1.JPG
                    0_1523760999160_P4141137_v1.JPG 0_1523761006369_P4141139_v1.JPG
                    0_1523760989088_P4141136_v1.JPG 0_1523760724731_P4141133_v1.JPG 0_1523760736892_P4141140_v1.JPG 0_1523760744189_P4141141_v1.JPG
                    0_1523760676911_P4141144_v1.JPG

                    Controller: Node-Red
                    Gateway: SerialGateway & GSMMQTTGateway
                    MySensors: 2.2.0

                    1 Reply Last reply
                    3
                    • ThucarT Offline
                      ThucarT Offline
                      Thucar
                      wrote on last edited by Thucar
                      #17

                      A long overdue update.

                      In the end I basically ended up using a GSM gateway with a LCD and couple sensors (air temperature and air humidity) and two relays. The relays control my Dutch bucket system pump and ventilation fans.

                      As a separate sensor I'm using a Z-Wave multisensor to keep track of nursery temperatures and lux levels.

                      The pH meter module did arrive but I do not feel comfortable keeping it submerged in the nutrient solution at all times so I've been just taking a sample of the nutrient solution from the tank after mixing a new batch, and testing it indoors, at the computer.

                      As for the EC meter, I failed to get any of the "arduino only" examples to produce reliable readings. So I've ordered 5 PCB's for this thing: https://www.sparkyswidgets.com/portfolio-item/miniec-i2c-ec-interface/
                      Once they arrive, I'll see if I can get more reliable results with a separate module.

                      So far the whole thing has been running almost perfectly. The only drawback is an occasional reboot of the gateway when switching off the Dutch bucket system pump. I'm using two separate power sources for Arduino and the pump, Added a 1000uF cap to the Arduino power rail and a flyback diode across the pumps power lines. Still getting that reboot about 50% of the time.

                      Some pics to wrap up my rant.
                      PS. Yes, that's a webcam in my greenhouse. It's taking hourly snapshots for a timelapse :)

                      0_1526815202323_P5201185_v1.JPG
                      My NFT rails for herbs. A good eye can spot some dill, basil and cilantro plants in there.
                      0_1526815222254_P5201186_v1.JPG
                      That's my "Nursery" - an old fish tank I can cover with a piece of glass when night temps dip below 10C
                      0_1526815238126_P5201187_v1.JPG
                      That's my Fibaro Motion sensor. An easy way to get some essential readings. Like the length of day, hours of sunlight, temperature.
                      0_1526815313192_P5201191_v1.JPG
                      This is my ratsnest. I should have moved the relays to a separate enclosure further away. Right now I think the arc when breaking contact is what's causing an EMP pulse and rebooting my Mega.
                      0_1526815355995_P5201190_v1.JPG
                      Ventilation fans. The temps soared to high 40's and low 50's with door and both ceiling hatches wide open. The fans kick in when air temp reaches 25C
                      0_1526815372094_P5201193_v1.JPG

                      Controller: Node-Red
                      Gateway: SerialGateway & GSMMQTTGateway
                      MySensors: 2.2.0

                      1 Reply Last reply
                      5
                      • gohanG Offline
                        gohanG Offline
                        gohan
                        Mod
                        wrote on last edited by
                        #18

                        Are you using optocouplers to drive the relays?

                        1 Reply Last reply
                        1
                        • ThucarT Offline
                          ThucarT Offline
                          Thucar
                          wrote on last edited by
                          #19

                          Yes, the relay module has optocouplers separating data lines from the relays.

                          Controller: Node-Red
                          Gateway: SerialGateway & GSMMQTTGateway
                          MySensors: 2.2.0

                          1 Reply Last reply
                          0
                          • gohanG Offline
                            gohanG Offline
                            gohan
                            Mod
                            wrote on last edited by
                            #20

                            Try disconnecting the load from the relay and see if it still triggers the reboot. If you still have the issue, try disconnect the relays and try again. You need to start narrowing down the possible causes

                            1 Reply Last reply
                            1
                            • ThucarT Offline
                              ThucarT Offline
                              Thucar
                              wrote on last edited by
                              #21

                              Disconnecting the load eliminates the issue flat out.

                              I think your previous question just triggered a lightbulb. While the module does have optocouplers in place, I have the VCC bridging jumper in place. So essentially Arduino is still sharing the power with relay coils. I'll install a step-down to get a 5V line from the pump power supply and use that to drive the relays. I believe that should eliminate my reboot issues.

                              Controller: Node-Red
                              Gateway: SerialGateway & GSMMQTTGateway
                              MySensors: 2.2.0

                              1 Reply Last reply
                              1
                              • ThucarT Offline
                                ThucarT Offline
                                Thucar
                                wrote on last edited by
                                #22

                                Confirmed. Removing the jumper and using a power supply separate from the arduino’s has cured it from reboot issues.

                                Controller: Node-Red
                                Gateway: SerialGateway & GSMMQTTGateway
                                MySensors: 2.2.0

                                1 Reply Last reply
                                1
                                • ThucarT Offline
                                  ThucarT Offline
                                  Thucar
                                  wrote on last edited by Thucar
                                  #23

                                  A quick video update: https://youtu.be/vnUFV_amSPQ
                                  The tomatos and peas are trying to go through the roof. Cucumbers are close to follow. They are all aiming for the ventilation hatches - I think they are planning a grand escape...

                                  The NFT system pump stopped working coupe weeks after setting it up. Have not gotten around to ordering a new pump. That will be a project for next year.

                                  Controller: Node-Red
                                  Gateway: SerialGateway & GSMMQTTGateway
                                  MySensors: 2.2.0

                                  1 Reply Last reply
                                  3
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  13

                                  Online

                                  11.7k

                                  Users

                                  11.2k

                                  Topics

                                  113.1k

                                  Posts


                                  Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • MySensors
                                  • OpenHardware.io
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular