Coldbreak Brewing HERMS Giveaway!

HomeBrewSupply AMCYL Brew Kettle Giveaway!


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
Senior Member
HBT_SUPPORTER.png
Feedback Score: 0 reviews
 
Chuginator's Avatar
Recipes 
 
Join Date: Feb 2011
Location: , Idaho
Posts: 646
Liked 88 Times on 59 Posts
Likes Given: 196

Default Arduino+XBee Dual-stage Temp Controller

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!


Chuginator is offline
 
Reply With Quote
Old 11-08-2011, 01:36 PM   #2
MalFet
/bɪər nərd/
HBT_LIFETIMESUPPORTER.png
Feedback Score: 1 reviews
 
MalFet's Avatar
Recipes 
 
Join Date: May 2010
Location: NYC / Kathmandu
Posts: 8,362
Liked 1315 Times on 878 Posts
Likes Given: 617

Default

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
MalFet is offline
 
Reply With Quote
Old 11-08-2011, 01:50 PM   #3
Chuginator
Senior Member
HBT_SUPPORTER.png
Feedback Score: 0 reviews
 
Chuginator's Avatar
Recipes 
 
Join Date: Feb 2011
Location: , Idaho
Posts: 646
Liked 88 Times on 59 Posts
Likes Given: 196

Default

Thanks!
Chuginator is offline
 
Reply With Quote
Old 11-08-2011, 01:56 PM   #4
yodalegomaster
Feedback Score: 0 reviews
Recipes 
 
Join Date: Dec 2009
Location: MN
Posts: 420
Liked 5 Times on 5 Posts

Default

I would love to see some plans, Might be over my head.
yodalegomaster is offline
 
Reply With Quote
Old 11-08-2011, 02:05 PM   #5
Homercidal
Licensed Sensual Massage Therapist.
HBT_MODERATOR.png
Feedback Score: 0 reviews
 
Homercidal's Avatar
Recipes 
 
Join Date: Feb 2008
Location: Reed City, MI
Posts: 26,927
Liked 3452 Times on 2352 Posts
Likes Given: 2238

Default

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


Oh, forgot to ask if you have a link to a large image.
Homercidal is online now
 
Reply With Quote
Old 11-08-2011, 02:19 PM   #6
Chuginator
Senior Member
HBT_SUPPORTER.png
Feedback Score: 0 reviews
 
Chuginator's Avatar
Recipes 
 
Join Date: Feb 2011
Location: , Idaho
Posts: 646
Liked 88 Times on 59 Posts
Likes Given: 196

Default

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
Chuginator is offline
bsheck Likes This 
Reply With Quote
Old 11-08-2011, 02:36 PM   #7
MalFet
/bɪər nərd/
HBT_LIFETIMESUPPORTER.png
Feedback Score: 1 reviews
 
MalFet's Avatar
Recipes 
 
Join Date: May 2010
Location: NYC / Kathmandu
Posts: 8,362
Liked 1315 Times on 878 Posts
Likes Given: 617

Default

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
MalFet is offline
 
Reply With Quote
Old 11-08-2011, 02:46 PM   #8
audger
Feedback Score: 0 reviews
Recipes 
 
Join Date: Apr 2011
Location: ., Connecticut
Posts: 1,497
Liked 40 Times on 40 Posts
Likes Given: 1

Default

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.
audger is offline
 
Reply With Quote
Old 11-08-2011, 02:49 PM   #9
Chuginator
Senior Member
HBT_SUPPORTER.png
Feedback Score: 0 reviews
 
Chuginator's Avatar
Recipes 
 
Join Date: Feb 2011
Location: , Idaho
Posts: 646
Liked 88 Times on 59 Posts
Likes Given: 196

Default

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
Chuginator is offline
 
Reply With Quote
Old 11-08-2011, 02:50 PM   #10
Chuginator
Senior Member
HBT_SUPPORTER.png
Feedback Score: 0 reviews
 
Chuginator's Avatar
Recipes 
 
Join Date: Feb 2011
Location: , Idaho
Posts: 646
Liked 88 Times on 59 Posts
Likes Given: 196

Default

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!


Chuginator is offline
 
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

Newest Threads

LATEST SPONSOR DEALS