Arduino+XBee Dual-stage Temp Controller - Home Brew Forums

Register Now!
Home Brew Forums > Home Brewing Beer > DIY Projects > Fermenters > Arduino+XBee Dual-stage Temp Controller

Reply
 
Thread Tools
Old 11-08-2011, 09:35 AM   #1
Chuginator
 
Chuginator's Avatar
Recipes 
 
Feb 2011
, Idaho
Posts: 648
Liked 93 Times on 60 Posts



Who doesn't need a wirelessly-controlled fermentation fridge? Figured it'd be the bee's knees for automated temperature ramps when lagering.

This logs data to and can be controlled from my Linux server (Debian). Records ambient air, ambient fridge air, and carboy temps (carboy sensor taped and insulated against outside of carboy). Serial XBee input is read by a 13KB C-based Linux daemon that parses, validates, and publishes the XBee packets to interested clients via TCP/IP. A PHP-based logger script "subscribes" to the stream, only listens for packets from the fridge, and shoves them in a MySQL database where it can be graphed through a web browser (facilitated with PHP and JPGraph).

Temperature control is based on carboy temps. Cold stage controls fridge power, hot stage controls Flex-Watt heat tape. Built-in time protection for shortcycle delays.






I used an RGB LCD display so it turns blue when cooling, red when heating, green when temp is within setpoint, and a weird purplish color when off.






In this graph, the setpoint (orange line) was changed to 45F and control turned on. The dark blue line indicates when the fridge was being powered. Tested with a can of paint thinner ("carboy" temp is bright green line). Kept temps to +/- 1 degree. After the last power cycle, it was turned off. The light blue line is the ambient air swing of my shop heater; you can see at the end of the fridge power that the ambient air swung to 50F - had to open the shop door to vent engine fumes. Door was closed and the ambient swung back up, then gradually declined. Hard to see in the compressed graph, sorry.




Will be testing with a real carboy and heat tape possibly this evening. Will be interesting to see how well it controls it.

I know it's only a matter of time before someone says that I could have used a Fermtroller.

Before you do: I don't care.

Cheers!

 
Reply With Quote
Old 11-08-2011, 01:36 PM   #2
MalFet
/bɪər nɜrd/
HBT_LIFETIMESUPPORTER.png
 
MalFet's Avatar
Recipes 
 
May 2010
NYC / Kathmandu
Posts: 8,632
Liked 1473 Times on 975 Posts


Looks great! I've got something similar, but the variable backlight colors on the LCD is very cool.
__________________
"Be excellent to each other." -Benjamin Franklin

 
Reply With Quote
Old 11-08-2011, 01:50 PM   #3
Chuginator
 
Chuginator's Avatar
Recipes 
 
Feb 2011
, Idaho
Posts: 648
Liked 93 Times on 60 Posts


Thanks!

 
Reply With Quote
Old 11-08-2011, 01:56 PM   #4
yodalegomaster
Recipes 
 
Dec 2009
MN
Posts: 420
Liked 5 Times on 5 Posts


I would love to see some plans, Might be over my head.

 
Reply With Quote
Old 11-08-2011, 02:05 PM   #5
Homercidal
Licensed Sensual Massage Therapist.
HBT_MODERATOR.png
 
Homercidal's Avatar
Recipes 
 
Feb 2008
Reed City, MI
Posts: 30,652
Liked 4765 Times on 3217 Posts


Nice! The only thing to make it better would be Slackware!


Oh, forgot to ask if you have a link to a large image.

 
Reply With Quote
Old 11-08-2011, 02:19 PM   #6
Chuginator
 
Chuginator's Avatar
Recipes 
 
Feb 2011
, Idaho
Posts: 648
Liked 93 Times on 60 Posts


Thanks!

No, I don't have links to larger images; Photobucket scales them down.

Schematic is super simple. Instead of using expensive SSR's which aren't necessary anyway, I picked up a very cheap dual-relay controller off eBay. It was like $8 with shipping from China!



Temp sensors from Adafruit. https://www.adafruit.com/products/165

bsheck Likes This 
Reply With Quote
Old 11-08-2011, 02:36 PM   #7
MalFet
/bɪər nɜrd/
HBT_LIFETIMESUPPORTER.png
 
MalFet's Avatar
Recipes 
 
May 2010
NYC / Kathmandu
Posts: 8,632
Liked 1473 Times on 975 Posts


Quote:
Originally Posted by Chuginator View Post
Schematic is super simple. Instead of using expensive SSR's which aren't necessary anyway, I picked up a very cheap dual-relay controller off eBay. It was like $8 with shipping from China!
Can you post a link to the relay controller you got?
__________________
"Be excellent to each other." -Benjamin Franklin

 
Reply With Quote
Old 11-08-2011, 02:46 PM   #8
audger
Recipes 
 
Apr 2011
., Connecticut
Posts: 1,497
Liked 43 Times on 42 Posts


nice to see some Arduino projects around here. im doing the exact same thing at the moment with an Uno, only not wirelessly as i have ethernet ports all over the house already. im also using some solenoids to control coolant circulation from my glycol chiller to the three zones that it supplies (kegerator upstairs, ferm chamber and keg chiller in the basement).

if you ever need any relays, shields, etc... this place is the tits...
https://arduino-direct.com/sunshop/
slow shipping, but priced right.

also check out www.bwired.nl for some web interface inspiration. that guy went all out with home automation.

 
Reply With Quote
Old 11-08-2011, 02:49 PM   #9
Chuginator
 
Chuginator's Avatar
Recipes 
 
Feb 2011
, Idaho
Posts: 648
Liked 93 Times on 60 Posts


Quote:
Originally Posted by MalFet View Post
Can you post a link to the relay controller you got?
Sure thing!

http://www.ebay.com/itm/Arduino-Dual...ht_1437wt_1165

 
Reply With Quote
Old 11-08-2011, 02:50 PM   #10
Chuginator
 
Chuginator's Avatar
Recipes 
 
Feb 2011
, Idaho
Posts: 648
Liked 93 Times on 60 Posts


Quote:
Originally Posted by audger View Post
nice to see some Arduino projects around here. im doing the exact same thing at the moment with an Uno, only not wirelessly as i have ethernet ports all over the house already. im also using some solenoids to control coolant circulation from my glycol chiller to the three zones that it supplies (kegerator upstairs, ferm chamber and keg chiller in the basement).

if you ever need any relays, shields, etc... this place is the tits...
https://arduino-direct.com/sunshop/
slow shipping, but priced right.

also check out www.bwired.nl for some web interface inspiration. that guy went all out with home automation.
Hey, coolness!! Thanks for the links!

 
Reply With Quote


Reply
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Super cheap two stage temp controller briewer2 Fermenters 11 11-16-2013 02:24 PM
Love TSX-10240 Dual Input/Dual Output Controller Questions....Please Help! Hoppopotomus Fermenters 23 03-29-2011 02:04 AM
Ranco two stage temp controller ?s dogtailale Fermenters 1 08-19-2010 05:49 PM
Love TSS2 Dual Stage Temp Controller neo82087 Brew Stands 7 01-28-2010 11:07 PM
2 Stage Temp Controller? Simphoto02 Fermenters 2 08-19-2009 01:48 PM


Forum Jump