Skip to content

3lmkrew/Sprinkler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Sprinkler

Home Sprinkler Controller

  1. Components Required:
  • Arduino Board (e.g., Arduino Maga) (Any will work)
  • 4 x Relays (capable of handling 24V)
  • Real-Time Clock (RTC) module (e.g., DS3231)
  • Jumper wires
  • 24V power source
  1. Connections:
  • Connect the RTC Module:
  • VCC to Arduino 5V
  • GND to Arduino GND
  • SDA to Arduino A4 (or SDA pin on boards that have one)
  • SCL to Arduino A5 (or SCL pin on boards that have one) -Connect the Relays:
  • Connect the control pins of the 4 relays to 4 digital pins on the Arduino (e.g., D2, D3, D4, D5).
  • Connect each relay's common (COM) terminal to the 24V power source.
  • Connect each relay's normally open (NO) terminal to each of the 4 sprinklers.
  • Connect the ground of the 24V source to all the sprinklers.
  1. Procedure:

  2. Connect all the components as per the connections mentioned.

  3. Load the Arduino code to the Arduino.

  4. Set the current time in the RTC module (this can be done using various RTC libraries and code).

  5. Once the time is set, the Arduino will automatically activate the sprinklers sequentially at 8 am every day for 5 minutes each.

  6. Additional Considerations:

  7. Make sure to protect the 24V connections, especially if they are outdoors. Using waterproof containers or enclosures can help.

  8. Always check the rating of the relay before connecting to ensure it can handle 24V and the current required by the sprinklers.

  9. It's good practice to test the setup with one sprinkler before connecting them all.

About

Home Sprinkler Controller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages