Getting Started With Growerbot Plus

This guide will help you your growerbot plus up and running.

1. Plug growerbot in
Plug your growerbot in to a 120-volt socket (GFCI for most safety) and make sure it says hello. You should see something like this:
h1

2. Test sensors & controls
Turn the ‘power seed’ left, right, and push to explore growerbot’s different modes. check that light reading changes when you shine a flashlight on the sensor or cover it with your hand, stick the moisture probes in water to get a different reading, and breathe on the sensor to change moisture and temperature readings.
probe

3. Control your lights and water
Plug the pump you’d like to control into the AC outlet with a water drop engraved above it, and plug your light into the outlet with a sun.
Note: there seems to be an issue with larger pumps and lights on some growerbots, where they lock on and/or reset. I’m trying to identify the root cause; in the meantime, please only use smaller pumps and lights.

4. Setup data sharing
Data is shared via wifi by Electric Imp. To use this data, you need to commission an imp, as detailed here . The source code for growerbot is on github here. The following photo stream shows the basics of getting the imp commissioned and feeding the moisture level, temperature, humidity, and light data to cosm (more detail later):

Please share links with me and everybody else for your growerbot data: learning from each other is the biggest part of what’s going to make growerbot interesting.

5. Innovate!
If we’re going to grow more food with less work, growerbot needs to be barely the start of a much bigger social gardening movement. I need your help to improve on the design, experiment with different lighting / moisture / soil setups, and overall improve how we grow food!

Please comment here with any other questions. Assembly guide for kit version(s) and more detail coming soon.

38 thoughts on “Getting Started With Growerbot Plus

  1. Lucas

    Hey Luke,

    First, Thanks for the fantastic work you are doing! I don’t really have anything to contribute, but I’m following the blog and anxiously awaiting first release of the Growerbot! I hope you have great success with it!

    Take care,

    Lucas

    Reply
  2. Erick

    Hi! I Just bumped into this webpage and it looks really interesting! I’m an electrical engineer and have experience using Arduino as well as moisture, temp, and other sensors, maybe I can help!

    Reply
  3. escapeartist

    One thing that I’ve been running into with the light sensor periodically is that it will max out at 58310 lux. I’m assuming it has something to do with the arduino’s programming not taking something into consideration. It usually happens later in the day when there is no light.

    Also, I’ve had a couple of instances where the arduino stops pushing data. Unplugging and plugging back in resolves the issue.

    https://cosm.com/feeds/97063

    Reply
    1. David

      I’m finally up and running! Now I seem to be having the same trouble with the light sensor reading 58310. Has anyone solved this one?

      Reply
      1. luke iseman Post author

        Congrats! Reseat the ethernet cords at both ends, unplug, & let me know if that fixes it (ehernet cables are surprisingly fickle about being plugged in just right)

        Reply
        1. David Mintz

          This did not fix it. I’ve reflowed the solder on all the components in the signal chain, but that has not helped either. Any other thoughts? Any suggestions on debugging in SW ? Or signals I could check with a scope?

          Thanks

          Reply
          1. luke iseman Post author

            You might have a faulty light sensor. I can send you a new one if you’d like; just email me the address where you want it!

            Thanks,
            Luke

  4. Bud

    I finally get my setup running.

    https://cosm.com/feeds/98739

    Issues I’ve having:
    1) My light is turning on and off.
    2) Data stops publishing intermittently, an unplug/replug resets it
    3) The LCD screen starts publishing weird characters, usually at the same time as No. 2.

    Reply
    1. escapeartist

      I’m wondering if the Arduino’s sketch breaks if there is a momentary loss in network connection. I don’t really know Squirrel, but is there a possibility of this happening if the connection is lost? It seems to me like the “softSerialCheck()” method seems to be checking for this. Anyone?

      Reply
      1. luke iseman Post author

        Bud and Ken:

        can you share any more information to help me diagnose this? What wattage pumps and lights are you using, and how often does this occur?

        Reply
    2. escapeartist

      My new theory is that it has something to do with when the pump gets turned on. It’s been happening consistently. Soil moisture dips below 200, the pump get’s turned on, the Growerbot stops posting to COSM, but the pump never turns off. Any Ideas?

      Reply
  5. Kevyn Watkins

    Can someone take a photo of there growerbot’s mainPCB for those of us who need to build there own? No details have been released yet so I can’t finish my kit.

    Reply
    1. luke iseman Post author

      Hi Kevyn,

      I just added videos that should help you out w/ any remaining issues. Let me know if there’s anything else I can do to help!

      -Luke

      Reply
    1. Diogo

      Same issue… my DHT humidity always reports 99.9% but only if the arduino is powered through the USB port from an external USB charger.
      If I connect the arduino directly to my laptop humidity is properly read.

      Any clues?

      Reply
        1. Diogo

          Hi Luke,

          Tks for the reply.

          I actually trace the problem to the external USB charger…

          It supplies 5.3V (0.3V above DHT tolerance), using a resistor on the VCC fixed the issue.

          Reply
  6. Luiz Diefenbach

    I tryed the code I got from github but It did not work with the new IDE on the imp.

    the old code probably still working on the growerbots that used the old planner sistem, but no new imps can configured to be online with the new IDE (agent system).

    Im trying to learn squirrel / C to make it work again but it has been real slow,
    Also is there a way to update the arduino firmware through the imp? making a online process?

    Reply
    1. luke iseman Post author

      Hi Luiz,

      I haven’t gotten our setup to fully update the arduino firmware remotely, but that would be awesome! You will see code in the existing squirrel that documents how to remotely change your target values. It’s commented out, but you can change the hours sunlight, etc. remotely!

      Thanks,
      Luke

      Reply
  7. Ian Davidson

    Hey Luke, how easy is it to add a third AC control to Growerbot to automate the water pump, light and a low power heater? I don’t know much about electronics but I can solder and follow instructions. Interested in getting a growerbot to grow me some tomatoes within a cold dark building in Scotland. Thanks

    Reply
  8. Ian Davidson

    Hi Luke,
    I’ll admit step 3 didn’t make much sense to me when I read it. So growerbot has some spare extra digital i/o pins that you over provisioned for this kind of purpose? So if I bought an assembled growerbot I’d just need to copy the electrics provisioned from the other 2 relays and hack my other third AC relay and it’s fairly easy to do this. Then I’d need to setup the electric imp to control the AC based on defined inputs from the temperature sensor to keep the tomatoes cosy at 21c during the night?
    Ian

    Reply
    1. Ian Davidson

      Hi Luiz
      I took your code from GitHub and posted to my newly commission imp agent inside the IMP web based IDE. The device code works great and is posting sensor data from my growerbot to the IDE log window. However I see errors with the agent code. I changed the XIVELY_FEED_ID to my device ID and changed the XIVELY_API_KEY to be the agent link URL (https).
      Do you know what might be causing this error below?

      [Agent] Posted to Xively: 51.40, got return code: 500, msg: {“title”:”Oops, something’s broken”,”errors”:”We’ve been unable to complete your request due to a problem with our server”}

      Reply
      1. Ian Davidson

        Sounds obvious, but actually I needed to setup an account on xively.com first to get my feed and API keys. When I did this it all works.

        Reply
  9. Luiz Diefenbach

    Going to try to implement some things in the future:
    1)uploading arduino sketch through Imp (making it a online process), this is needed because growerbot does not have a USB port.

    Here is some example codes:
    https://github.com/electricimp/reference/tree/master/hardware/impeeduino
    https://github.com/genejones/avr-rascal

    need to integrate this into arduino / device / agent code
    and probaly add a hardware reset:
    http://ame2.asu.edu/staff/kidane/ArdWilessBtProg.pdf

    2)Control of growerbot with pitchfork Imp App (Control relays and settings on Iphone)

    Reply
    1. Ian Davidson

      Luiz great work, your future plans would make things even better. One thing I noticed. When the IMP posts data for the first time and the four channel IDs are added in my xively.com account the channel units and symbols were not added. I had to manually edit the channels.

      Reply
      1. Luiz Diefenbach

        Yeah, I needed to do that manually too. I’m far from a coder, don’t know any programming language, zero programming experience. So for me its really hard to set up something that works. I took days to make this code and unfortunately I don`t have the time to make other functionalities work.

        I you love to see a way of reading multiple humidity of substrate sensors. (multiplex IC?)

        Reply

Leave a Reply

Your email address will not be published. Required fields are marked *