element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Community Hub
Community Hub
Files greenhouse_water_fertilizer_basic.ino
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Community Hub to participate - click to join for free!
Actions
  • Next
  • Previous
  • Share
  • More
  • Cancel
Related
Recommended

greenhouse_water_fertilizer_basic.ino

This Arduino app is a basic timer I used to run a water pump for my greenhouse at timed intervals.

 

It turns on a relay to control a water pump. I recommend getting a properly approved setup if switching line voltage, or stick with the safer 9 or 12 volt pumps.

 

The second relay controls a fertilizer pump. In my case it's a smaller 9v pump that injects liquid fertilizer into the watering lines. Shut this pump off before the main pump so the lines get flushed with clean water at the end of the run.

 

You don't need to hook up the second relay if you don't need/want fertilizer injection.

 

Also, MIT license - in summary, feel free to use it for anything but don't blame me for anything image

 

Enjoy!

-Nico

  • water_pump
  • greenhouse
  • arduino
  • relay
ntewinkel
ntewinkel
  • 30 Aug 2017
  • 0 Downloads
  • Share
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • neilk
    neilk over 8 years ago +1
    Hi Nico Neat project. I agree it's not super accurate but it is definitely fit for purpose! Why does it need to be more accurate? However, if you wanted the opportunity to do more with the Arduino, you…
Parents
  • neilk
    neilk over 8 years ago

    Hi Nico

     

    Neat project.

     

    I agree it's not super accurate but it is definitely fit for purpose! Why does it need to be more accurate?

     

    However, if you wanted the opportunity to do more with the Arduino, you could look at Simon Monk's Timer Library. I've used it in a number of simple applications, instead of using the Delay function - it's very useful.

     

    Neil

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 8 years ago in reply to neilk

    Right, I think I learned about the timer libraries *after* having done several projects this more manual-labour way!

    However, counting milliseconds is not too cumbersome and does provide an interesting learning opportunity.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • ntewinkel
    ntewinkel over 8 years ago in reply to neilk

    Right, I think I learned about the timer libraries *after* having done several projects this more manual-labour way!

    However, counting milliseconds is not too cumbersome and does provide an interesting learning opportunity.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube