Skip to content

s909201/AutoSprinkler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Auto Sprinkler

Auto Sprinkler Project, made by Arduino

Revision History

  • 20180816 : first version
  • 20190403 : Based on new relay module, its trigger signal is high enable(the original is low enable). So I modified the function digitalWrite(RELAY_PIN, X) and changed its HIGH/LOW.

Abstract

Developing a clock system and tuned by 5 buttons - Mode, Switch, Up, Down, and Forcing respectively. When current time goes to setup time, it will trigger relay action for sprinkling water. Sprinkler runs twice at one day. Their actuation start time and sprinkling duration can be set. 16x2 LCD shows the clock and temperature information.

Mode

  • 1: Normal

  • 2: Set Current Time

  • 3: Set T1 time - T1 means 1st sprinkling time

  • 4: Set T2 time - T2 means 2nd sprinkling time

  • 5: Sprinkle Time - set sprinkling duration

Software Environment

  • Compiler: Arduino IDE v1.8.5

  • Coding IDE: Visual Studio Code v.1.24.0

Used Software Packages:

Hardware Pin Define

  • LCM : A0(Button), D4, D5, D6, D7, D8, D9, D10

  • DS3231 : A5(SCL), A4(SDA)

  • Relay : D3(pin 3)


Hardware Snap:

Arduino UNO R3

5V Relay

16x2 LCM

DS3231 RTC IC (I2C)

About

Auto Sprinkler Project, made by Arduino

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages