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
IoT: In the Cloud
  • Challenges & Projects
  • Project14
  • IoT: In the Cloud
  • More
  • Cancel
IoT: In the Cloud
Blog Irrigation Sprinkler Controller - Design Considerations
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join IoT: In the Cloud to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ralphjy
  • Date Created: 21 Mar 2019 12:18 AM Date Created
  • Views 819 views
  • Likes 9 likes
  • Comments 0 comments
  • sprinklers
  • arduino_iot_cloud
  • iot devices
  • iotcloudch
  • project14
Related
Recommended

Irrigation Sprinkler Controller - Design Considerations

ralphjy
ralphjy
21 Mar 2019
image

IoT: In the Cloud

Enter Your Project for a chance to win an Arduino MKR WAN 1300 Kit with a Compatable Lora Gateway or an MKR 1400 GSM with a Shield Combo + a $100 shopping cart!

Back to The Project14 homepage image

Project14 Home
Monthly Themes
Monthly Theme Poll

 

For my IoT: In the Cloud project I am going to design and build an electronic replacement for my electromechanical Rain Bird RC-4Bi irrigation controller.

 

Functionally, sprinkler controllers are pretty straightforward.  They basically control the schedule and duration of watering by switching an AC voltage to open the sprinkler's solenoid controlled valve.  Controllers normally control a master input valve and multiple zone valves.  In my case, I don't have a master valve and have 4 zone control valves.  The electromechanical timing assembly is quite a complex mechanism.  It has three wheels to set the day, the hour and the zone durations.  I'll be using a microcontroller and the cloud interface to do the timing and scheduling and I'll use 4 relays to switch the zone valve voltages.  The valve solenoids that I am using are rated at 24VAC with 0.41A inrush current and 0.14A holding current.  The existing transformer is rated at 24VAC/60Hz @ 1.25A.  I operate the zones sequentially to manage the water pressure so most common relays will easily handle the power.  I'll include the existing 1.5A fuse to protect the transformer.

 

Relay Module

image

https://www.amazon.com/SainSmart-101-70-101-4-Channel-Relay-Module/dp/B0057OC5O8/ref=pd_sim_107_3/138-3958649-9697036?_encoding=UTF8&pd_rd_i=B0057OC5O8&pd_rd_r=3957246e-4989-11e9-bf30-a9c66916e9f7&pd_rd_w=q0Tfq&pd_rd_wg=pggGD&pf_rd_p=90485860-83e9-4fd9-b838-b28a9b7fda30&pf_rd_r=7824H4DPTDEJW9QC1QWV&psc=1&refRID=7824H4DPTDEJW9QC1QWV#

 

5V 4 Channel Relay Module

Contact rating 250VAC@10A

Coil nominal current 71mA

Optocoupler input current 2-3mA

 

 

Microcontroller/SBC

The control requirements are pretty simple - 4 GPIO to drive the optocoupler inputs.  The user interface requires more thought - i.e. the information display and data input.  And there's the choice of communication (WiFi, Bluetooth, Ethernet) and Cloud support.  I'd like to use a processor that I already have and I don't want to run an Ethernet connection, so that narrows it down to 4 choices: ESP8266, ESP32, RPi0W, and Arduino MKR1010.  I'd like the option of communicating with a mobile device using BLE, so that eliminates the ESP8266.  Once I look at the user interface and cloud platform trade-offs I'll be able to make a selection.

 

 

Cloud Platform

I've used myDevices Cayenne with the ESP8266 and I've used Atmosphere IoT with the NXP Rapid IoT.  I like Atmosphere because the BLE integration and mobile app development is easy but it is probably the most difficult to add new device types.  I am also interested in trying the Arduino IoT Cloud.  Too many choices.  If I go with the RPi0W, then I'd probably use Cayenne.  Otherwise, I might try all 3 and see which works out the best (fastest development time is probably the metric).

 

 

User Interface

I'm leaning toward using a TFT LCD with touch screen interface.  That would save having to interface a keypad or buttons for input.  If I use one with a SPI interface it will save on the number of GPIO pins required.  That will probably limit me to a 4" display width (based on price and availability) but I think that should be fine.  I could opt for an HDMI screen if I use the RPi0W.

 

 

Time to sleep on it and hope for inspiration.  I think I'll give the Arduino IoT Cloud a try tomorrow.

  • Sign in to reply
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