Digital Programmable Timer with ARDUINO
Moderators: adafruit_support_bill, adafruit

Digital Programmable Timer with ARDUINO

by ElectroSpark on Fri Sep 16, 2011 9:35 am

Is it possible to create a Digital Programmable Timer with Arduino ? I should be able to adjust the timer with Buttons like clock.

I want the programmable timer to "Turn ON" something relay oriented like a Lamp or Motor and Keep it running for certain time and then shut it off automatically. I want the same principle to continue every day and I should be able to Program a different start and end time using DIP Switches or Buttons. Any help is greatly appreciated.
ElectroSpark
 
Posts: 6
Joined: Wed Jul 06, 2011 10:48 pm

Re: Digital Programmable Timer with ARDUINO

by adafruit_support_bill on Fri Sep 16, 2011 11:07 am

This is certainly possible with an arduino. The internal clock in the arduino itself will tend to drift a bit. For better long-term timing accuracy, you might want to add a real-time-clock module.
User avatar
adafruit_support_bill
 
Posts: 30887
Joined: Sat Feb 07, 2009 10:11 am

Re: Digital Programmable Timer with ARDUINO

by ElectroSpark on Fri Sep 16, 2011 11:57 am

First, Let me say Thank You for the quick response. Appreciate it very much.
I have already ordered Timer and other components from Adafruit yesterday. I will order DS3231 based timer soon (perhaps today).

But, I want to know if I can change Turn ON, Turn OFF times just by pressing few buttons (without connecting to computer after my device is ready) pointing to any old links or tutorials are helpful.
ElectroSpark
 
Posts: 6
Joined: Wed Jul 06, 2011 10:48 pm

Re: Digital Programmable Timer with ARDUINO

by adafruit_support_bill on Fri Sep 16, 2011 12:11 pm

Yes it is possible to write such a program for the Arduino. Not sure what your application is, but if you search the web for Arduino alarm clocks, water sprinkler timers, coffee timers, water-heater controls etc, you will find many examples of arduinos used for timing control.

For a good introduction to Arduino programming, including how to use buttons, see Lady Ada's Arduino Tutorials.

You will also find helpful tutorials for the Real Time Clock and all the display options through the links on their respective product pages.
User avatar
adafruit_support_bill
 
Posts: 30887
Joined: Sat Feb 07, 2009 10:11 am

Re: Digital Programmable Timer with ARDUINO

by daremick on Fri Jan 04, 2013 11:22 pm

is it possible to change the timer on this RTC breakout to go from 1000ms to 1027ms?
daremick
 
Posts: 25
Joined: Wed Sep 26, 2012 10:17 pm

Re: Digital Programmable Timer with ARDUINO

by adafruit_support_bill on Sat Jan 05, 2013 7:29 am

is it possible to change the timer on this RTC breakout to go from 1000ms to 1027ms?

No.
http://datasheets.maximintegrated.com/en/ds/DS1307.pdf
User avatar
adafruit_support_bill
 
Posts: 30887
Joined: Sat Feb 07, 2009 10:11 am