Real Time Clock? - Home Brew Forums
Home Brew Forums > Home Brewing Beer > Automated Brewing Forum > Real Time Clock?
Cool Brewing Giveaway - Supporting Membership Drive & Discount

Reply
 
Thread Tools
Old 08-09-2012, 06:09 PM   #1
SMc0724
Recipes 
 
Mar 2011
Beaumont, Tx
Posts: 143
Liked 3 Times on 2 Posts



So what is your opinion about the need for a Real Time Clock on an AutoBrew system? Mine is Arduino, which does not come with one. Software can be used to create real time, but needs to be updated.



 
Reply With Quote
Old 08-09-2012, 06:23 PM   #2
mendesm
Senior Member
HBT_LIFETIMESUPPORTER.png
 
mendesm's Avatar
Recipes 
 
May 2012
Bedford, Massachusetts
Posts: 307
Liked 44 Times on 27 Posts


I'm not sure you'd need such accurate time keeping.

What are you doing with the controller that you think you need, or could use, an RTC?



 
Reply With Quote
Old 08-09-2012, 07:07 PM   #3
SMc0724
Recipes 
 
Mar 2011
Beaumont, Tx
Posts: 143
Liked 3 Times on 2 Posts


Mainly as a timer in case of power loss or surge, that is about all I can think would be needed. In a power loss, I would need to take over the brew anyway.

Battery backup might be a better use of resources.

 
Reply With Quote
Old 08-09-2012, 11:07 PM   #4
jpalarchio
Recipes 
 
Jan 2009
Holly, MI
Posts: 561
Liked 50 Times on 41 Posts


Probably not necessary but I have one (http://macetech.com/store/index.php?...&products_id=8).

It's I2C, easy to work with.

If you decide to get one, pay attention to the chip; there seems to be a many cheaper models different than the DS3231 which don't have great accuracy.

 
Reply With Quote
Old 08-17-2012, 02:32 PM   #5
crane
Recipes 
 
Sep 2011
San Diego, CA
Posts: 561
Liked 69 Times on 57 Posts


Quote:
Originally Posted by SMc0724
Mainly as a timer in case of power loss or surge, that is about all I can think would be needed. In a power loss, I would need to take over the brew anyway.

Battery backup might be a better use of resources.
I don't quite understand what an RTC is going to help you with. So you have a power loss and the system comes back on then what. Are you going to have it log with time stamps periodically in which case you could look at the log and have it recognize that it wasn't done with the previous brew session and pick up where it left off? If you want to do this then you will still need battery backup for the RTC itself to not loose track of time. If you are talking about a battery backup for the arduino I don't know how that will work as you will still need power to turn on your pumps, valves and heating elements.

To handle a power loss I would think it would be more effective and easier to code by allowing you to restart a brew profile at step number x rather than intelligently trying to pick up where it left off.

 
Reply With Quote
Old 08-17-2012, 03:45 PM   #6
audger
Recipes 
 
Apr 2011
., Connecticut
Posts: 1,497
Liked 43 Times on 42 Posts


its probably not intended for a power loss. the internal clock on the arduino isnt fantastic and drifts considerably. however i dont think the drift will be more than a second here or there over the course of a 6-8 horu brew day, which shouldnt be much of an issue. it only becomes noticable if you are logging over the course of a few weeks or more.

 
Reply With Quote
Old 08-17-2012, 08:18 PM   #7
SMc0724
Recipes 
 
Mar 2011
Beaumont, Tx
Posts: 143
Liked 3 Times on 2 Posts


Quote:
Originally Posted by crane
Are you going to have it log with time stamps ...andy pick up where it left off? If you want to do this then you will still need battery backup for the RTC itself to not loose track of time.
Yes that is what I was thinking. I planned for the RTC to have it's own battery.

Quote:
Originally Posted by crane
you will still need power to turn on your pumps, valves and heating elements..
I'm thinking that the battery backup would be for the Arduino and possibly the RTC to keep track of where the process stopped, how long it's off, and then allow an intelligent restart.

Quote:
Originally Posted by crane
To handle a power loss I would think it would be more effective and easier to code by allowing you to restart a brew profile at step number x rather than intelligently trying to pick up where it left off.
How would that work? Just log the events, then what happens at restart?

Alternately I could just put a WiFi network connection and use it to log times.

 
Reply With Quote
Old 08-17-2012, 11:56 PM   #8
jpalarchio
Recipes 
 
Jan 2009
Holly, MI
Posts: 561
Liked 50 Times on 41 Posts


Quote:
Originally Posted by SMc0724 View Post
Yes that is what I was thinking. I planned for the RTC to have it's own battery.
The ChronoDot RTC in my link above has a battery.

 
Reply With Quote
Old 08-19-2012, 04:45 PM   #9
SMc0724
Recipes 
 
Mar 2011
Beaumont, Tx
Posts: 143
Liked 3 Times on 2 Posts


jpalarchio,
How do you use the RTC?

 
Reply With Quote
Old 08-19-2012, 11:33 PM   #10
jpalarchio
Recipes 
 
Jan 2009
Holly, MI
Posts: 561
Liked 50 Times on 41 Posts


Quote:
Originally Posted by SMc0724 View Post
jpalarchio,
How do you use the RTC?
I don't currently. I had it from something else and I don't know that it'll be included in my setup. I plan to log externally so I can just timestamp entries when I insert them into the database.

For the relatively short amount of time a brew session lasts, I can't see it being necessary unless you want to do some kind of timed start like heating up an electric HLT before your day starts.

If you look at the BrewTroller code, they do some nice stuff that maintains the timer during a power fail without a battery or RTC.



 
Reply With Quote
Reply
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building one piece at a time 12thKnight Automated Brewing Forum 2 05-09-2012 03:03 AM


Forum Jump