 |
|
08-09-2012, 06:09 PM
|
#1
|
|
Feedback Score: 0 reviews
Join Date: Mar 2011
Location: Beaumont, Tx
Posts: 139
Liked 3 Times on 2 Posts Likes Given: 11
|
Real Time Clock?
|
|
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.
|
|
|
08-09-2012, 06:23 PM
|
#2
|
|
Senior Member
Feedback Score: 0 reviews
Join Date: May 2012
Location: Bedford, Massachusetts
Posts: 286
Liked 32 Times on 25 Posts Likes Given: 53
|
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?
|
|
|
08-09-2012, 07:07 PM
|
#3
|
|
Feedback Score: 0 reviews
Join Date: Mar 2011
Location: Beaumont, Tx
Posts: 139
Liked 3 Times on 2 Posts Likes Given: 11
|
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.
|
|
|
08-09-2012, 11:07 PM
|
#4
|
|
Feedback Score: 0 reviews
Join Date: Jan 2009
Location: Holly, MI
Posts: 284
Liked 8 Times on 7 Posts Likes Given: 5
|
Probably not necessary but I have one ( http://macetech.com/store/index.php?main_page=product_info&cPath=5&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.
|
|
|
08-17-2012, 02:32 PM
|
#5
|
|
Feedback Score: 0 reviews
Join Date: Sep 2011
Location: San Diego, CA
Posts: 180
Liked 7 Times on 6 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.
|
|
|
08-17-2012, 03:45 PM
|
#6
|
|
Feedback Score: 0 reviews
Join Date: Apr 2011
Location: ., Connecticut
Posts: 1,453
Liked 29 Times on 29 Posts Likes Given: 1
|
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.
|
|
|
08-17-2012, 08:18 PM
|
#7
|
|
Feedback Score: 0 reviews
Join Date: Mar 2011
Location: Beaumont, Tx
Posts: 139
Liked 3 Times on 2 Posts Likes Given: 11
|
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.
|
|
|
08-17-2012, 11:56 PM
|
#8
|
|
Feedback Score: 0 reviews
Join Date: Jan 2009
Location: Holly, MI
Posts: 284
Liked 8 Times on 7 Posts Likes Given: 5
|
Quote:
Originally Posted by SMc0724
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.
|
|
|
08-19-2012, 04:45 PM
|
#9
|
|
Feedback Score: 0 reviews
Join Date: Mar 2011
Location: Beaumont, Tx
Posts: 139
Liked 3 Times on 2 Posts Likes Given: 11
|
jpalarchio,
How do you use the RTC?
|
|
|
08-19-2012, 11:33 PM
|
#10
|
|
Feedback Score: 0 reviews
Join Date: Jan 2009
Location: Holly, MI
Posts: 284
Liked 8 Times on 7 Posts Likes Given: 5
|
Quote:
Originally Posted by SMc0724
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.
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
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 |
|
|
|