I would like to accomplish the following 2 things using 1 Arduino Uno Rev3

Hiya all,

Maybe it's been asked before but can't find it.

I would like to accomplish the following 2 things using 1 Arduino Uno Rev3

  • RTC DS1307 Real Time Clock Module
  • Grove - Relay SKU: 103020005

To open / close the Grove - Relay at set times/hours, daily repeat.

20 hours closed and 4 hours open (daily)

Running along on the same Arduino Uno Rev3: (this has nothing to do with the above)

  • Gravity: Analog Capacitive Soil Moisture Sensor - Corrosion Resistant

When I've have set the needed values it needs to indicate:

  • Green led = Not dry
  • Red led = Dry

Can this be done? (sorry for my ignorance just a newbie on the block)

Thanks in advance (tips, examples are more then welcome)

Rain

Yes, that can be done.

What you want to do can easily be done with an Uno.

I suggest that you use a DS3231 RTC instead of the older DS1307. The DS3231 is more accurate.